Update README.md
Browse files
README.md
CHANGED
@@ -7,14 +7,19 @@ widget:
|
|
7 |
Run with:
|
8 |
```
|
9 |
export WANDB_PROJECT=wangchanberta-qa
|
|
|
10 |
export MODEL_NAME=airesearchth/wangchanberta-base-wiki-20210520-spm
|
11 |
CUDA_LAUNCH_BLOCKING=1 python train_question_answering_lm_finetuning.py \
|
12 |
--model_name $MODEL_NAME \
|
13 |
--revision main@ckp-50000 \
|
14 |
-
--dataset_name
|
15 |
-
--output_dir $MODEL_NAME-finetune-
|
16 |
-
--log_dir $MODEL_NAME-finetune-
|
17 |
--model_max_length 400 \
|
18 |
--pad_on_right \
|
19 |
--fp16
|
20 |
-
|
|
|
|
|
|
|
|
|
|
7 |
Run with:
|
8 |
```
|
9 |
export WANDB_PROJECT=wangchanberta-qa
|
10 |
+
|
11 |
export MODEL_NAME=airesearchth/wangchanberta-base-wiki-20210520-spm
|
12 |
CUDA_LAUNCH_BLOCKING=1 python train_question_answering_lm_finetuning.py \
|
13 |
--model_name $MODEL_NAME \
|
14 |
--revision main@ckp-50000 \
|
15 |
+
--dataset_name iapp_thaiqa_xquad \
|
16 |
+
--output_dir $MODEL_NAME-finetune-iapp_thaiqa_xquad-model \
|
17 |
+
--log_dir $MODEL_NAME-finetune-iapp_thaiqa_xquad-log \
|
18 |
--model_max_length 400 \
|
19 |
--pad_on_right \
|
20 |
--fp16
|
21 |
+
|
22 |
+
echo done
|
23 |
+
```
|
24 |
+
|
25 |
+
Benchmark data: https://github.com/vistec-AI/thai2transformers/releases/tag/qa-v0.2
|