duongttr commited on
Commit
f3805bc
·
1 Parent(s): faa6c42

commit files to HF hub

Browse files
Files changed (1) hide show
  1. README.md +18 -0
README.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Vocabulary Trimmed [facebook/mbart-large-50](https://huggingface.co/facebook/mbart-large-50): `duongttr/japanese-trimmed-mbart-large`
2
+ This model is a trimmed version of [facebook/mbart-large-50](https://huggingface.co/facebook/mbart-large-50) by [`vocabtrimmer`](https://github.com/asahi417/lm-vocab-trimmer), a tool for trimming vocabulary of language models to compress the model size.
3
+ Following table shows a summary of the trimming process.
4
+
5
+ | | facebook/mbart-large-50 | duongttr/japanese-trimmed-mbart-large |
6
+ |:---------------------------|:--------------------------|:----------------------------------------|
7
+ | parameter_size_full | 610,879,488 | 416,319,488 |
8
+ | parameter_size_embedding | 256,055,296 | 61,495,296 |
9
+ | vocab_size | 250,054 | 60,054 |
10
+ | compression_rate_full | 100.0 | 68.15 |
11
+ | compression_rate_embedding | 100.0 | 24.02 |
12
+
13
+
14
+ Following table shows the parameter used to trim vocabulary.
15
+
16
+ | language | dataset | dataset_column | dataset_name | dataset_split | target_vocab_size | min_frequency |
17
+ |:-----------|:----------------------------|:-----------------|:---------------|:----------------|--------------------:|----------------:|
18
+ | ja | vocabtrimmer/mc4_validation | text | ja | validation | 60000 | 2 |