add model
Browse files- config.json +34 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai-gpt",
|
3 |
+
"afn": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"OpenAIGPTLMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"embd_pdrop": 0.1,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"layer_norm_epsilon": 1e-05,
|
11 |
+
"model_type": "openai-gpt",
|
12 |
+
"n_ctx": 512,
|
13 |
+
"n_embd": 768,
|
14 |
+
"n_head": 12,
|
15 |
+
"n_layer": 12,
|
16 |
+
"n_positions": 512,
|
17 |
+
"n_special": 0,
|
18 |
+
"predict_special_tokens": true,
|
19 |
+
"resid_pdrop": 0.1,
|
20 |
+
"summary_activation": null,
|
21 |
+
"summary_first_dropout": 0.1,
|
22 |
+
"summary_proj_to_labels": true,
|
23 |
+
"summary_type": "cls_index",
|
24 |
+
"summary_use_proj": true,
|
25 |
+
"task_specific_params": {
|
26 |
+
"text-generation": {
|
27 |
+
"do_sample": true,
|
28 |
+
"max_length": 50
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.12.5",
|
33 |
+
"vocab_size": 40478
|
34 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6761e8ac39755144c0e27fad6030c197650759b25dbcec1145678c2f8643b1e
|
3 |
+
size 478781507
|