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.
1tokenizer = RobertaTokenizerFast.from_pretrained("phueb/BabyBERTa-1",
2 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:
This model was trained by
Philip Huebner, currently at the
UIUC Language and Learning Lab.