Commit
•
a9f7940
1
Parent(s):
fb03d85
Additional pre-processing
Browse files- config.json +3 -15
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"_num_labels": 1,
|
4 |
"activation_function": "gelu_new",
|
5 |
"architectures": [
|
6 |
"GPT2LMHeadModel"
|
@@ -10,33 +9,22 @@
|
|
10 |
"embd_pdrop": 0.1,
|
11 |
"eos_token_id": 50256,
|
12 |
"gradient_checkpointing": false,
|
13 |
-
"id2label": {
|
14 |
-
"0": "LABEL_0"
|
15 |
-
},
|
16 |
"initializer_range": 0.02,
|
17 |
-
"label2id": {
|
18 |
-
"LABEL_0": 0
|
19 |
-
},
|
20 |
"layer_norm_epsilon": 1e-05,
|
21 |
"model_type": "gpt2",
|
22 |
"n_ctx": 1024,
|
23 |
"n_embd": 768,
|
24 |
"n_head": 12,
|
25 |
"n_inner": null,
|
26 |
-
"n_layer":
|
27 |
"n_positions": 1024,
|
|
|
28 |
"resid_pdrop": 0.1,
|
29 |
"summary_activation": null,
|
30 |
"summary_first_dropout": 0.1,
|
31 |
"summary_proj_to_labels": true,
|
32 |
"summary_type": "cls_index",
|
33 |
"summary_use_proj": true,
|
34 |
-
"task_specific_params": {
|
35 |
-
"text-generation": {
|
36 |
-
"do_sample": true,
|
37 |
-
"max_length": 50
|
38 |
-
}
|
39 |
-
},
|
40 |
"use_cache": true,
|
41 |
"vocab_size": 50257
|
42 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "aitextgen/pytorch_model_124M.bin",
|
|
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
9 |
"embd_pdrop": 0.1,
|
10 |
"eos_token_id": 50256,
|
11 |
"gradient_checkpointing": false,
|
|
|
|
|
|
|
12 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
13 |
"layer_norm_epsilon": 1e-05,
|
14 |
"model_type": "gpt2",
|
15 |
"n_ctx": 1024,
|
16 |
"n_embd": 768,
|
17 |
"n_head": 12,
|
18 |
"n_inner": null,
|
19 |
+
"n_layer": 12,
|
20 |
"n_positions": 1024,
|
21 |
+
"n_vocab": 50257,
|
22 |
"resid_pdrop": 0.1,
|
23 |
"summary_activation": null,
|
24 |
"summary_first_dropout": 0.1,
|
25 |
"summary_proj_to_labels": true,
|
26 |
"summary_type": "cls_index",
|
27 |
"summary_use_proj": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
"use_cache": true,
|
29 |
"vocab_size": 50257
|
30 |
}
|
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:d21d00d85c6480c4c688a0bd0b8a0ef2ed3a5c6efb2fd30452644b6f4a152147
|
3 |
+
size 510404202
|