ollama pull thony/multilingual-e5-large-ft-sts-spanish-matryoshka-768-64-5e
curl http://localhost:11434/api/embed \
-d '{
"model": "thony/multilingual-e5-large-ft-sts-spanish-matryoshka-768-64-5e",
"input": "Why is the sky blue?"
}'
import ollama
response = ollama.embed(
model='thony/multilingual-e5-large-ft-sts-spanish-matryoshka-768-64-5e',
input='The sky is blue because of Rayleigh scattering',
)
print(response.embeddings)
import ollama from 'ollama'
const response = await ollama.embed({
model: 'thony/multilingual-e5-large-ft-sts-spanish-matryoshka-768-64-5e',
input: 'The sky is blue because of Rayleigh scattering',
})
console.log(response.embeddings)