Downloads · 30 days
12
3% of all-time downloads
trevorkwan/bluebert_pubmed_mimic_uncased_squadv2
bluebert_pubmed_mimic_uncased_squadv2 is a question answering model from trevorkwan. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as cc0-1.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
12
3% of all-time downloads
All-time downloads
440
Public
Repo size
929 MB
Likes
0
Public
Click a slice to open those files.
.bin436 MB · 88%
From the Hugging Face model README
This model is a fine-tuned version of bionlp/bluebert_pubmed_mimic_uncased_L-12_H-768_A-12 on the squad_v2 dataset.
This is the first model on huggingface that combines MIMIC data with squadv2 for question answering purposes.
Takes the pretrained model bionlp/bluebert_pubmed_mimic_uncased_L-12_H-768_A-12 and fine-tunes and evaluates on squad_v2 data.
Tuning script used (.bat file):
@echo off
set BASE_MODEL=bionlp/bluebert_pubmed_mimic_uncased_L-12_H-768_A-12
set OUTPUT_DIR=U:\Documents\Breast_Non_Synoptic\results\pretrained\bluebert_pubmed_mimic_uncased_squadv2\
python run_qa.py ^
--model_name_or_path %BASE_MODEL% ^
--dataset_name squad_v2 ^
--do_train ^
--do_eval ^
--version_2_with_negative ^
--per_device_train_batch_size 16 ^
--learning_rate 2e-5 ^
--num_train_epochs 3 ^
--max_seq_length 480 ^
--doc_stride 64 ^
--weight_decay 0.01 ^
--output_dir %OUTPUT_DIR%
You may need to adapt this script for non-Windows operating systems.
The run_qa.py example script can be found here.
The following hyperparameters were used during training: