Tīrtha · embedding model
all-MiniLM-L12-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 · Apache-2.0
by Sentence Transformers · Apache-2.0 · open weights
About this model
- Made for
- semantic search, clustering, information retrieval, sentence similarity
- Languages
- English
- Vector size
- 384 numbers per text
- Model size
- 33M parameters
- Based on
- MiniLM-L12-H384-uncased
- Licence
- Apache-2.0
How to use it
- Normalize the vectors before you compare them.
- 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/all-minilm-l12-v2",
"input": ["first text", "second text"]}
Start using all-MiniLM-L12-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"