Downloads · 30 days
10
2% of all-time downloads
vocabtrimmer/xlm-roberta-base-xnli-en-trimmed-en
xlm-roberta-base-xnli-en-trimmed-en 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-en 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
10
2% of all-time downloads
All-time downloads
401
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.bin876 MB · 98%
From the Hugging Face model README
vocabtrimmer/xlm-roberta-base-xnli-en-trimmed-enThis model is a trimmed version of vocabtrimmer/xlm-roberta-base-xnli-en 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-en | vocabtrimmer/xlm-roberta-base-xnli-en-trimmed-en | |
|---|---|---|
| parameter_size_full | 278,045,955 | 219,090,435 |
| parameter_size_embedding | 192,001,536 | 133,046,016 |
| vocab_size | 250,002 | 173,237 |
| compression_rate_full | 100.0 | 78.8 |
| compression_rate_embedding | 100.0 | 69.29 |
Following table shows the parameter used to trim vocabulary.
| language | dataset | dataset_column | dataset_name | dataset_split | target_vocab_size | min_frequency |
|---|---|---|---|---|---|---|
| en | vocabtrimmer/mc4_validation | text | en | validation | 2 |