Repository navigation
2.27.19
2.27.19 (2026-11-20)
Chore
-
chore: update the citation cache [skip ci] (
4d4e969) -
chore: update the citation cache [skip ci] (
0d1c09a) -
chore: update the citation cache [skip ci] (
180d6fc)
Fix
- fix: treat whitespace-only bibtex_citation as no citation in intext_citation (#5966)
intext_citation raised IndexError for tasks whose bibtex_citation is only whitespace (45 registered tasks, e.g. FaIntentClassification), which broke building the in-text citation for benchmarks that contain them. Handle it like an empty or missing citation and return an empty string.
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com> (04b00ae)
Unknown
- make MTEBTasks.to_latex build the task table (#5965)
to_latex raised a TypeError by default, because it read intext_citation
from the task metadata as if it were a property, while it is a method.
With include_citation_in_name=False it raised a KeyError, because the
default group_indices is a tuple and DataFrame.set_index takes a tuple
as a single column label.
Call intext_citation for each task, and turn group_indices into a list
before setting the index.
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com> (89b71b0)
- score binary classification AP for any pair of labels (#5962)
AP assumed the two labels of a binary split were 0 and 1. With string
labels or labels such as 0 and 2 it raised "pos_label=1 is not a valid
label". With labels 1 and 2 it scored the smaller label as the positive
class, so perfect predictions got an AP of 0.5.
Use the larger label as the positive class and score the predictions as
"is the positive label". Results for labels 0 and 1 are unchanged.
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com> (dc38d12)
-
model: Add VultronRetrieverPrime-Qwen3.5-8B-v2 (#5952) (
95cd7c0) -
ignore padded document tokens in max_sim (#5949)
-
fix: ignore padded document tokens in max_sim
max_sim zero-pads ragged lists of token embeddings. A padded document
token scores 0 against every query token, which beats a real token with a
negative similarity, so shorter documents were scored too high. Mask the
padded document tokens before taking the maximum, in both the padded and
the length-grouped paths.
Fixes #5948
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com>
-
simplify a bit
-
improve tests
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com>
Co-authored-by: Roman Solomatin <36135455+Samoed@users.noreply.github.com> (6cab5fc)
-
accept euclidean, manhattan and custom similarity_fn_name in ModelMeta (#5946)
-
fix: accept euclidean, manhattan and custom similarity_fn_name in ModelMeta
The similarity_fn_name validator only mapped cosine, dot and MaxSim, so the
model_meta.json saved for a model with another ScoringFunction could not be
loaded back, and submit_results failed with "No valid models to submit".
Look the value up in ScoringFunction instead.
Fixes #5945
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com>
- remove unessary tests
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com>
Co-authored-by: Roman Solomatin <36135455+Samoed@users.noreply.github.com> (e2f395a)
-
Add ModelMeta for dynasty-ai/tiny-embed-61m and tiny-embed-27m (#5932)
-
model: Add ModelMeta for dynasty-ai/tiny-embed-61m and tiny-embed-27m
-
use loader_kwargs instead of partial; move meta to mteb/models/model_implementations/
-
add n_embedding_parameters (11,079,680) required by test_model_meta
-
fix tiny-embed-27m n_embedding_parameters: 10,817,536 (RoPE, no learned position embedding)
-
fix: correct tiny-embed parameter metadata (
17464af) -
add 10 Portuguese embedding models (#5938)
-
model: add 11 Portuguese embedding models
Adds ModelMetas for Portuguese text encoders evaluated on MTEB-BR:
BERTimbau base/large (neuralmind), Albertina 900M PT-BR (PORTULAN),
legal-bert-pt-br (ulysses-camara), Legal-BERTimbau-sts-large (rufimelo),
two legal BERTimbau fine-tunes (stjiris), medlink-bi-encoder (lfcc) and
three Qwen3-based jua models (ufca-llms). All load through the
SentenceTransformer wrapper with the prompts shipped in each model repo.
-
model: add citations from model cards; drop jua-V2 (no model card)
-
model: add DOIs to BERTimbau and Melo 2023 citations
-
model: fill training_datasets from model cards (
89feb25) -
skip adapted_from names that are not registered tasks in the dataset card (#5940)
-
fix: skip adapted_from names that are not registered tasks in the dataset card
TaskMetadata._create_dataset_card_data looked up every adapted_from name
with get_tasks, which raises KeyError for a name that is not a registered
task. adapted_from is free-form: RAVENEAI2TRetrieval names the CVQA and
CCUB datasets, and 23 other tasks, such as Quora-VN, name a task that is
not registered under that name. For those 24 tasks generate_dataset_card
(and so push_dataset_card_to_hub) raised a KeyError.
Look each name up with get_task, leave the ones that are not registered
tasks out of the card's source datasets and log a warning that names
them. Test that the card data is built for a task whose adapted_from
contains an unknown name.
Fixes #5939
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com>
- refactor
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com>
Co-authored-by: Roman Solomatin <36135455+Samoed@users.noreply.github.com> (a22273a)
- use SEMANTIC_SIMILARITY task type for STS in Google Vertex text-embedding models (#5937)
The Vertex AI embeddings API rejects task_type="SIMILARITY" with HTTP 400,
so every STS task failed for text-embedding-005 and the other Vertex text
embedding models. The accepted value is "SEMANTIC_SIMILARITY", already
used for STS in google_gemini.py. (51ae2ac)
- declare all CodeSearchNet-derived tasks for code-embed-v2 (#5942)
model: declare all CodeSearchNet-derived tasks for code-embed-v2 (ceb9e25)
-
don't consume iterator models/tasks in ResultCache.load_results and get_cache_paths (#5929)
-
fix: don't consume iterator models/tasks in ResultCache.load_results and get_cache_paths
-
improve tests
Co-authored-by: Roman Solomatin <36135455+Samoed@users.noreply.github.com> (ef50da7)
-
Add Chopper reranker (wiiiktor/chopper-0.31B) (#5926)
-
Add Chopper reranker (wiiiktor/chopper-0.31B)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Chopper: declare chopper-rag as an extras group
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (3008cad)
-
map video and regression task types to Hugging Face task categories (#5931)
-
fix: map video and regression task types to Hugging Face task categories
TaskMetadata._hf_task_type looks the task type up in a mapping that had
no entry for Regression, VideoClassification, VideoClustering,
VideoMultilabelClassification or VideoPairClassification. For the 23
registered tasks of the first four types, generate_dataset_card (and so
push_dataset_card_to_hub, which push_dataset_to_hub calls after it has
uploaded the data) raised a KeyError.
Add the missing types, mapping them like their audio and text
counterparts, and test that every TaskType has a Hugging Face task
category.
Fixes #5930
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com>
- improve tests
Signed-off-by: Bahaa Mattar <bahaa.kmattar@gmail.com>
Co-authored-by: Roman Solomatin <36135455+Samoed@users.noreply.github.com> (4c268f9)