21 Downloads Updated 1 week ago
ollama pull hindsightai/hs-embed-1

hs-embed-1 is a multilingual text embedding model built for Hindsight, an open-source memory system for agents.
| Model type | Text embedding (bi-encoder) |
| Base model | hotchpotch/bekko-embedding-v1-a25m |
| Parameters | 112M |
| Languages | en, es, fr, de, pt, ja, ko, zh |
| Context length | 8,192 tokens |
| Embedding dimensions | 384 (truncatable to 256, 128, 64) |
| Pooling | Mean |
| Similarity | Cosine |
| Weights | GGUF, F16 |

ollama pull hindsightai/hs-embed-1
curl http://localhost:11434/api/embed -d '{
"model": "hindsightai/hs-embed-1",
"input": ["Where did Maya move last spring?", "Maya moved to Lisbon in April."]
}'
For shorter vectors, add "dimensions": 256 (or 128 or 64). Ollama keeps the first values and normalizes them again.
import ollama
response = ollama.embed(
model="hindsightai/hs-embed-1",
input=["Where did Maya move last spring?", "Maya moved to Lisbon in April."],
)
print(len(response.embeddings[0])) # 384
Hindsight’s OpenAI embeddings provider works with Ollama’s OpenAI-compatible API:
HINDSIGHT_API_EMBEDDINGS_PROVIDER=openai
HINDSIGHT_API_EMBEDDINGS_OPENAI_BASE_URL=http://localhost:11434/v1
HINDSIGHT_API_EMBEDDINGS_OPENAI_MODEL=hindsightai/hs-embed-1
HINDSIGHT_API_EMBEDDINGS_OPENAI_API_KEY=ollama
Safetensors, ONNX, and serving with Sentence Transformers or Text Embeddings Inference: hindsight-ai/hs-embed-1 on Hugging Face.
MIT