Upload start_qgen.sh
Browse files- start_qgen.sh +15 -0
start_qgen.sh
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
python run_summarization_flax.py \
|
2 |
+
--output_dir ./mt5-base-qgen \
|
3 |
+
--model_name_or_path google/mt5-base \
|
4 |
+
--tokenizer_name google/mt5-base \
|
5 |
+
--train_file qgen_training_data.csv \
|
6 |
+
--text_column context \
|
7 |
+
--summary_column question \
|
8 |
+
--do_train
|
9 |
+
--num_train_epochs 3 \
|
10 |
+
--learning_rate 5e-5 --warmup_steps 300 \
|
11 |
+
--per_device_train_batch_size 2 \
|
12 |
+
--per_device_eval_batch_size 2 \
|
13 |
+
--overwrite_output_dir \
|
14 |
+
--max_source_length 1024 --max_target_length 64 \
|
15 |
+
--push_to_hub
|