omarmomen/babylm_10M
Viewer • Updated • 1.21M • 174
How to use omarmomen/babylm_tokenizer_32k with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("omarmomen/babylm_tokenizer_32k", dtype="auto")This tokenizer is part of the experiments in the published paper at the BabyLM workshop in CoNLL 2023. The paper titled "Increasing The Performance of Cognitively Inspired Data-Efficient Language Models via Implicit Structure Building" (https://aclanthology.org/2023.conll-babylm.29/)
omarmomen/babylm_tokenizer_32k is a RobertaTokenizer that is pretrained on the BabyLM 10M dataset (cased) with 32K tokens.