amy-hyunji-lee commited on
Commit
9b06537
·
verified ·
1 Parent(s): d96f767

Add files using upload-large-folder tool

Browse files
hyperparameters.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "train_config": "config/is_selfssm.swe_2048.json",
3
+ "model_name": "Selfssm",
4
+ "devices": 8,
5
+ "train_name": "is_selfssm.swe_2048",
6
+ "name": "is_selfssm.swe_2048_Selfssm",
7
+ "model_type": "selfssm",
8
+ "nodes": 1,
9
+ "block_size": 4096,
10
+ "max_tokens": 20000000000,
11
+ "global_batch_size": 512,
12
+ "micro_batch_size": 2,
13
+ "batch_size": 64,
14
+ "gradient_accumulation_steps": 32,
15
+ "learning_rate": 0.0004,
16
+ "total_evals": 400,
17
+ "warmup_tokens": 200000000,
18
+ "eval_iters": 200,
19
+ "resume_ckpt": "token-3775135744.iter-014400-ckpt.pth",
20
+ "log_step_interval": 10,
21
+ "save_step_interval": 300,
22
+ "eval_step_interval": 300,
23
+ "num_extrapol": 4,
24
+ "weight_decay": 0.1,
25
+ "beta1": 0.9,
26
+ "beta2": 0.95,
27
+ "grad_clip": 1.0,
28
+ "decay_lr": true,
29
+ "min_lr": 4e-05,
30
+ "attn_type": "flash_attention_2",
31
+ "attn_window_size": 2048,
32
+ "output_attentions": false,
33
+ "output_hidden_states": false,
34
+ "load_linear_data": "next",
35
+ "load_linear_overlap": 0,
36
+ "load_linear_also_copy_rate": 0,
37
+ "data_do_shuffle": false,
38
+ "load_input_data": "",
39
+ "log_iter_interval": 320,
40
+ "tok": "llama2_tok",
41
+ "transformer_hidden_size": 1024,
42
+ "transformer_num_hidden_layers": 12,
43
+ "transformer_intermediate_size": 4096,
44
+ "linear_hidden_states": 2048,
45
+ "linear_cal_loss": false,
46
+ "linear_num_hidden_layers": 12,
47
+ "linear_hidden_name": "output_embedding",
48
+ "linear_multiply_self_attn_B": false,
49
+ "linear_input_w_selfattn": false,
50
+ "integrate_self_attn_weight": "",
51
+ "integrate_self_attn_weight_rate": 1,
52
+ "tie_word_embedding_layer": true,
53
+ "linear_up_project": false,
54
+ "linear_up_project_size": 0,
55
+ "interact_mode": "cross_attn"
56
+ }
model_config.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 32000,
3
+ "hidden_size": 1024,
4
+ "state_size": 16,
5
+ "num_hidden_layers": 12,
6
+ "layer_norm_epsilon": 1e-05,
7
+ "conv_kernel": 4,
8
+ "expand": 2,
9
+ "intermediate_size": 4096,
10
+ "bos_token_id": 1,
11
+ "eos_token_id": 2,
12
+ "pad_token_id": null,
13
+ "use_bias": false,
14
+ "use_conv_bias": true,
15
+ "hidden_act": "silu",
16
+ "initializer_range": 0.1,
17
+ "time_step_rank": 64,
18
+ "time_step_scale": 1.0,
19
+ "time_step_min": 0.001,
20
+ "time_step_max": 0.1,
21
+ "time_step_init_scheme": "random",
22
+ "time_step_floor": 0.0001,
23
+ "rescale_prenorm_residual": false,
24
+ "residual_in_fp32": true,
25
+ "use_cache": true,
26
+ "use_mambapy": false,
27
+ "block_size": 4096,
28
+ "name": "Selfssm",
29
+ "max_position_embeddings": 4096,
30
+ "num_attention_heads": 16,
31
+ "linear_hidden_name": "output_embedding",
32
+ "num_key_value_heads": 16,
33
+ "decoder_initializer_range": 0.02,
34
+ "decoder_use_cache": true,
35
+ "rope_theta": 10000.0,
36
+ "rope_scaling": null,
37
+ "attention_bias": false,
38
+ "attention_dropout": 0.0,
39
+ "clip_qkv": null,
40
+ "window_size": 2048,
41
+ "output_attentions": false,
42
+ "return_dict": true,
43
+ "output_hidden_states": false,
44
+ "torchscript": false,
45
+ "torch_dtype": null,
46
+ "use_bfloat16": false,
47
+ "tf_legacy_loss": false,
48
+ "pruned_heads": {},
49
+ "tie_word_embeddings": true,
50
+ "chunk_size_feed_forward": 0,
51
+ "is_encoder_decoder": false,
52
+ "is_decoder": true,
53
+ "cross_attention_hidden_size": null,
54
+ "add_cross_attention": false,
55
+ "tie_encoder_decoder": false,
56
+ "max_length": 20,
57
+ "min_length": 0,
58
+ "do_sample": false,
59
+ "early_stopping": false,
60
+ "num_beams": 1,
61
+ "num_beam_groups": 1,
62
+ "diversity_penalty": 0.0,
63
+ "temperature": 1.0,
64
+ "top_k": 50,
65
+ "top_p": 1.0,
66
+ "typical_p": 1.0,
67
+ "repetition_penalty": 1.0,
68
+ "length_penalty": 1.0,
69
+ "no_repeat_ngram_size": 0,
70
+ "encoder_no_repeat_ngram_size": 0,
71
+ "bad_words_ids": null,
72
+ "num_return_sequences": 1,
73
+ "output_scores": false,
74
+ "return_dict_in_generate": false,
75
+ "forced_bos_token_id": null,
76
+ "forced_eos_token_id": null,
77
+ "remove_invalid_values": false,
78
+ "exponential_decay_length_penalty": null,
79
+ "suppress_tokens": null,
80
+ "begin_suppress_tokens": null,
81
+ "architectures": null,
82
+ "finetuning_task": null,
83
+ "id2label": {
84
+ "0": "LABEL_0",
85
+ "1": "LABEL_1"
86
+ },
87
+ "label2id": {
88
+ "LABEL_0": 0,
89
+ "LABEL_1": 1
90
+ },
91
+ "tokenizer_class": null,
92
+ "prefix": null,
93
+ "sep_token_id": null,
94
+ "decoder_start_token_id": null,
95
+ "task_specific_params": null,
96
+ "problem_type": null,
97
+ "_name_or_path": "",
98
+ "_attn_implementation_autoset": false,
99
+ "transformers_version": "4.46.2",
100
+ "local_rank": 0,
101
+ "attn_window_size": 2048,
102
+ "itermediate_size": 4096,
103
+ "interact_mode": "cross_attn",
104
+ "n_layer": 12,
105
+ "n_embd": 1024,
106
+ "linear_hidden_states": 2048,
107
+ "linear_multiply_self_attn_B": false,
108
+ "linear_input_w_selfattn": false,
109
+ "linear_cal_loss": false,
110
+ "integrate_self_attn_weight": "",
111
+ "integrate_self_attn_weight_rate": 1,
112
+ "model_type": "selfssm"
113
+ }
token-9122676736.iter-139200-ckpt.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d6df836e818a99ccb1e0ec7cca1f7a6070339abea460583c0d14d64e20e55dc
3
+ size 5464607563