Views
No views yet
eval_HasAns_exact = 79.2679
eval_HasAns_f1 = 86.5416
eval_HasAns_total = 5928
eval_NoAns_exact = 75.8789
eval_NoAns_f1 = 75.8789
eval_NoAns_total = 5945
eval_best_exact = 77.571
eval_best_exact_thresh = 0.0
eval_best_f1 = 81.2026
eval_best_f1_thresh = 0.0
eval_exact = 77.571
eval_f1 = 81.2026
eval_samples = 11979
eval_total = 11873
1!git clone https://github.com/huggingface/transformers
2!pip3 install -e transformers
3!pip3 install sentencepiece
4!pip3 install -r /content/transformers/examples/pytorch/question-answering/requirements.txt
51python3 transformers/examples/pytorch/question-answering/run_qa.py --model_name_or_path sultan/BioM-ELECTRA-Base-Discriminator \
2--dataset_name squad_v2 \
3--do_train \
4--do_eval \
5--dataloader_num_workers 20 \
6--preprocessing_num_workers 20 \
7--version_2_with_negative \
8--num_train_epochs 3 \
9--learning_rate 4e-5 \
10--max_seq_length 512 \
11--doc_stride 128 \
12--per_device_train_batch_size 8 \
13--gradient_accumulation_steps 3 \
14--per_device_eval_batch_size 128 \
15--fp16 \
16--fp16_opt_level O1 \
17--logging_steps 50 \
18--save_steps 5000 \
19--overwrite_output_dir \
20--output_dir out1python transformers/examples/pytorch/question-answering/run_qa.py --model_name_or_path sultan/BioM-ELECTRA-Base-SQuAD2 \
2--do_eval \
3--version_2_with_negative \
4--per_device_eval_batch_size 8 \
5--dataset_name squad_v2 \
6--overwrite_output_dir \
7--fp16 \
8--output_dir out1@inproceedings{alrowili-shanker-2021-biom,
2title = "{B}io{M}-Transformers: Building Large Biomedical Language Models with {BERT}, {ALBERT} and {ELECTRA}",
3author = "Alrowili, Sultan and
4Shanker, Vijay",
5booktitle = "Proceedings of the 20th Workshop on Biomedical Language Processing",
6month = jun,
7year = "2021",
8address = "Online",
9publisher = "Association for Computational Linguistics",
10url = "https://www.aclweb.org/anthology/2021.bionlp-1.24",
11pages = "221--227",
12abstract = "The impact of design choices on the performance of biomedical language models recently has been a subject for investigation. In this paper, we empirically study biomedical domain adaptation with large transformer models using different design choices. We evaluate the performance of our pretrained models against other existing biomedical language models in the literature. Our results show that we achieve state-of-the-art results on several biomedical domain tasks despite using similar or less computational cost compared to other models in the literature. Our findings highlight the significant effect of design choices on improving the performance of biomedical language models.",
13}