Model reference · open weights
geevec-embeddings-1.0-lite is an open-weight embedding model from geevec-ai. 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 by | geevec-ai |
|---|---|
| Type | Embedding models |
| Task | Embeddings |
| Parameters (lead) | 366M |
| Context | 40k tokens |
| Runs with | sentence-transformers |
| Released | 2026-04-02 |
| Popularity | 711 downloads / month |
| Licence | Open weights |
About
GeeVec-Embeddings-1.0-Lite is a lightweight domain-adaptive text embedding model, with only 0.35B activated parameters, built on top of a Qwen3-style base model using a PseudoMoE architecture. It is optimized for retrieval tasks and supports domain routing for improved specialization:
general: the default route, suitable for general-purpose multilingual retrieval.coding: specialized for code-related retrieval, including programming concepts, APIs, and technical documentation.reasoning: specialized for tasks that require deeper semantic understanding, multi-step inference, and complex query matching.Despite its compact size, GeeVec-Embeddings-1.0-Lite delivers strong performance across a wide range of benchmarks. It achieves SOTA performance among small-size (<1B) models on the MMTEB(Multilingual, v2) retrieval task, with an nDCG@10 score of 70.91 (as of 2026/04/02). It also performs competitively on MMTEB(eng, v2), BEIR, CoIR, and BRIGHT, demonstrating strong retrieval capability despite its lightweight design.
Meanwhile, we also provide an API service for a larger 8B-scale model, GeeVec-Embeddings-1.0. Like GeeVec-Embeddings-1.0-Lite, it is optimized for retrieval tasks and supports the same three domains: general, coding, and reasoning. GeeVec-Embeddings-1.0 achieves SOTA performance on the MMTEB(Multilingual, v2) retrieval task, with an nDCG@10 score of 79.94 (as of 2026/04/02). API usage documentation: https://www.geevec.com/documentation. & https://geeknow.geevec.com/embedding_model/
This repository hosts the model geevec-embeddings-1.0-lite.
Technical highlights:
general (default), coding, reasoninggit clone https://github.com/FlagOpen/FlagEmbedding.git
cd FlagEmbedding
pip install -e .
from FlagEmbedding import FlagAutoModel
model_path = "geevec-ai/geevec-embeddings-1.0-lite"
model = FlagAutoModel.from_finetuned(
model_path,
model_class="decoder-only-pseudo_moe",
query_instruction_for_retrieval="Given a question, retrieve passages that answer the question.",
query_instruction_format="Instruct: {}\nQuery: {}",
domain_for_pseudo_moe="general", # general / coding / reasoning
use_bf16=True,
use_fp16=False,
trust_remote_code=True,
devices="cuda:0", # if you do not have a GPU, set this to "cpu"
)
queries = [
"how much protein should a female eat",
"summit define",
]
documents = [
"As a general guideline, the CDC's average requirement of protein for women ages 19 to 70 is 46 grams per day.",
"Definition of summit for English Language Learners: the highest point of a mountain; the highest level; a meeting between leaders.",
]
query_embeddings = model.encode_queries(queries)
document_embeddings = model.encode_corpus(documents)
similarity = query_embeddings @ document_embeddings.T
print(similarity)
from sentence_transformers import SentenceTransformer
import torch
model_path = "geevec-ai/geevec-embeddings-1.0-lite"
# Load with trust_remote_code=True because the model defines custom modules.
model = SentenceTransformer(
model_path,
model_kwargs={"torch_dtype": torch.bfloat16},
trust_remote_code=True,
)
queries = [
"How can I optimize a Python function that has nested loops?",
"What is the difference between eigenvalue decomposition and SVD?",
]
documents = [
"Use vectorization, caching, and algorithmic improvements to reduce complexity.",
"Eigenvalue decomposition applies to square matrices; SVD works for any matrix.",
]
# Optional domain routing: general / coding / reasoning
query_embeddings = model.encode(queries, domain="coding", normalize_embeddings=True)
doc_embeddings = model.encode(documents, domain="coding", normalize_embeddings=True)
similarity = query_embeddings @ doc_embeddings.T
print(similarity)
import torch
import torch.nn.functional as F
from torch import Tensor
from transformers import AutoTokenizer, AutoModel
def last_token_pool(last_hidden_states: Tensor,
attention_mask: Tensor) -> Tensor:
left_padding = (attention_mask[:, -1].sum() == attention_mask.shape[0])
if left_padding:
return last_hidden_states[:, -1]
else:
sequence_lengths = attention_mask.sum(dim=1) - 1
batch_size = last_hidden_states.shape[0]
return last_hidden_states[torch.arange(batch_size, device=last_hidden_states.device), sequence_lengths]
def get_detailed_instruct(task_description: str, query: str) -> str:
return f'Instruct: {task_description}\nQuery: {query}'
task = 'Given a web search query, retrieve relevant passages that answer the query.'
queries = [
get_detailed_instruct(task, "How can I optimize a Python function that has nested loops?"),
get_detailed_instruct(task, 'summit define')
]
# No need to add instructions for documents
documents = [
"Use vectorization, caching, and algorithmic improvements to reduce complexity.",
"What is the difference between eigenvalue decomposition and SVD?",
]
input_texts = queries + documents
tokenizer = AutoTokenizer.from_pretrained("geevec-ai/geevec-embeddings-1.0-lite")
model = AutoModel.from_pretrained("/geevec-ai/geevec-embeddings-1.0-lite", trust_remote_code=True)
model.eval()
max_length = 4096
# Tokenize the input texts
batch_dict = tokenizer(input_texts, max_length=max_length, padding=True, truncation=True, return_tensors='pt', pad_to_multiple_of=8)
with torch.no_grad():
outputs = model(**batch_dict)
embeddings = last_token_pool(outFrom the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys geevec-embeddings-1-0-lite for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (geevec-embeddings-1-0-lite 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":"geevec-embeddings-1-0-lite","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.