Downloads · 30 days
27
1% of all-time downloads
phueb/BabyBERTa-2
BabyBERTa-2 is a fill-mask model from phueb. Use it when you need the model to fill a missing word. It is set up for transformers.
BabyBERTa is a light-weight version of RoBERTa trained on 5M words of American-English child-directed input. It is intended for language acquisition research, on a single desktop with a single GPU - no high-performanc…
Downloads · 30 days
27
1% of all-time downloads
All-time downloads
3.6K
Public
Repo size
68.3 MB
Likes
0
Public
Click a slice to open those files.
.bin34.2 MB · 99%
From the Hugging Face model README
BabyBERTa is a light-weight version of RoBERTa trained on 5M words of American-English child-directed input. It is intended for language acquisition research, on a single desktop with a single GPU - no high-performance computing infrastructure needed.
The three provided models are randomly selected from 10 that were trained and reported in the paper.
BabyBERTa was trained with add_prefix_space=True, so it will not work properly with the tokenizer defaults.
For instance, to load the tokenizer for BabyBERTa-1, load it as follows:
tokenizer = RobertaTokenizerFast.from_pretrained("phueb/BabyBERTa-1",
add_prefix_space=True)
See the paper for details.
All provided models were trained for 400K steps with a batch size of 16.
Importantly, BabyBERTa never predicts unmasked tokens during training - unmask_prob is set to zero.
BabyBerta was developed for learning grammatical knowledge from child-directed input. Its grammatical knowledge was evaluated using the Zorro test suite. The best model achieves an overall accuracy of 80.3, comparable to RoBERTa-base, which achieves an overall accuracy of 82.6 on the latest version of Zorro (as of October, 2021). Both values differ slightly from those reported in the CoNLL 2021 paper. There are two reasons for this:
Overall Accuracy on Zorro:
| Model Name | Accuracy (holistic scoring) | Accuracy (MLM-scoring) |
|---|---|---|
| BabyBERTa-1 | 80.3 | 79.9 |
| BabyBERTa-2 | 78.6 | 78.2 |
| BabyBERTa-3 | 74.5 | 78.1 |
This model was trained by Philip Huebner, currently at the UIUC Language and Learning Lab.
More info can be found here.