Uued leheküljed
- 29. aprill 2025, kell 10:42 A small spacy UD parsing example (ajal) [626 baiti] Tammet (arutelu | kaastöö) (Uus lehekülg: '<pre> import spacy nlp = spacy.load('en_core_web_sm') sentence = "Apple's CEO Tim Cook visited the company's headquarters in Cupertino." doc = nlp(sentence) for token in doc: p...')
- 8. aprill 2025, kell 10:00 Experimental prompt for logification (ajal) [18 495 baiti] Tammet (arutelu | kaastöö) (Uus lehekülg: '<pre> You are a semantic parser from English to first order predicate logic (FOL). Convert input sentences to logic, represented in json using lists for predicates and formulas l...')
- 11. märts 2025, kell 13:37 Katse Glove vektoritega (ajal) [1111 baiti] Tammet (arutelu | kaastöö) (Uus lehekülg: '<pre> #!/usr/bin/python3 # https://medium.com/analytics-vidhya/basics-of-using-pre-trained-glove-vectors-in-python-d38905f356db import numpy as np from scipy import spatial im...')
- 26. veebruar 2025, kell 15:35 Sample Gemini code and prompt (ajal) [1066 baiti] Riina (arutelu | kaastöö) (Uus lehekülg: '<pre> #!/usr/bin/env python3 from google import genai import os api_key = os.environ["GEMINI_API_KEY"] client = genai.Client(api_key=api_key) #cities = ["Tartu", "Saue", "Jõg...')