Tīrtha · embedding model
E5 Base v2
Turns text into a list of numbers (a vector) that captures its meaning, so you can search, group and retrieve text by meaning instead of exact words. Send up to 64 texts in one call, up to 100,000 characters in total. Each text must fit the model's length limit, so very long texts, code or non-English text may need to be shorter.
Open weights · MIT
by intfloat · MIT · open weights
About this model
- Made for
- passage retrieval, semantic similarity, clustering, classification features
- Languages
- English
- Vector size
- 768 numbers per text
- Model size
- 109M parameters
- Licence
- MIT
How to use it
- Start each query with
query:and each document withpassage:. - Normalize the vectors, then compare them with cosine similarity.
- Split long text into chunks; each model has its own length limit.
How to call it
POST https://api.tirtha.ai/v1/embeddings
{"model": "tirtha/e5-base-v2",
"input": ["first text", "second text"]}
Start using E5 Base v2 in 3 steps
Read the docs- Get an API keyFree to create. It works for every model in the catalogue.Get an API key
- Add creditsPay as you go. Credits work on every model.Add credits
- Point your client at TīrthaAny OpenAI-compatible client works. Use your key and this base URL.base_url: "https://api.tirtha.ai/v1" api_key: "YOUR_TIRTHA_KEY"