lbourdois commited on
Commit
8e1c587
·
verified ·
1 Parent(s): 87d4d33

Update model card for Ido

Browse files
Files changed (1) hide show
  1. README.md +62 -52
README.md CHANGED
@@ -1,52 +1,62 @@
1
- ---
2
- pipeline_tag: fill-mask
3
- language: ido
4
- license: mit
5
- tags:
6
- - trimmed
7
- library_name: transformers
8
- base_model: jhu-clsp/mmBERT-base
9
- base_model_relation: quantized
10
- datasets:
11
- - Lumberjackk/fineweb-2-trimming
12
- ---
13
-
14
- # mmBERT-base-ido-32768
15
- This model is a 55.86% smaller version of [jhu-clsp/mmBERT-base](https://huggingface.co/jhu-clsp/mmBERT-base) optimized for Ido language via vocabulary size reduction using the [trimming](https://huggingface.co/blog/introduction-to-trimming) method.
16
- This trimmed model should perform similarly to the original model with only 32,768 tokens and a much smaller memory footprint. However, it may not perform well for other languages as tokens not commonly used in the selected languages were removed from the vocabulary.
17
-
18
- ## Model Statistics
19
- | Metric | Original | Trimmed | Reduction |
20
- |--------|----------|---------|-----------|
21
- | **Vocabulary size** | 256,000 tokens | 32,768 tokens | **87.20%** |
22
- | **Model size** | 306,939,648 params | 135,497,472 params | **55.86%** |
23
-
24
- ![image](https://cdn-uploads.huggingface.co/production/uploads/613b0a62a14099d5afed7830/3bAHdqRvu-haO_RxyOwVo.png)
25
-
26
- ## Mining Dataset Statistics
27
- - **Number of texts used for mining**: 200,000 texts
28
- - **Dataset**: [Lumberjackk/fineweb-2-trimming](https://huggingface.co/datasets/Lumberjackk/fineweb-2-trimming)
29
-
30
- ## Usage
31
- ```python
32
- from transformers import AutoModel, AutoTokenizer
33
-
34
- model_name = "Lumberjackk/mmBERT-base-ido-32768"
35
- model = AutoModel.from_pretrained(model_name)
36
- tokenizer = AutoTokenizer.from_pretrained(model_name)
37
- ```
38
-
39
- ## Citation
40
-
41
- #### mmBERT
42
- ```
43
- @misc{marone2025mmbertmodernmultilingualencoder,
44
- title={mmBERT: A Modern Multilingual Encoder with Annealed Language Learning},
45
- author={Marc Marone and Orion Weller and William Fleshman and Eugene Yang and Dawn Lawrie and Benjamin Van Durme},
46
- year={2025},
47
- eprint={2509.06888},
48
- archivePrefix={arXiv},
49
- primaryClass={cs.CL},
50
- url={https://arxiv.org/abs/2509.06888},
51
- }
52
- ```
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: fill-mask
3
+ language: ido
4
+ license: mit
5
+ tags:
6
+ - trimmed
7
+ library_name: transformers
8
+ base_model: jhu-clsp/mmBERT-base
9
+ base_model_relation: quantized
10
+ datasets:
11
+ - lbourdois/fineweb-2-trimming
12
+ ---
13
+
14
+ # mmBERT-base-ido-32768
15
+ This model is a **55.86% smaller** version of [jhu-clsp/mmBERT-base](https://huggingface.co/jhu-clsp/mmBERT-base) optimized for **Ido** language via vocabulary size reduction using the [trimming](https://huggingface.co/blog/lbourdois/introduction-to-trimming) method.
16
+ This trimmed model should perform similarly to the original model with only 32,768 tokens and a much smaller memory footprint. However, it may not perform well for other languages as tokens not commonly used in the selected languages were removed from the vocabulary.
17
+
18
+ ## Model Statistics
19
+ | Metric | Original | Trimmed | Reduction |
20
+ |--------|----------|---------|-----------|
21
+ | **Vocabulary size** | 256,000 tokens | 32,768 tokens | **87.20%** |
22
+ | **Model size** | 306,939,648 params | 135,497,472 params | **55.86%** |
23
+
24
+ ![image](https://raw.githubusercontent.com/lbourdois/blog/refs/heads/master/assets/images/Trimming/mmBERT-base-32768.png)
25
+
26
+ ## Mining Dataset Statistics
27
+ - **Number of texts used for mining**: 62,111 texts
28
+ - **Dataset**: [lbourdois/fineweb-2-trimming](https://huggingface.co/datasets/lbourdois/fineweb-2-trimming)
29
+
30
+ ## Usage
31
+ ```python
32
+ from transformers import AutoModel, AutoTokenizer
33
+
34
+ model_name = "alphaedge-ai/mmBERT-base-ido-32768"
35
+ model = AutoModel.from_pretrained(model_name)
36
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
37
+ ```
38
+
39
+ ## Citations
40
+
41
+ #### mmBERT
42
+ ```
43
+ @misc{marone2025mmbertmodernmultilingualencoder,
44
+ title={mmBERT: A Modern Multilingual Encoder with Annealed Language Learning},
45
+ author={Marc Marone and Orion Weller and William Fleshman and Eugene Yang and Dawn Lawrie and Benjamin Van Durme},
46
+ year={2025},
47
+ eprint={2509.06888},
48
+ archivePrefix={arXiv},
49
+ primaryClass={cs.CL},
50
+ url={https://arxiv.org/abs/2509.06888},
51
+ }
52
+ ```
53
+
54
+ #### Trimming blog post
55
+ ```
56
+ @misc{hf_blogpost_trimming,
57
+ title={Introduction to Trimming},
58
+ author={Loïck BOURDOIS and Tom AARSEN and Bram VANROY and Christopher AKIKI and Woojun JUNG and Manuel ROMERO and Prithiv SAKTHI},
59
+ year={2026},
60
+ url={https://huggingface.co/blog/lbourdois/introduction-to-trimming},
61
+ }
62
+ ```
Free AI Image Generator No sign-up. Instant results. Open Now