pooya-mohammadi commited on
Commit
6a236f2
1 Parent(s): 97f8f42

Hezar: Upload training files

Browse files
Files changed (1) hide show
  1. train/train_config.yaml +17 -0
train/train_config.yaml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ config_type: TRAINER
2
+ task: text_generation
3
+ device: cuda
4
+ init_weights_from: hezarai/gpt2-base-fa
5
+ num_dataloader_workers: 0
6
+ seed: 42
7
+ learning_rate: 2.0e-05
8
+ weight_decay: 0.0
9
+ batch_size: 8
10
+ use_amp: false
11
+ evaluate_with_generate: true
12
+ metrics:
13
+ - rouge
14
+ num_epochs: 10
15
+ save_freq: 1
16
+ checkpoints_dir: checkpoints/
17
+ logs_dir: logs