Downloads · 30 days
19
27% of all-time downloads
haznitrama/babybabellm-multi_gpu-gpt_bert-eng-main
babybabellm-multi_gpu-gpt_bert-eng-main is a fill-mask model from haznitrama. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as other.
GPT-BERT style BabyBabyLLM model for language eng.
Downloads · 30 days
19
27% of all-time downloads
All-time downloads
71
Public
Parameters
135M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors553 MB · 52%
How the weights are stored.
F32132M · 98%
From the Hugging Face model README
GPT-BERT style BabyBabyLLM model for language eng.
This repository may include both main and EMA variants.
Default variant exposed to generic loaders: main
main
{
"attention_probs_dropout_prob": 0.1,
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"intermediate_size": 2560,
"max_position_embeddings": 512,
"position_bucket_size": 32,
"num_attention_heads": 12,
"num_hidden_layers": 12,
"vocab_size": 16384,
"layer_norm_eps": 1e-05
}
Tokenizer file: tokenizer_eng.json
from transformers import AutoTokenizer, AutoModelForMaskedLM
model_id = 'haznitrama/babybabellm-multi_gpu-gpt_bert-eng-main'
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForMaskedLM.from_pretrained(model_id, trust_remote_code=True)
out = model(**tok('Hello world', return_tensors='pt'))
trust_remote_code=True due to custom architecture.