iamtarun commited on
Commit
23149ff
1 Parent(s): f3fb117

Trained for 5 epochs

Browse files
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Salesforce/codegen-350M-mono",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "CodeGenForCausalLM"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 1,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "codegen",
15
+ "n_ctx": 2048,
16
+ "n_embd": 1024,
17
+ "n_head": 16,
18
+ "n_inner": null,
19
+ "n_layer": 20,
20
+ "n_positions": 2048,
21
+ "resid_pdrop": 0.0,
22
+ "rotary_dim": 32,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50,
33
+ "temperature": 1.0
34
+ }
35
+ },
36
+ "tie_word_embeddings": false,
37
+ "tokenizer_class": "GPT2Tokenizer",
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.31.0",
40
+ "use_cache": true,
41
+ "vocab_size": 51200
42
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.31.0"
6
+ }
pytorch_model-00001-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:491354708b3a4a475588350611d6baf4b087d8d978c7d36e128095dcc0c8da58
3
+ size 209716138
pytorch_model-00002-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81d9b906272fb4110704b5742bfb567571b9c6041b9951769f4c8458bc059e7e
3
+ size 184669675
pytorch_model-00003-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e821ce2de1a5a6a4ad68b236f36b8d4ff052cd5024cef722c013c8f5f9854b47
3
+ size 184657451
pytorch_model-00004-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4bf2d192b5b3c549057a96ad5036d3b9b46f1ff665681b8ee197314a88f2cad
3
+ size 197257021
pytorch_model-00005-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f8fd7738191350d6655a039ef9276d6a00ce9032998026d566ade2980ff2de1
3
+ size 188868413
pytorch_model-00006-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11cf7d1c5830af666bf15f1fa639fe9e551cd44f7cd94e7f21ea1409fd3da7be
3
+ size 184660935
pytorch_model-00007-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e3c43019eb487e36cba72c5c8b3e2e7bbaaaa126397aa2f785e65094af7ee15
3
+ size 67154087
pytorch_model-00008-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19c27e2f8ad8724831e7e9b2f77c448a83a247d6835c6cd3a7304037daf6e51c
3
+ size 209716138
pytorch_model-00009-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efcdabaa0e93a3794744118162be068235917eec96747a399cd995e1f527d63b
3
+ size 205738
pytorch_model.bin.index.json ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 1426849792
4
+ },
5
+ "weight_map": {
6
+ "lm_head.bias": "pytorch_model-00009-of-00009.bin",
7
+ "lm_head.weight": "pytorch_model-00008-of-00009.bin",
8
+ "transformer.h.0.attn.out_proj.weight": "pytorch_model-00002-of-00009.bin",
9
+ "transformer.h.0.attn.qkv_proj.weight": "pytorch_model-00002-of-00009.bin",
10
+ "transformer.h.0.ln_1.bias": "pytorch_model-00002-of-00009.bin",
11
+ "transformer.h.0.ln_1.weight": "pytorch_model-00002-of-00009.bin",
12
+ "transformer.h.0.mlp.fc_in.bias": "pytorch_model-00002-of-00009.bin",
13
+ "transformer.h.0.mlp.fc_in.weight": "pytorch_model-00002-of-00009.bin",
14
+ "transformer.h.0.mlp.fc_out.bias": "pytorch_model-00002-of-00009.bin",
15
+ "transformer.h.0.mlp.fc_out.weight": "pytorch_model-00002-of-00009.bin",
16
+ "transformer.h.1.attn.out_proj.weight": "pytorch_model-00002-of-00009.bin",
17
+ "transformer.h.1.attn.qkv_proj.weight": "pytorch_model-00002-of-00009.bin",
18
+ "transformer.h.1.ln_1.bias": "pytorch_model-00002-of-00009.bin",
19
+ "transformer.h.1.ln_1.weight": "pytorch_model-00002-of-00009.bin",
20
+ "transformer.h.1.mlp.fc_in.bias": "pytorch_model-00002-of-00009.bin",
21
+ "transformer.h.1.mlp.fc_in.weight": "pytorch_model-00002-of-00009.bin",
22
+ "transformer.h.1.mlp.fc_out.bias": "pytorch_model-00002-of-00009.bin",
23
+ "transformer.h.1.mlp.fc_out.weight": "pytorch_model-00002-of-00009.bin",
24
+ "transformer.h.10.attn.out_proj.weight": "pytorch_model-00004-of-00009.bin",
25
+ "transformer.h.10.attn.qkv_proj.weight": "pytorch_model-00004-of-00009.bin",
26
+ "transformer.h.10.ln_1.bias": "pytorch_model-00004-of-00009.bin",
27
+ "transformer.h.10.ln_1.weight": "pytorch_model-00004-of-00009.bin",
28
+ "transformer.h.10.mlp.fc_in.bias": "pytorch_model-00004-of-00009.bin",
29
+ "transformer.h.10.mlp.fc_in.weight": "pytorch_model-00004-of-00009.bin",
30
+ "transformer.h.10.mlp.fc_out.bias": "pytorch_model-00004-of-00009.bin",
31
+ "transformer.h.10.mlp.fc_out.weight": "pytorch_model-00004-of-00009.bin",
32
+ "transformer.h.11.attn.out_proj.weight": "pytorch_model-00005-of-00009.bin",
33
+ "transformer.h.11.attn.qkv_proj.weight": "pytorch_model-00004-of-00009.bin",
34
+ "transformer.h.11.ln_1.bias": "pytorch_model-00004-of-00009.bin",
35
+ "transformer.h.11.ln_1.weight": "pytorch_model-00004-of-00009.bin",
36
+ "transformer.h.11.mlp.fc_in.bias": "pytorch_model-00005-of-00009.bin",
37
+ "transformer.h.11.mlp.fc_in.weight": "pytorch_model-00005-of-00009.bin",
38
+ "transformer.h.11.mlp.fc_out.bias": "pytorch_model-00005-of-00009.bin",
39
+ "transformer.h.11.mlp.fc_out.weight": "pytorch_model-00005-of-00009.bin",
40
+ "transformer.h.12.attn.out_proj.weight": "pytorch_model-00005-of-00009.bin",
41
+ "transformer.h.12.attn.qkv_proj.weight": "pytorch_model-00005-of-00009.bin",
42
+ "transformer.h.12.ln_1.bias": "pytorch_model-00005-of-00009.bin",
43
+ "transformer.h.12.ln_1.weight": "pytorch_model-00005-of-00009.bin",
44
+ "transformer.h.12.mlp.fc_in.bias": "pytorch_model-00005-of-00009.bin",
45
+ "transformer.h.12.mlp.fc_in.weight": "pytorch_model-00005-of-00009.bin",
46
+ "transformer.h.12.mlp.fc_out.bias": "pytorch_model-00005-of-00009.bin",
47
+ "transformer.h.12.mlp.fc_out.weight": "pytorch_model-00005-of-00009.bin",
48
+ "transformer.h.13.attn.out_proj.weight": "pytorch_model-00005-of-00009.bin",
49
+ "transformer.h.13.attn.qkv_proj.weight": "pytorch_model-00005-of-00009.bin",
50
+ "transformer.h.13.ln_1.bias": "pytorch_model-00005-of-00009.bin",
51
+ "transformer.h.13.ln_1.weight": "pytorch_model-00005-of-00009.bin",
52
+ "transformer.h.13.mlp.fc_in.bias": "pytorch_model-00005-of-00009.bin",
53
+ "transformer.h.13.mlp.fc_in.weight": "pytorch_model-00005-of-00009.bin",
54
+ "transformer.h.13.mlp.fc_out.bias": "pytorch_model-00005-of-00009.bin",
55
+ "transformer.h.13.mlp.fc_out.weight": "pytorch_model-00005-of-00009.bin",
56
+ "transformer.h.14.attn.out_proj.weight": "pytorch_model-00005-of-00009.bin",
57
+ "transformer.h.14.attn.qkv_proj.weight": "pytorch_model-00005-of-00009.bin",
58
+ "transformer.h.14.ln_1.bias": "pytorch_model-00005-of-00009.bin",
59
+ "transformer.h.14.ln_1.weight": "pytorch_model-00005-of-00009.bin",
60
+ "transformer.h.14.mlp.fc_in.bias": "pytorch_model-00005-of-00009.bin",
61
+ "transformer.h.14.mlp.fc_in.weight": "pytorch_model-00005-of-00009.bin",
62
+ "transformer.h.14.mlp.fc_out.bias": "pytorch_model-00005-of-00009.bin",
63
+ "transformer.h.14.mlp.fc_out.weight": "pytorch_model-00005-of-00009.bin",
64
+ "transformer.h.15.attn.out_proj.weight": "pytorch_model-00006-of-00009.bin",
65
+ "transformer.h.15.attn.qkv_proj.weight": "pytorch_model-00006-of-00009.bin",
66
+ "transformer.h.15.ln_1.bias": "pytorch_model-00005-of-00009.bin",
67
+ "transformer.h.15.ln_1.weight": "pytorch_model-00005-of-00009.bin",
68
+ "transformer.h.15.mlp.fc_in.bias": "pytorch_model-00006-of-00009.bin",
69
+ "transformer.h.15.mlp.fc_in.weight": "pytorch_model-00006-of-00009.bin",
70
+ "transformer.h.15.mlp.fc_out.bias": "pytorch_model-00006-of-00009.bin",
71
+ "transformer.h.15.mlp.fc_out.weight": "pytorch_model-00006-of-00009.bin",
72
+ "transformer.h.16.attn.out_proj.weight": "pytorch_model-00006-of-00009.bin",
73
+ "transformer.h.16.attn.qkv_proj.weight": "pytorch_model-00006-of-00009.bin",
74
+ "transformer.h.16.ln_1.bias": "pytorch_model-00006-of-00009.bin",
75
+ "transformer.h.16.ln_1.weight": "pytorch_model-00006-of-00009.bin",
76
+ "transformer.h.16.mlp.fc_in.bias": "pytorch_model-00006-of-00009.bin",
77
+ "transformer.h.16.mlp.fc_in.weight": "pytorch_model-00006-of-00009.bin",
78
+ "transformer.h.16.mlp.fc_out.bias": "pytorch_model-00006-of-00009.bin",
79
+ "transformer.h.16.mlp.fc_out.weight": "pytorch_model-00006-of-00009.bin",
80
+ "transformer.h.17.attn.out_proj.weight": "pytorch_model-00006-of-00009.bin",
81
+ "transformer.h.17.attn.qkv_proj.weight": "pytorch_model-00006-of-00009.bin",
82
+ "transformer.h.17.ln_1.bias": "pytorch_model-00006-of-00009.bin",
83
+ "transformer.h.17.ln_1.weight": "pytorch_model-00006-of-00009.bin",
84
+ "transformer.h.17.mlp.fc_in.bias": "pytorch_model-00006-of-00009.bin",
85
+ "transformer.h.17.mlp.fc_in.weight": "pytorch_model-00006-of-00009.bin",
86
+ "transformer.h.17.mlp.fc_out.bias": "pytorch_model-00006-of-00009.bin",
87
+ "transformer.h.17.mlp.fc_out.weight": "pytorch_model-00006-of-00009.bin",
88
+ "transformer.h.18.attn.out_proj.weight": "pytorch_model-00006-of-00009.bin",
89
+ "transformer.h.18.attn.qkv_proj.weight": "pytorch_model-00006-of-00009.bin",
90
+ "transformer.h.18.ln_1.bias": "pytorch_model-00006-of-00009.bin",
91
+ "transformer.h.18.ln_1.weight": "pytorch_model-00006-of-00009.bin",
92
+ "transformer.h.18.mlp.fc_in.bias": "pytorch_model-00006-of-00009.bin",
93
+ "transformer.h.18.mlp.fc_in.weight": "pytorch_model-00006-of-00009.bin",
94
+ "transformer.h.18.mlp.fc_out.bias": "pytorch_model-00007-of-00009.bin",
95
+ "transformer.h.18.mlp.fc_out.weight": "pytorch_model-00007-of-00009.bin",
96
+ "transformer.h.19.attn.out_proj.weight": "pytorch_model-00007-of-00009.bin",
97
+ "transformer.h.19.attn.qkv_proj.weight": "pytorch_model-00007-of-00009.bin",
98
+ "transformer.h.19.ln_1.bias": "pytorch_model-00007-of-00009.bin",
99
+ "transformer.h.19.ln_1.weight": "pytorch_model-00007-of-00009.bin",
100
+ "transformer.h.19.mlp.fc_in.bias": "pytorch_model-00007-of-00009.bin",
101
+ "transformer.h.19.mlp.fc_in.weight": "pytorch_model-00007-of-00009.bin",
102
+ "transformer.h.19.mlp.fc_out.bias": "pytorch_model-00007-of-00009.bin",
103
+ "transformer.h.19.mlp.fc_out.weight": "pytorch_model-00007-of-00009.bin",
104
+ "transformer.h.2.attn.out_proj.weight": "pytorch_model-00002-of-00009.bin",
105
+ "transformer.h.2.attn.qkv_proj.weight": "pytorch_model-00002-of-00009.bin",
106
+ "transformer.h.2.ln_1.bias": "pytorch_model-00002-of-00009.bin",
107
+ "transformer.h.2.ln_1.weight": "pytorch_model-00002-of-00009.bin",
108
+ "transformer.h.2.mlp.fc_in.bias": "pytorch_model-00002-of-00009.bin",
109
+ "transformer.h.2.mlp.fc_in.weight": "pytorch_model-00002-of-00009.bin",
110
+ "transformer.h.2.mlp.fc_out.bias": "pytorch_model-00002-of-00009.bin",
111
+ "transformer.h.2.mlp.fc_out.weight": "pytorch_model-00002-of-00009.bin",
112
+ "transformer.h.3.attn.out_proj.weight": "pytorch_model-00002-of-00009.bin",
113
+ "transformer.h.3.attn.qkv_proj.weight": "pytorch_model-00002-of-00009.bin",
114
+ "transformer.h.3.ln_1.bias": "pytorch_model-00002-of-00009.bin",
115
+ "transformer.h.3.ln_1.weight": "pytorch_model-00002-of-00009.bin",
116
+ "transformer.h.3.mlp.fc_in.bias": "pytorch_model-00002-of-00009.bin",
117
+ "transformer.h.3.mlp.fc_in.weight": "pytorch_model-00002-of-00009.bin",
118
+ "transformer.h.3.mlp.fc_out.bias": "pytorch_model-00003-of-00009.bin",
119
+ "transformer.h.3.mlp.fc_out.weight": "pytorch_model-00003-of-00009.bin",
120
+ "transformer.h.4.attn.out_proj.weight": "pytorch_model-00003-of-00009.bin",
121
+ "transformer.h.4.attn.qkv_proj.weight": "pytorch_model-00003-of-00009.bin",
122
+ "transformer.h.4.ln_1.bias": "pytorch_model-00003-of-00009.bin",
123
+ "transformer.h.4.ln_1.weight": "pytorch_model-00003-of-00009.bin",
124
+ "transformer.h.4.mlp.fc_in.bias": "pytorch_model-00003-of-00009.bin",
125
+ "transformer.h.4.mlp.fc_in.weight": "pytorch_model-00003-of-00009.bin",
126
+ "transformer.h.4.mlp.fc_out.bias": "pytorch_model-00003-of-00009.bin",
127
+ "transformer.h.4.mlp.fc_out.weight": "pytorch_model-00003-of-00009.bin",
128
+ "transformer.h.5.attn.out_proj.weight": "pytorch_model-00003-of-00009.bin",
129
+ "transformer.h.5.attn.qkv_proj.weight": "pytorch_model-00003-of-00009.bin",
130
+ "transformer.h.5.ln_1.bias": "pytorch_model-00003-of-00009.bin",
131
+ "transformer.h.5.ln_1.weight": "pytorch_model-00003-of-00009.bin",
132
+ "transformer.h.5.mlp.fc_in.bias": "pytorch_model-00003-of-00009.bin",
133
+ "transformer.h.5.mlp.fc_in.weight": "pytorch_model-00003-of-00009.bin",
134
+ "transformer.h.5.mlp.fc_out.bias": "pytorch_model-00003-of-00009.bin",
135
+ "transformer.h.5.mlp.fc_out.weight": "pytorch_model-00003-of-00009.bin",
136
+ "transformer.h.6.attn.out_proj.weight": "pytorch_model-00003-of-00009.bin",
137
+ "transformer.h.6.attn.qkv_proj.weight": "pytorch_model-00003-of-00009.bin",
138
+ "transformer.h.6.ln_1.bias": "pytorch_model-00003-of-00009.bin",
139
+ "transformer.h.6.ln_1.weight": "pytorch_model-00003-of-00009.bin",
140
+ "transformer.h.6.mlp.fc_in.bias": "pytorch_model-00003-of-00009.bin",
141
+ "transformer.h.6.mlp.fc_in.weight": "pytorch_model-00003-of-00009.bin",
142
+ "transformer.h.6.mlp.fc_out.bias": "pytorch_model-00003-of-00009.bin",
143
+ "transformer.h.6.mlp.fc_out.weight": "pytorch_model-00003-of-00009.bin",
144
+ "transformer.h.7.attn.out_proj.weight": "pytorch_model-00003-of-00009.bin",
145
+ "transformer.h.7.attn.qkv_proj.weight": "pytorch_model-00003-of-00009.bin",
146
+ "transformer.h.7.ln_1.bias": "pytorch_model-00003-of-00009.bin",
147
+ "transformer.h.7.ln_1.weight": "pytorch_model-00003-of-00009.bin",
148
+ "transformer.h.7.mlp.fc_in.bias": "pytorch_model-00004-of-00009.bin",
149
+ "transformer.h.7.mlp.fc_in.weight": "pytorch_model-00004-of-00009.bin",
150
+ "transformer.h.7.mlp.fc_out.bias": "pytorch_model-00004-of-00009.bin",
151
+ "transformer.h.7.mlp.fc_out.weight": "pytorch_model-00004-of-00009.bin",
152
+ "transformer.h.8.attn.out_proj.weight": "pytorch_model-00004-of-00009.bin",
153
+ "transformer.h.8.attn.qkv_proj.weight": "pytorch_model-00004-of-00009.bin",
154
+ "transformer.h.8.ln_1.bias": "pytorch_model-00004-of-00009.bin",
155
+ "transformer.h.8.ln_1.weight": "pytorch_model-00004-of-00009.bin",
156
+ "transformer.h.8.mlp.fc_in.bias": "pytorch_model-00004-of-00009.bin",
157
+ "transformer.h.8.mlp.fc_in.weight": "pytorch_model-00004-of-00009.bin",
158
+ "transformer.h.8.mlp.fc_out.bias": "pytorch_model-00004-of-00009.bin",
159
+ "transformer.h.8.mlp.fc_out.weight": "pytorch_model-00004-of-00009.bin",
160
+ "transformer.h.9.attn.out_proj.weight": "pytorch_model-00004-of-00009.bin",
161
+ "transformer.h.9.attn.qkv_proj.weight": "pytorch_model-00004-of-00009.bin",
162
+ "transformer.h.9.ln_1.bias": "pytorch_model-00004-of-00009.bin",
163
+ "transformer.h.9.ln_1.weight": "pytorch_model-00004-of-00009.bin",
164
+ "transformer.h.9.mlp.fc_in.bias": "pytorch_model-00004-of-00009.bin",
165
+ "transformer.h.9.mlp.fc_in.weight": "pytorch_model-00004-of-00009.bin",
166
+ "transformer.h.9.mlp.fc_out.bias": "pytorch_model-00004-of-00009.bin",
167
+ "transformer.h.9.mlp.fc_out.weight": "pytorch_model-00004-of-00009.bin",
168
+ "transformer.ln_f.bias": "pytorch_model-00007-of-00009.bin",
169
+ "transformer.ln_f.weight": "pytorch_model-00007-of-00009.bin",
170
+ "transformer.wte.weight": "pytorch_model-00001-of-00009.bin"
171
+ }
172
+ }