cstorm125 commited on
Commit
c5049b7
1 Parent(s): cabf36f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # wangchanberta-base-att-spm-uncased-finetune-qa
2
+
3
+ Finetuning `wangchanberta-base-att-spm-uncased` with the training set of `iapp_wiki_qa_squad` and `thaiqa` (removed examples which have cosine similarity with validation and test examples over 0.8). Benchmarks shared on [wandb](https://wandb.ai/cstorm125/wangchanberta-qa) using validation and test sets of `iapp_wiki_qa_squad`.
4
+
5
+ Trained with
6
+ ```
7
+ export WANDB_PROJECT=wangchanberta-qa
8
+
9
+ export MODEL_NAME=wangchanberta-base-att-spm-uncased
10
+ python train_question_answering_lm_finetuning.py \
11
+ --model_name $MODEL_NAME \
12
+ --dataset_name iapp_thaiqa \
13
+ --output_dir $MODEL_NAME-finetune-iapp_thaiqa-model \
14
+ --log_dir $MODEL_NAME-finetune-iapp_thaiqa-log \
15
+ --lowercase \
16
+ --pad_on_right \
17
+ --fp16
18
+
19
+ export MODEL_NAME=xlm-roberta-base
20
+ python train_question_answering_lm_finetuning.py \
21
+ --model_name $MODEL_NAME \
22
+ --dataset_name iapp_thaiqa \
23
+ --output_dir $MODEL_NAME-finetune-iapp_thaiqa-model \
24
+ --log_dir $MODEL_NAME-finetune-iapp_thaiqa-log \
25
+ --model_max_length 416 \
26
+ --pad_on_right \
27
+ --fp16
28
+
29
+ export MODEL_NAME=bert-base-multilingual-cased
30
+ python train_question_answering_lm_finetuning.py \
31
+ --model_name $MODEL_NAME \
32
+ --dataset_name iapp_thaiqa \
33
+ --output_dir $MODEL_NAME-finetune-iapp_thaiqa-model \
34
+ --log_dir $MODEL_NAME-finetune-iapp_thaiqa-log \
35
+ --pad_on_right \
36
+ --fp16
37
+
38
+ export MODEL_NAME=wangchanberta-base-wiki-spm
39
+ python train_question_answering_lm_finetuning.py \
40
+ --model_name $MODEL_NAME \
41
+ --dataset_name iapp_thaiqa \
42
+ --output_dir $MODEL_NAME-finetune-iapp_thaiqa-model \
43
+ --log_dir $MODEL_NAME-finetune-iapp_thaiqa-log \
44
+ --pad_on_right \
45
+ --fp16
46
+ ```