nimafathi commited on
Commit
db00185
·
verified ·
1 Parent(s): 41fb47d

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +72 -0
config.yaml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hf_model_id: hdlm-group/hdlm-base-epsilon-0.0
2
+ reset_step_for_finetuning: true
3
+ ngpus: 4
4
+ type: aligned
5
+ gradient_accumulation_steps: 8
6
+ model_type: epsilon_hybrid
7
+ tokenizer:
8
+ tokens: 50257
9
+ model: gpt2
10
+ training:
11
+ batch_size: 512
12
+ accum: ${gradient_accumulation_steps}
13
+ n_iters: 500000
14
+ snapshot_freq: 5000
15
+ log_freq: 500
16
+ eval_freq: 5000
17
+ snapshot_freq_for_preemption: 1000
18
+ snapshot_sampling: true
19
+ ema: 0.9999
20
+ warmup_iter: 50000
21
+ loss_type: hybrid
22
+ epsilon: 0.05
23
+ lambda: 5.0
24
+ lr: 1.0e-05
25
+ data:
26
+ train: openwebtext-train
27
+ valid: wikitext103
28
+ cache_dir: /home/toolkit/research-diffcodegen/data
29
+ debug: false
30
+ annealing:
31
+ type: none
32
+ efficient: false
33
+ width: 1024
34
+ tau: 1024
35
+ eval_tau: 1024
36
+ sampling_method: sdlm
37
+ sampling_eps: 0.0001
38
+ attention:
39
+ context_type: block_causal
40
+ block_type: full
41
+ match_inference: true
42
+ eval:
43
+ batch_size: 32
44
+ perplexity: true
45
+ perplexity_batch_size: 16
46
+ optim:
47
+ weight_decay: 0.1
48
+ optimizer: AdamW
49
+ lr: 5.0e-05
50
+ beta1: 0.9
51
+ beta2: 0.95
52
+ eps: 1.0e-08
53
+ warmup: 10000
54
+ grad_clip: 1.0
55
+ scheduler: cosine
56
+ experiment:
57
+ name: ft_epsilon_0.05_lambda_5.0
58
+ wandb_project: Hybrid-SDLM-ALIGNED
59
+ model:
60
+ name: epsilon_hdlm
61
+ type: ddit
62
+ hidden_size: 768
63
+ cond_dim: 128
64
+ length: 1024
65
+ n_blocks: 12
66
+ n_heads: 12
67
+ dropout: 0.1
68
+ scale_by_sigma: false
69
+ transformer_sigma_conditioning: false
70
+ hybrid_sigma_embedding: false
71
+ post_process_logits: false
72
+ use_timestep_embedding: false