Downloads · 30 days
59
1% of all-time downloads
airesearch/wangchanberta-base-wiki-20210520-spm-finetune-qa
wangchanberta-base-wiki-20210520-spm-finetune-qa is a question answering model from airesearch. Use it when the input is a question plus a passage. It is set up for transformers.
Finetuning airesearchth/wangchanberta-base-wiki-20210520-spmd with the training set of iappwikiqasquad, thaiqasquad, and nscqa (removed examples which have cosine similarity with validation and test examples over 0.8;…
Downloads · 30 days
59
1% of all-time downloads
All-time downloads
7.6K
Public
Repo size
2.1 GB
Likes
0
Public
Click a slice to open those files.
.bin416 MB · 99%
From the Hugging Face model README
Finetuning airesearchth/wangchanberta-base-wiki-20210520-spmd with the training set of iapp_wiki_qa_squad, thaiqa_squad, and nsc_qa (removed examples which have cosine similarity with validation and test examples over 0.8; contexts of the latter two are trimmed to be around 300 newmm words). Benchmarks shared on wandb using validation and test sets of iapp_wiki_qa_squad.
Trained with thai2transformers.
Run with:
export MODEL_NAME=airesearchth/wangchanberta-base-wiki-20210520-news-spm
CUDA_LAUNCH_BLOCKING=1 python train_question_answering_lm_finetuning.py \\n --model_name $MODEL_NAME \\n --dataset_name chimera_qa \\n --output_dir $MODEL_NAME-finetune-chimera_qa-model \\n --log_dir $MODEL_NAME-finetune-chimera_qa-log \\n --model_max_length 400 \\n --pad_on_right \\n --fp16