Downloads · 30 days
84
13% of all-time downloads
aodiniz/bert_uncased_L-4_H-256_A-4_cord19-200616
bert_uncased_L-4_H-256_A-4_cord19-200616 is a fill-mask model from aodiniz. Use it when you need the model to fill a missing word. It is set up for transformers.
BERT model with 4 Transformer layers and hidden embedding of size 256, referenced in Well-Read Students Learn Better: On the Importance of Pre-training Compact Models, fine-tuned for MLM on CORD-19 dataset (as release…
Downloads · 30 days
84
13% of all-time downloads
All-time downloads
668
Public
Repo size
135 MB
Likes
0
Public
Click a slice to open those files.
.bin45.1 MB · 50%
From the Hugging Face model README
BERT model with 4 Transformer layers and hidden embedding of size 256, referenced in Well-Read Students Learn Better: On the Importance of Pre-training Compact Models, fine-tuned for MLM on CORD-19 dataset (as released on 2020/06/16).
python run_language_modeling.py
--model_type bert
--model_name_or_path google/bert_uncased_L-4_H-256_A-4
--do_train
--train_data_file {cord19-200616-dataset}
--mlm
--mlm_probability 0.2
--line_by_line
--block_size 256
--per_device_train_batch_size 20
--learning_rate 3e-5
--num_train_epochs 2
--output_dir bert_uncased_L-4_H-256_A-4_cord19-200616