Fill-Mask
Transformers
Safetensors
Urdu
modernbert
urdu
encoder
masked-language-modeling
long-context
8k-context
urblimp
zero-shot
benchmark
Instructions to use ProximaAI/urnova-95m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ProximaAI/urnova-95m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ProximaAI/urnova-95m")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ProximaAI/urnova-95m") model = AutoModelForMaskedLM.from_pretrained("ProximaAI/urnova-95m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -47,9 +47,8 @@ It was trained from scratch on an Urdu corpus derived from HPLT 3.0 and is desig
|
|
| 47 |
|
| 48 |
### UrBLiMP zero-shot linguistic evaluation
|
| 49 |
|
| 50 |
-
Zero-shot minimal-pair evaluation on UrBLiMP using left-to-right word pseudo-log-likelihood (`pll_word_l2r`).
|
| 51 |
|
| 52 |
-
No task-specific fine-tuning or learning-rate selection is performed.
|
| 53 |
|
| 54 |
| Model | Params | Pairs | Micro Acc. | Macro | Aspect Agreement | Dative Object | Ergativity | Experiencer Subject | Honorific | Noun Phrase | Oblique | Participial Relatives | Subject-Verb Agreement | Word Order |
|
| 55 |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
|
|
@@ -60,19 +59,6 @@ No task-specific fine-tuning or learning-rate selection is performed.
|
|
| 60 |
| XLM-R-base | 278.3M | 5,698 | 92.70% | 89.32% | 99.50% | 93.84% | 95.36% | 92.84% | 61.44% | 88.50% | 96.52% | 79.40% | 87.79% | 98.02% |
|
| 61 |
| mmBERT-small | 140.9M | 5,698 | 91.08% | 88.33% | 99.25% | 91.78% | 95.06% | 73.83% | 65.36% | 87.00% | 92.89% | 89.70% | 89.46% | **99.01%** |
|
| 62 |
|
| 63 |
-
URNOVA achieves **98.17% micro accuracy** and **97.96% macro-by-phenomenon accuracy** with only **95.2M parameters**.
|
| 64 |
-
|
| 65 |
-
URNOVA achieves the strongest result in the comparison on **Aspect Agreement**, **Experiencer Subject**, **Honorific**, and **Noun Phrase**, and ties for the strongest result on **Word Order**.
|
| 66 |
-
|
| 67 |
-
Ties in the minimal-pair evaluation count as 0.5.
|
| 68 |
-
|
| 69 |
-
### Benchmark attribution
|
| 70 |
-
|
| 71 |
-
UrBLiMP is a third-party Urdu linguistic minimal-pair benchmark from [farahadeeba/UrBLiMP](https://github.com/farahadeeba/UrBLiMP).
|
| 72 |
-
|
| 73 |
-
The benchmark data is distributed by its author under the MIT License. The results reported above are our own evaluations performed on the public UrBLiMP benchmark.
|
| 74 |
-
|
| 75 |
-
URNOVA is not affiliated with or endorsed by the UrBLiMP authors.
|
| 76 |
|
| 77 |
## Quick start
|
| 78 |
|
|
|
|
| 47 |
|
| 48 |
### UrBLiMP zero-shot linguistic evaluation
|
| 49 |
|
| 50 |
+
Zero-shot minimal-pair evaluation on UrBLiMP using left-to-right word pseudo-log-likelihood (`pll_word_l2r`).
|
| 51 |
|
|
|
|
| 52 |
|
| 53 |
| Model | Params | Pairs | Micro Acc. | Macro | Aspect Agreement | Dative Object | Ergativity | Experiencer Subject | Honorific | Noun Phrase | Oblique | Participial Relatives | Subject-Verb Agreement | Word Order |
|
| 54 |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
|
|
|
|
| 59 |
| XLM-R-base | 278.3M | 5,698 | 92.70% | 89.32% | 99.50% | 93.84% | 95.36% | 92.84% | 61.44% | 88.50% | 96.52% | 79.40% | 87.79% | 98.02% |
|
| 60 |
| mmBERT-small | 140.9M | 5,698 | 91.08% | 88.33% | 99.25% | 91.78% | 95.06% | 73.83% | 65.36% | 87.00% | 92.89% | 89.70% | 89.46% | **99.01%** |
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
## Quick start
|
| 64 |
|