Model reference · open weights

fasttext-fa-300

Available as managed deployment Embeddings hezarai Embeddings 1 variants 3k dl/mo

fasttext-fa-300 is an open-weight embedding model from hezarai. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byhezarai
TypeEmbedding models
TaskEmbeddings
Runs withhezar
Released2023-08-06
Popularity3k downloads / month
LicenceUnknown

About

What fasttext-fa-300 is

This is the original fasttext embedding model for Persian from here loaded and converted using Gensim and exported to Hezar compatible format. For more info, see here.

In order to use this model in Hezar you can simply use this piece of code:

pip install hezar
from hezar.embeddings import Embedding

fasttext = Embedding.load("hezarai/fasttext-fa-300")
# Get embedding vector
vector = fasttext("هزار")
# Find the word that doesn't match with the rest
doesnt_match = fasttext.doesnt_match(["خانه", "اتاق", "ماشین"])
# Find the top-n most similar words to the given word
most_similar = fasttext.most_similar("هزار", top_n=5)
# Find the cosine similarity value between two words
similarity = fasttext.similarity("مهندس", "دکتر")

From the published model card. Full card on the HuggingFace links in the sidebar.

How it works

How embedding models work

Your textsentence / documentEncodermaps meaningVectorlist of numbersAn embedding model turns text into a vector, so similar meanings sit close together — the basis of search and RAG.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys fasttext-fa-300 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (fasttext-fa-300 below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/embeddings \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"fasttext-fa-300","input":"text to embed"}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms