Downloads · 30 days
5
1% of all-time downloads
superspray/distilbert_base_squad2_custom_dataset
distilbert_base_squad2_custom_dataset is a question answering model from superspray. Use it when the input is a question plus a passage. It is set up for transformers.
DistilbertBase fine-tuned on SQuAD2.0 and custom QA dataset
Downloads · 30 days
5
1% of all-time downloads
All-time downloads
672
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin265 MB · 100%
From the Hugging Face model README
Distilbert_Base fine-tuned on SQuAD2.0 and custom QA dataset
This model is [twmkn9/distilbert-base-uncased-squad2] trained on additional custom dataset as:
!python3 run_squad.py --model_type distilbert \
--model_name_or_path /content/distilbert_base_384 \
--do_lower_case \
--output_dir /content/model/\
--do_train \
--train_file $data_dir/additional_qa.json\
--version_2_with_negative \
--do_lower_case \
--num_train_epochs 3 \
--weight_decay 0.01 \
--learning_rate 3e-5 \
--max_grad_norm 0.5 \
--adam_epsilon 1e-6 \
--max_seq_length 512 \
--doc_stride 128 \
--threads 12 \
--logging_steps 50 \
--save_steps 1000 \
--overwrite_output_dir \
--per_gpu_train_batch_size 4
We used Google Colab for training the model,