Downloads · 30 days
14
4% of all-time downloads
vocabtrimmer/xlm-roberta-base-tweet-sentiment-pt-trimmed-pt
xlm-roberta-base-tweet-sentiment-pt-trimmed-pt 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 cardiffnlp/xlm-roberta-base-tweet-sentiment-pt by vocabtrimmer, a tool for trimming vocabulary of language models to compress the model size. Following table shows a summary of the t…
Downloads · 30 days
14
4% of all-time downloads
All-time downloads
392
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin549 MB · 98%
From the Hugging Face model README
vocabtrimmer/xlm-roberta-base-tweet-sentiment-pt-trimmed-ptThis model is a trimmed version of cardiffnlp/xlm-roberta-base-tweet-sentiment-pt by vocabtrimmer, a tool for trimming vocabulary of language models to compress the model size.
Following table shows a summary of the trimming process.
| cardiffnlp/xlm-roberta-base-tweet-sentiment-pt | vocabtrimmer/xlm-roberta-base-tweet-sentiment-pt-trimmed-pt | |
|---|---|---|
| parameter_size_full | 278,045,955 | 137,157,891 |
| parameter_size_embedding | 192,001,536 | 51,113,472 |
| vocab_size | 250,002 | 66,554 |
| compression_rate_full | 100.0 | 49.33 |
| compression_rate_embedding | 100.0 | 26.62 |
Following table shows the parameter used to trim vocabulary.
| language | dataset | dataset_column | dataset_name | dataset_split | target_vocab_size | min_frequency |
|---|---|---|---|---|---|---|
| pt | vocabtrimmer/mc4_validation | text | pt | validation | 2 |