tangroucorn77 commited on
Commit
f9dfb6c
·
1 Parent(s): fd4a06b

Upload train.json

Browse files
Files changed (1) hide show
  1. train.json +47 -0
train.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_name": "five",
3
+ "run_id": 20,
4
+ "model_name_or_path": "/home/zhangc/fyjmy/pretrained/t5-base",
5
+ "dataset": "spider",
6
+ "token_preprocessing": true,
7
+ "source_prefix": "",
8
+ "schema_serialization_type": "peteshaw",
9
+ "schema_serialization_randomized": false,
10
+ "schema_serialization_with_db_id": true,
11
+ "schema_serialization_with_db_content": true,
12
+ "normalize_query": true,
13
+ "target_with_db_id": false,
14
+ "output_dir": "./train",
15
+ "cache_dir": "./natsql_base",
16
+ "do_train": true,
17
+ "do_eval": true,
18
+ "fp16": false,
19
+ "num_train_epochs": 3072,
20
+ "per_device_train_batch_size": 16,
21
+ "per_device_eval_batch_size": 16,
22
+ "gradient_accumulation_steps": 410,
23
+ "label_smoothing_factor": 0.0,
24
+ "learning_rate": 1e-4,
25
+ "adafactor": true,
26
+ "adam_eps": 1e-6,
27
+ "lr_scheduler_type": "constant",
28
+ "warmup_ratio": 0.0,
29
+ "warmup_steps": 0,
30
+ "seed": 1,
31
+ "report_to": ["wandb"],
32
+ "logging_strategy": "steps",
33
+ "logging_first_step": true,
34
+ "logging_steps": 4,
35
+ "load_best_model_at_end": true,
36
+ "metric_for_best_model": "exact_match",
37
+ "greater_is_better": true,
38
+ "save_total_limit": 128,
39
+ "save_steps": 50,
40
+ "evaluation_strategy": "steps",
41
+ "eval_steps": 50,
42
+ "predict_with_generate": true,
43
+ "num_beams": 1,
44
+ "num_beam_groups": 1,
45
+ "use_picard": false,
46
+ "input_max_length":1024
47
+ }