MasteredUltraInstinct commited on
Commit
54c5571
·
verified ·
1 Parent(s): ccca011

Update train.yaml

Browse files
Files changed (1) hide show
  1. train.yaml +22 -9
train.yaml CHANGED
@@ -1,11 +1,24 @@
1
- # train.yaml
 
 
 
 
 
 
 
2
 
3
- model:
4
- name: dummy_pix2tex_model
5
- hidden_size: 256
6
 
7
- training:
8
- epochs: 5
9
- batch_size: 32
10
- learning_rate: 0.001
11
- device: cpu
 
 
 
 
 
 
 
 
1
+ seed: 42
2
+ epochs: 3
3
+ batch_size: 2
4
+ num_workers: 0
5
+ device: cpu
6
+ lr: 1e-4
7
+ clip_grad: 1.0
8
+ scheduler: none
9
 
10
+ # Tokenizer path
11
+ tokenizer_path: "tokenizer.json"
 
12
 
13
+ # Data paths
14
+ train_csv: "dataset/train.csv"
15
+ val_csv: "dataset/val.csv"
16
+
17
+ # Image settings
18
+ image_height: 64
19
+ image_width: 512
20
+ max_seq_length: 150
21
+
22
+ # Saving
23
+ output_dir: "checkpoints/"
24
+ save_every: 1