Instructions to use LikC1606/chinesebabylm-treatment-nfkc-bert-mlm-4p66m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LikC1606/chinesebabylm-treatment-nfkc-bert-mlm-4p66m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="LikC1606/chinesebabylm-treatment-nfkc-bert-mlm-4p66m")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("LikC1606/chinesebabylm-treatment-nfkc-bert-mlm-4p66m") model = AutoModelForMaskedLM.from_pretrained("LikC1606/chinesebabylm-treatment-nfkc-bert-mlm-4p66m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ChineseBabyLM Treatment NFKC BERT MLM 4.66M
Small from-scratch BERT-style masked language model trained as the Round 20 DeepScientist NFKC-normalization treatment pilot.
Model Details
- Architecture:
BertForMaskedLM - Model type: masked language model / encoder-only BERT
- Parameters: 4,655,803
- Layers: 4
- Attention heads: 4
- Hidden size: 256
- Vocabulary size: 5,307
- Max position embeddings: 256
Training Data
Chinese BabyLM official 10k stratified sample with NFKC text normalization.
Evaluation
Official zero-shot evaluator results:
| Task | Accuracy |
|---|---|
| ZhoBLiMP | 53.53 |
| Hanzi structure | 58.00 |
| Hanzi pinyin | 74.00 |
| Mean available tasks | 61.84 |
Package Source
This model was packaged from treatment_round20_nfkc_bert_mlm_4p66m in the local ChineseBabyLM best-model archive.
- Downloads last month
- 6