v1.1 (gov-indic-e4-ep6): +53% cross-lingual R@1, significant over base and v1.0; gu/or regress vs v1.0 (kept at tag v1.0)
Browse filesFiles changed (3)
- README.md+68-33
- adapter.json+3-4
- adapter.pt+1-1
25 unmodified lines26272829303110 unmodified lines4243444546474849505152538 unmodified lines62636465666768697071727374757677787980818283848586878889909192939495969798991001011021031046 unmodified lines1111121131141151161171181191201211221231242 unmodified lines12712812913013113225 unmodified lines- pa- or- as---# Quanfire Government Embedding β `embed-gov-indic` (cross-lingual, Indian government press releases)10 unmodified linesspecialist and a **showcase of clean-provenance multilingual retrieval**, not a generalmodel β and this card shows you exactly what it does and does not do, measured.- **Framework & code:** [github.com/quanfire-ai/quanfire-multilingual-embedding](https://github.com/quanfire-ai/quanfire-multilingual-embedding) (Apache-2.0)- **Weights licence:** Apache-2.0. The adapter is ours; the training text is PIB press-releasecontent reused under **PIB's reproduction policy** (free reproduction, attribution, **noNonCommercial, no ShareAlike**) β attribution is given below, and the model isnon-reconstructive (it emits vectors, never the source text).- **Internal run:** `gov-indic-e3` Β· base e5-small Β· rank 32 / alpha 64, LoRA on `query,value` Β· 589,824 adapter params Β· 1 epoch, lr 1e-4, batch 256 (bf16, CUDA)## What it is for8 unmodified lines|---|---|| **Cross-lingual** retrieval over government press-release text (16 Indian languages) | β **Yes** β significant, measured below || Other domains (legal, finance, news, conversational, product) | β **Not validated** β this is a government-press-release specialist || The lowest-resource languages here (Khasi, Nepali, Manipuri) | β οΈ **Thin** β very few eval examples; treat their numbers as indicative only |The base `multilingual-e5-small` is **already a capable multilingual retriever**, so thehonest framing is: this adapter adds a **significant, broad cross-lingual gain ongovernment-domain text** on top of an already-multilingual base. Absolute Recall@1 ismodest (retrieving the one right passage out of ~1,800 candidates across 16 languages ishard); the right passage lands in the **top-10 about 74%** of the time.## Results (held-out, scored on CUDA)**In-distribution β 1,800 held-out cross-lingual pairs** (anchor and positive in *different*Indian languages, same release). The published base is the only honest baseline; the adapteris scored on the *same* held-out pairs.| Metric | base e5-small | **embed-gov-indic** | change ||---|---|---|---|| Recall@1 | 0.1836 | **0.2349** | **+27.9%** || Recall@5 | 0.516 | 0.636 | +23% || Recall@10 | 0.649 | 0.744 | +15% || MRR | 0.336 | 0.408 | +21% |The Recall@1 improvement is **statistically significant** β the 95% confidence intervals aredisjoint (base [0.165, 0.204] β adapter [0.214, 0.257]).**Per positive-language** (Recall@1, before β after), largest eval groups:| Lang | before | after | Lang | before | after ||---|---|---|---|---|---|| English | 0.167 | **0.297** | Malayalam | 0.175 | **0.223** || Urdu | 0.206 | **0.313** | Punjabi | 0.175 | **0.204** || Hindi | 0.324 | **0.405** | Bengali | 0.179 | **0.221** || Tamil | 0.150 | **0.240** | Telugu | 0.214 | **0.235** || Kannada | 0.142 | **0.248** | Odia | 0.138 | **0.160** || Marathi | 0.219 | **0.263** | Assamese | 0.065 | **0.083** |Gains are broad across languages; a few very-low-count languages (Gujarati β0.02, Manipuri,Khasi) move by noise-level amounts and should not be over-read.## Licence & provenance6 unmodified linesand never reproduces the source text), and the source is reproduction-permitted withattribution (satisfied here), no ShareAlike floor applies to the weights.## How it was built (honest, in three runs)- **e1** β mixed pair kinds, language-imbalanced: +8.7%, not significant, with regressions inlow-resource languages.- **e2** β cross-lingual `titleβbody` pairs only, language-balanced: +16.2%, regressions fixed,but still not significant on a small eval.- **e3 (this release)** β a larger balanced corpus and a larger held-out eval: **+27.9%,statistically significant.**The corpus was built by re-sourcing PIB releases directly (never via third-party scrapedcompilations), joining each release to its sibling-language versions, and mining cross-lingual2 unmodified lines## Intended use & limitsUse it to retrieve/rank Indian **government press-release** passages, including acrosslanguages. Do **not** expect it to transfer to other domains, and treat the lowest-resourcelanguages as indicative. It is a specialist showcase of what clean, provenance-transparentdata yields for Indian-language cross-lingual retrieval.25 unmodified lines26272829303132333410 unmodified lines4546474849505152535455565758596061628 unmodified lines71727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351366 unmodified lines1431441451461471481491501511521531541551561571582 unmodified lines16116216316416516616725 unmodified lines- pa- or- as- ne- mni- kha---# Quanfire Government Embedding β `embed-gov-indic` (cross-lingual, Indian government press releases)10 unmodified linesspecialist and a **showcase of clean-provenance multilingual retrieval**, not a generalmodel β and this card shows you exactly what it does and does not do, measured.> **Version 1.1** β same task, same contract, better weights. v1.1 corrects a training> shortfall in v1.0: the earlier runs held **epochs = 1** and the adapter was undertrained> (its loss had barely moved). v1.1 trains longer on the *same* balanced corpus and is> **significantly better than v1.0**, but the extra fit is not free β two mid/low-resource> languages regress. Both facts are on this card. See [What changed in v1.1](#what-changed-in-v11).- **Framework & code:** [github.com/quanfire-ai/quanfire-multilingual-embedding](https://github.com/quanfire-ai/quanfire-multilingual-embedding) (Apache-2.0)- **Weights licence:** Apache-2.0. The adapter is ours; the training text is PIB press-releasecontent reused under **PIB's reproduction policy** (free reproduction, attribution, **noNonCommercial, no ShareAlike**) β attribution is given below, and the model isnon-reconstructive (it emits vectors, never the source text).- **Internal run:** `gov-indic-e4-ep6` Β· base e5-small Β· rank 32 / alpha 64, LoRA on `query,value` Β· 589,824 adapter params Β· **6 epochs**, lr 1e-4, seed 0, batch 256 (bf16, CUDA) Β· same corpus and held-out eval as v1.0, so the comparison is like-for-like## What it is for8 unmodified lines|---|---|| **Cross-lingual** retrieval over government press-release text (16 Indian languages) | β **Yes** β significant, measured below || Other domains (legal, finance, news, conversational, product) | β **Not validated** β this is a government-press-release specialist || Gujarati and Odia | β οΈ **Regressed vs v1.0** β see [What changed in v1.1](#what-changed-in-v11); still above the base for Odia, below it for Gujarati || The lowest-resource languages here (Khasi, Nepali, Manipuri) | β οΈ **Thin** β very few eval examples (Khasi n=14, Nepali n=7); treat their numbers as indicative only |The base `multilingual-e5-small` is **already a capable multilingual retriever**, so thehonest framing is: this adapter adds a **significant, broad cross-lingual gain ongovernment-domain text** on top of an already-multilingual base. Absolute Recall@1 ismodest (retrieving the one right passage out of a 1,541-passage pool across 16 languages ishard); the right passage lands in the **top-10 about 84%** of the time.## Results (held-out, scored on CUDA)**In-distribution β 1,541 held-out cross-lingual queries** (anchor and positive in *different*Indian languages, same release; drawn from 1,800 mined pairs). The published base is the onlyhonest baseline; the adapter is scored on the *same* held-out queries.| Metric | base e5-small | **embed-gov-indic v1.1** | change ||---|---|---|---|| Recall@1 | 0.1836 | **0.2810** | **+53%** || Recall@5 | 0.516 | **0.730** | +41% || Recall@10 | 0.649 | **0.843** | +30% || MRR | 0.336 | **0.471** | +40% || nDCG@10 | 0.403 | **0.556** | +38% |The Recall@1 improvement is **statistically significant** β the 95% confidence intervals aredisjoint (base [0.165, 0.204] β v1.1 [0.259, 0.304]). It is also significant **over v1.0**(v1.0 was 0.2349 [0.214, 0.257]; v1.1's interval clears it).**Per positive-language** (Recall@1, base β v1.1; all 16 eval languages, n = eval queries):| Lang | base | v1.1 | n | | Lang | base | v1.1 | n ||---|---|---|---|---|---|---|---|---|| Tamil | 0.150 | **0.410** | 100 | | Malayalam | 0.175 | **0.233** | 103 || Hindi | 0.324 | **0.477** | 111 | | Assamese | 0.065 | **0.167** | 108 || Urdu | 0.206 | **0.389** | 131 | | Telugu | 0.214 | **0.265** | 98 || English | 0.167 | **0.362** | 138 | | Manipuri | 0.029 | **0.039** | 103 || Bengali | 0.179 | **0.316** | 95 | | Nepali | 0.286 | 0.286 | 7 || Marathi | 0.219 | **0.325** | 114 | | **Gujarati** | 0.367 | **0.284** β οΈ | 109 || Kannada | 0.142 | **0.248** | 113 | | **Odia** | 0.138 | **0.117** β οΈ | 94 || Punjabi | 0.175 | **0.252** | 103 | | **Khasi** | 0.143 | **0.071** β οΈ | 14 |**13 of 16 languages improve**, several dramatically (Tamil +173%, English +117%, Urdu, Hindi,Bengali). **Three regress against the base β Gujarati, Odia, and Khasi (n=14)** β the cost ofthe longer fit; see below.## What changed in v1.1v1.0 (`gov-indic-e3`) shipped at **1 epoch**. Its training loss was essentially flat and theadapter had barely moved β it was **undertrained**, not at its ceiling. v1.1 (`gov-indic-e4-ep6`)reruns the identical corpus, seed, rank and learning rate for **6 epochs** (loss 4.18 β 1.22),so the two are directly comparable.**Net effect, v1.0 β v1.1:** overall Recall@1 **0.235 β 0.281** (significant, disjoint CIs),top-10 recall **74% β 84%**, and Manipuri recovers from v1.0's collapse (0.000 β 0.039).**The tradeoff, stated plainly:** longer training sharpens the majority at the expense of afew. Against v1.0, **Gujarati (0.349 β 0.284) and Odia (0.160 β 0.117) regress**; Khasi holdsflat (0.071). Against the *base*, Gujarati, Odia and Khasi all sit below where the untunedmodel was. If your workload is Gujarati- or Odia-heavy, v1.0 may still be the better choice βboth versions remain available by revision tag. This is a genuinespeciality-vs-uniformity tradeoff, not a strict upgrade, and we would rather say so than hide it.## Licence & provenance6 unmodified linesand never reproduces the source text), and the source is reproduction-permitted withattribution (satisfied here), no ShareAlike floor applies to the weights.## How it was built (honest, across four runs)- **e1** β mixed pair kinds, language-imbalanced: +8.7%, not significant, with regressions inlow-resource languages.- **e2** β cross-lingual `titleβbody` pairs only, language-balanced: +16.2%, regressions fixed,but still not significant on a small eval.- **e3 (v1.0)** β a larger balanced corpus and a larger held-out eval: +27.9%, statisticallysignificant β but held at 1 epoch and, in hindsight, undertrained.- **e4 (v1.1, this release)** β same corpus/eval as e3, trained to 6 epochs: **+53% over base,significant over both base and v1.0**, with the Gujarati/Odia tradeoff documented above.The corpus was built by re-sourcing PIB releases directly (never via third-party scrapedcompilations), joining each release to its sibling-language versions, and mining cross-lingual2 unmodified lines## Intended use & limitsUse it to retrieve/rank Indian **government press-release** passages, including acrosslanguages. Do **not** expect it to transfer to other domains, treat the lowest-resourcelanguages as indicative, and prefer v1.0 if your workload is Gujarati- or Odia-dominant. It isa specialist showcase of what clean, provenance-transparent data yields for Indian-languagecross-lingual retrieval.
123456712 unmodified lines2021222324252638 unmodified lines6566676869707172{"format_version": 2,"checkpoint": "intfloat/multilingual-e5-small","checkpoint_revision": "614241f622f53c4eeff9890bdc4f31cfecc418b3","dimension": 384,"pooling": "mean","max_length": 256,12 unmodified lines},"adapter_parameters": 589824,"notes": {"experiment": "gov-indic-e3","data_provenance": "licensed","trained_on": "/home/arnab/quanfire-ai-data/embedding/gov-indic/corpus/pairs-e3.jsonl.gz","scored_against": "/home/arnab/quanfire-ai-data/embedding/gov-indic/corpus/pairs-e3.jsonl.gz",38 unmodified lines"ur"],"recall_at_1_before": 0.1836,"recall_at_1_after": 0.2349,"epochs": 1,"learning_rate": 0.0001,"batch_size": 256}12345612 unmodified lines1920212223242538 unmodified lines6465666768697071{"format_version": 2,"checkpoint": "intfloat/multilingual-e5-small","dimension": 384,"pooling": "mean","max_length": 256,12 unmodified lines},"adapter_parameters": 589824,"notes": {"experiment": "gov-indic-e4-ep6","data_provenance": "licensed","trained_on": "/home/arnab/quanfire-ai-data/embedding/gov-indic/corpus/pairs-e3.jsonl.gz","scored_against": "/home/arnab/quanfire-ai-data/embedding/gov-indic/corpus/pairs-e3.jsonl.gz",38 unmodified lines"ur"],"recall_at_1_before": 0.1836,"recall_at_1_after": 0.281,"epochs": 6,"learning_rate": 0.0001,"batch_size": 256}
123version https://git-lfs.github.com/spec/v1oid sha256:bc662ea131caa620d49cc2d7b8d860f8d1b55d000a0bb6ce5149776d17233239size 2376657123version https://git-lfs.github.com/spec/v1oid sha256:6f9a49bc64f6b15c8263a3a7e9eaf17bdd405f69238d59a021b4c349c995d132size 2376657
README.md+68-33
adapter.json+3-4
adapter.pt+1-1