State current status: no weights yet, remove unverified results
#1
by genia-americas - opened
README.md
CHANGED
|
@@ -1,64 +1,55 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
| 4 |
# AmeriXLM
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
and
|
|
|
|
|
|
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
-
|
| 13 |
-
XLM-R and mBERT allocate training compute proportional to available
|
| 14 |
-
text volume, which underrepresents Latin American regional variants
|
| 15 |
-
even within Spanish and Portuguese allocations. AmeriXLM is trained
|
| 16 |
-
on a corpus that explicitly weights Latin American regional text.
|
| 17 |
|
| 18 |
-
|
| 19 |
-
- Parameters: 270M
|
| 20 |
-
- Vocabulary: 64,000 tokens trained on regional corpus
|
| 21 |
-
- Context length: 512 tokens
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
-
-
|
| 26 |
-
-
|
| 27 |
-
-
|
| 28 |
-
-
|
| 29 |
|
| 30 |
-
##
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|-----------|-------|----------------------|-------|
|
| 34 |
-
| AmeriNLI es-LA | 83.7 | 79.4 | +4.3 |
|
| 35 |
-
| AmeriNLI pt-BR | 82.9 | 78.2 | +4.7 |
|
| 36 |
-
| RegioNER es-LA F1 | 88.2 | 86.7 | +1.5 |
|
| 37 |
-
| RegioNER pt-BR F1 | 87.6 | 85.3 | +2.3 |
|
| 38 |
|
| 39 |
-
|
|
|
|
| 40 |
|
| 41 |
-
|
| 42 |
|
| 43 |
-
|
| 44 |
-
model = AutoModel.from_pretrained("genia-americas/ameri-xlm")
|
| 45 |
|
| 46 |
-
|
| 47 |
-
outputs = model(**inputs)
|
| 48 |
|
| 49 |
-
##
|
| 50 |
|
| 51 |
-
|
| 52 |
-
title={AmeriXLM: A Multilingual Language Model for the Americas},
|
| 53 |
-
author={GENIA Americas Corporation},
|
| 54 |
-
institution={GENIA Americas / RaceFor.AI},
|
| 55 |
-
year={2025},
|
| 56 |
-
url={https://github.com/GENIA-Americas/multimodal-ai-americas}
|
| 57 |
-
}
|
| 58 |
|
| 59 |
## Links
|
| 60 |
|
| 61 |
-
-
|
| 62 |
- DOI: https://doi.org/10.5281/zenodo.20437260
|
| 63 |
- Platform: https://www.glapagos.com
|
| 64 |
-
- Network: https://www.racefor.ai
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- es
|
| 5 |
+
- pt
|
| 6 |
+
- en
|
| 7 |
+
- qu
|
| 8 |
+
- gn
|
| 9 |
+
- nah
|
| 10 |
---
|
| 11 |
+
|
| 12 |
# AmeriXLM
|
| 13 |
|
| 14 |
+
**Status: not trained yet. There are no weights in this repo.**
|
| 15 |
+
|
| 16 |
+
No `config.json`, no tokenizer, no checkpoint. `AutoModel.from_pretrained("genia-americas/ameri-xlm")` will fail today. This page holds the name and the plan while the work gets done.
|
| 17 |
+
|
| 18 |
+
## Why
|
| 19 |
|
| 20 |
+
XLM-R and mBERT split their compute roughly by how much text exists per language. That likely leaves Latin American Spanish and Brazilian Portuguese underweighted compared to what the people speaking them need. AmeriXLM is an attempt at an encoder trained on a corpus that weights regional text on purpose.
|
| 21 |
|
| 22 |
+
Whether that actually helps is the thing we have to measure. We haven't yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
+
## Plan
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
Everything here is a target and may change.
|
| 27 |
|
| 28 |
+
- RoBERTa-style encoder, masked language modeling, 512 token context
|
| 29 |
+
- Spanish (Latin America), Portuguese (Brazil), English, plus Quechua, Guarani, and Nahuatl
|
| 30 |
+
- Regional tokenizer
|
| 31 |
+
- Size, vocab, and training budget: not decided
|
| 32 |
|
| 33 |
+
## Evaluation
|
| 34 |
|
| 35 |
+
Two benchmarks from this project:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
+
- **AmeriNLI**: NLI for Latin American Spanish and Brazilian Portuguese
|
| 38 |
+
- **RegioNER**: NER with regional entity types
|
| 39 |
|
| 40 |
+
There are no AmeriXLM scores yet. They get published here when the model is trained and the eval code and data are public, not before.
|
| 41 |
|
| 42 |
+
## What exists today
|
|
|
|
| 43 |
|
| 44 |
+
Specs, docs, and dataset structure in the GitHub repo below. No model.
|
|
|
|
| 45 |
|
| 46 |
+
## Citing
|
| 47 |
|
| 48 |
+
Don't cite this as a released model. A citation entry will show up when there are weights and a report.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
## Links
|
| 51 |
|
| 52 |
+
- Repo: https://github.com/GENIA-Americas/multimodal-ai-americas
|
| 53 |
- DOI: https://doi.org/10.5281/zenodo.20437260
|
| 54 |
- Platform: https://www.glapagos.com
|
| 55 |
+
- Network: https://www.racefor.ai
|