Commit
·
8c7c0c7
1
Parent(s):
cc14bc2
add model
Browse files- config.json +4 -2
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "gpt2",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
@@ -17,7 +17,9 @@
|
|
17 |
"n_inner": null,
|
18 |
"n_layer": 12,
|
19 |
"n_positions": 1024,
|
|
|
20 |
"resid_pdrop": 0.1,
|
|
|
21 |
"scale_attn_weights": true,
|
22 |
"summary_activation": null,
|
23 |
"summary_first_dropout": 0.1,
|
@@ -31,7 +33,7 @@
|
|
31 |
}
|
32 |
},
|
33 |
"torch_dtype": "float32",
|
34 |
-
"transformers_version": "4.
|
35 |
"use_cache": true,
|
36 |
"vocab_size": 50257
|
37 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "ismaelfaro/gpt2-poems.en",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
17 |
"n_inner": null,
|
18 |
"n_layer": 12,
|
19 |
"n_positions": 1024,
|
20 |
+
"reorder_and_upcast_attn": false,
|
21 |
"resid_pdrop": 0.1,
|
22 |
+
"scale_attn_by_inverse_layer_idx": false,
|
23 |
"scale_attn_weights": true,
|
24 |
"summary_activation": null,
|
25 |
"summary_first_dropout": 0.1,
|
|
|
33 |
}
|
34 |
},
|
35 |
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.12.3",
|
37 |
"use_cache": true,
|
38 |
"vocab_size": 50257
|
39 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 510403817
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af222148d579a9c91a3a3c28a5cba20dda3a4587dafd3a24cca9e9ee3b34931c
|
3 |
size 510403817
|