Spaces:
Sleeping
Sleeping
Commit History
19 days ago
-
feat(models): add Arabic Triplet Matryoshka V2 with an item-script check
Adds Omartificial-Intelligence-Space/Arabic-Triplet-Matryoshka-V2 to the registry as an optional Arabic-only model, pinned to 17b8742 (weights, tokenizer and pooling identical to the MTEB-evaluated ed357f2). Benchmarked with Arabic filler text at 2 threads: 0.8 / 3.2 / 12.3 s per 1k. ATM2 cannot align English with Arabic (MTEB STS17 en-ar 25.8), and every library construct is English, so it ships with CONSTRUCT_LANGUAGE_UNSUPPORTED: each item's writing system is checked against the model's languages, for every construct in a run including an anchor's opposite pole. Scripts, not detected languages, because langdetect reads short English keyword lists as Italian, Catalan or Somali at probability 1.0. Custom constructs in a non-Latin script now record their detected language instead of "en"; Latin-script constructs keep "en". bench_models.py uses Arabic filler for models that do not cover English. Spec 0011.61d76be