AlexWortega
commited on
Commit
•
fb64177
1
Parent(s):
138400c
Upload model
Browse files- config.json +36 -21
- generation_config.json +3 -5
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,27 +1,42 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"
|
4 |
-
"activation_function": "gelu",
|
5 |
"architectures": [
|
6 |
-
"
|
7 |
],
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
|
14 |
-
|
15 |
-
"
|
16 |
-
"
|
17 |
-
|
18 |
-
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
"torch_dtype": "float32",
|
24 |
-
"transformers_version": "4.
|
25 |
"use_cache": true,
|
26 |
-
"vocab_size":
|
27 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "ckpts11/sft_0_70000/",
|
3 |
+
"activation_function": "gelu_new",
|
|
|
4 |
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0"
|
13 |
+
},
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"label2id": {
|
16 |
+
"LABEL_0": 0
|
17 |
+
},
|
18 |
+
"layer_norm_epsilon": 1e-05,
|
19 |
+
"model_type": "gpt2",
|
20 |
+
"n_ctx": 2048,
|
21 |
+
"n_embd": 1024,
|
22 |
+
"n_head": 16,
|
23 |
+
"n_inner": null,
|
24 |
+
"n_layer": 24,
|
25 |
+
"n_positions": 2048,
|
26 |
+
"n_special": 0,
|
27 |
+
"output_past": true,
|
28 |
+
"predict_special_tokens": true,
|
29 |
+
"reorder_and_upcast_attn": false,
|
30 |
+
"resid_pdrop": 0.1,
|
31 |
+
"scale_attn_by_inverse_layer_idx": false,
|
32 |
+
"scale_attn_weights": true,
|
33 |
+
"summary_activation": null,
|
34 |
+
"summary_first_dropout": 0.1,
|
35 |
+
"summary_proj_to_labels": true,
|
36 |
+
"summary_type": "cls_index",
|
37 |
+
"summary_use_proj": true,
|
38 |
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.26.1",
|
40 |
"use_cache": true,
|
41 |
+
"vocab_size": 50263
|
42 |
}
|
generation_config.json
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"pad_token_id": 1,
|
7 |
-
"transformers_version": "4.27.1"
|
8 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.26.1"
|
|
|
|
|
6 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b837ae1527bcc55004db32326152cff1b8b360cfda5827d516b71ee8dbcda8ee
|
3 |
+
size 1524285725
|