Downloads · 30 days
13
3% of all-time downloads
vocabtrimmer/xlm-roberta-base-xnli-ar-trimmed-ar
xlm-roberta-base-xnli-ar-trimmed-ar is a text classification model from vocabtrimmer. Use it when you need a label for a piece of text. It is set up for transformers.
This model is a trimmed version of vocabtrimmer/xlm-roberta-base-xnli-ar by vocabtrimmer, a tool for trimming vocabulary of language models to compress the model size. Following table shows a summary of the trimming p…
Downloads · 30 days
13
3% of all-time downloads
All-time downloads
387
Public
Repo size
1000 MB
Likes
0
Public
Click a slice to open those files.
.bin497 MB · 98%
From the Hugging Face model README
vocabtrimmer/xlm-roberta-base-xnli-ar-trimmed-arThis model is a trimmed version of vocabtrimmer/xlm-roberta-base-xnli-ar by vocabtrimmer, a tool for trimming vocabulary of language models to compress the model size.
Following table shows a summary of the trimming process.
| vocabtrimmer/xlm-roberta-base-xnli-ar | vocabtrimmer/xlm-roberta-base-xnli-ar-trimmed-ar | |
|---|---|---|
| parameter_size_full | 278,045,955 | 124,345,347 |
| parameter_size_embedding | 192,001,536 | 38,300,928 |
| vocab_size | 250,002 | 49,871 |
| compression_rate_full | 100.0 | 44.72 |
| compression_rate_embedding | 100.0 | 19.95 |
Following table shows the parameter used to trim vocabulary.
| language | dataset | dataset_column | dataset_name | dataset_split | target_vocab_size | min_frequency |
|---|---|---|---|---|---|---|
| ar | vocabtrimmer/mc4_validation | text | ar | validation | 2 |