Model reference · open weights
UAE-Large is an open-weight embedding model from WhereIsAI. UAE-Large-V1 (FP32) weighs 670 MB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the WhereIsAI/UAE-Large-V1 model card, 2026-10-01
What it is
| Released by | WhereIsAI |
|---|---|
| Released | 2023-12-04 |
| Parameters | 335M |
| VRAM | 670 MB for the weights |
What it runs on
| Card | Runs | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
📢 WhereIsAI/UAE-Large-V1 is licensed under MIT. Feel free to use it in any scenario.
If you use it for academic papers, you could cite us via 👉 citation info.
Welcome to using AnglE to train and infer powerful sentence embeddings.
🏆 Achievements
WhereIsAI/UAE-Large-V1 achieves SOTA on the MTEB Leaderboard with an average score of 64.64!🧑🤝🧑 Siblings:
python -m pip install -U angle-emb
There is no need to specify any prompts.
from angle_emb import AnglE
from angle_emb.utils import cosine_similarity
angle = AnglE.from_pretrained('WhereIsAI/UAE-Large-V1', pooling_strategy='cls').cuda()
doc_vecs = angle.encode([
'The weather is great!',
'The weather is very good!',
'i am going to bed'
], normalize_embedding=True)
for i, dv1 in enumerate(doc_vecs):
for dv2 in doc_vecs[i+1:]:
print(cosine_similarity(dv1, dv2))
For retrieval purposes, please use the prompt Prompts.C for query (not for document).
from angle_emb import AnglE, Prompts
from angle_emb.utils import cosine_similarity
angle = AnglE.from_pretrained('WhereIsAI/UAE-Large-V1', pooling_strategy='cls').cuda()
qv = angle.encode(Prompts.C.format(text='what is the weather?'))
doc_vecs = angle.encode([
'The weather is great!',
'it is rainy today.',
'i am going to bed'
])
for dv in doc_vecs:
print(cosine_similarity(qv[0], dv))
from angle_emb import Prompts
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("WhereIsAI/UAE-Large-V1").cuda()
qv = model.encode(Prompts.C.format(text='what is the weather?'))
doc_vecs = model.encode([
'The weather is great!',
'it is rainy today.',
'i am going to bed'
])
for dv in doc_vecs:
print(1 - spatial.distance.cosine(qv, dv))
Infinity is a MIT licensed server for OpenAI-compatible deployment.
docker run --gpus all -v $PWD/data:/app/.cache -p "7997":"7997" \
michaelf34/infinity:latest \
v2 --model-id WhereIsAI/UAE-Large-V1 --revision "369c368f70f16a613f19f5598d4f12d9f44235d4" --dtype float16 --batch-size 32 --device cuda --engine torch --port 7997
@article{li2023angle,
title={AnglE-optimized Text Embeddings},
author={Li, Xianming and Li, Jing},
journal={arXiv preprint arXiv:2309.12871},
year={2023}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
Benchmarks
As published on the model card: the maker's own numbers, not measured by AxForge.
| Task | Dataset | Metric | Score |
|---|---|---|---|
| Classification | MTEB AmazonCounterfactualClassification (en) | accuracy | 75.552 |
| Classification | MTEB AmazonCounterfactualClassification (en) | ap | 38.264 |
| Classification | MTEB AmazonCounterfactualClassification (en) | f1 | 69.410 |
| Classification | MTEB AmazonPolarityClassification | accuracy | 92.843 |
| Classification | MTEB AmazonPolarityClassification | ap | 89.576 |
| Classification | MTEB AmazonPolarityClassification | f1 | 92.826 |
| Classification | MTEB AmazonReviewsClassification (en) | accuracy | 48.292 |
| Classification | MTEB AmazonReviewsClassification (en) | f1 | 47.903 |
| Retrieval | MTEB ArguAna | map_at_1 | 42.105 |
| Retrieval | MTEB ArguAna | map_at_10 | 58.181 |
| Retrieval | MTEB ArguAna | map_at_100 | 58.654 |
| Retrieval | MTEB ArguAna | map_at_1000 | 58.657 |
| Retrieval | MTEB ArguAna | map_at_3 | 54.386 |
| Retrieval | MTEB ArguAna | map_at_5 | 56.758 |
| Retrieval | MTEB ArguAna | mrr_at_1 | 42.745 |
| Retrieval | MTEB ArguAna | mrr_at_10 | 58.437 |
| Retrieval | MTEB ArguAna | mrr_at_100 | 58.895 |
| Retrieval | MTEB ArguAna | mrr_at_1000 | 58.898 |
| Retrieval | MTEB ArguAna | mrr_at_3 | 54.635 |
| Retrieval | MTEB ArguAna | mrr_at_5 | 57.000 |
| Retrieval | MTEB ArguAna | ndcg_at_1 | 42.105 |
| Retrieval | MTEB ArguAna | ndcg_at_10 | 66.150 |
| Retrieval | MTEB ArguAna | ndcg_at_100 | 68.048 |
| Retrieval | MTEB ArguAna | ndcg_at_1000 | 68.114 |