hojjatkarami
commited on
Commit
•
d54c7e5
1
Parent(s):
4d3cfb8
push
Browse files- config.json +36 -0
- generation_config.json +4 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +6 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai-gpt",
|
3 |
+
"afn": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"OpenAIGPTLMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"do_sample": true,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"layer_norm_epsilon": 1e-05,
|
12 |
+
"max_length": 50,
|
13 |
+
"model_type": "openai-gpt",
|
14 |
+
"n_ctx": 512,
|
15 |
+
"n_embd": 768,
|
16 |
+
"n_head": 12,
|
17 |
+
"n_layer": 12,
|
18 |
+
"n_positions": 512,
|
19 |
+
"n_special": 0,
|
20 |
+
"predict_special_tokens": true,
|
21 |
+
"resid_pdrop": 0.1,
|
22 |
+
"summary_activation": null,
|
23 |
+
"summary_first_dropout": 0.1,
|
24 |
+
"summary_proj_to_labels": true,
|
25 |
+
"summary_type": "cls_index",
|
26 |
+
"summary_use_proj": true,
|
27 |
+
"task_specific_params": {
|
28 |
+
"text-generation": {
|
29 |
+
"do_sample": true,
|
30 |
+
"max_length": 50
|
31 |
+
}
|
32 |
+
},
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.27.3",
|
35 |
+
"vocab_size": 40478
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"transformers_version": "4.27.3"
|
4 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:259aef1f2d1a1def93c8d2a293d537c5bafda6d9854bb2b2b347927d6ba3c25b
|
3 |
+
size 478775753
|
special_tokens_map.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"unk_token": "<unk>"
|
3 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_max_length": 512,
|
3 |
+
"special_tokens_map_file": null,
|
4 |
+
"tokenizer_class": "OpenAIGPTTokenizer",
|
5 |
+
"unk_token": "<unk>"
|
6 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|