Chydfile
commited on
Commit
•
5cc48ef
1
Parent(s):
e9a7351
First model version_15
Browse files- config.json +18 -6
- flax_model.msgpack +0 -3
- merges.txt +0 -0
- pytorch_model.bin +2 -2
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"activation_function": "gelu_new",
|
3 |
"architectures": [
|
4 |
"GPT2LMHeadModel"
|
@@ -8,20 +9,31 @@
|
|
8 |
"embd_pdrop": 0.1,
|
9 |
"eos_token_id": 50256,
|
10 |
"gradient_checkpointing": false,
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
12 |
"layer_norm_epsilon": 1e-05,
|
13 |
"model_type": "gpt2",
|
14 |
-
"n_ctx":
|
15 |
-
"n_embd":
|
16 |
-
"n_head":
|
17 |
"n_inner": null,
|
18 |
-
"n_layer":
|
19 |
-
"n_positions":
|
|
|
20 |
"resid_pdrop": 0.1,
|
|
|
21 |
"summary_activation": null,
|
22 |
"summary_first_dropout": 0.1,
|
23 |
"summary_proj_to_labels": true,
|
24 |
"summary_type": "cls_index",
|
25 |
"summary_use_proj": true,
|
26 |
-
"
|
|
|
|
|
|
|
27 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "sberbank-ai/rugpt2large",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
9 |
"embd_pdrop": 0.1,
|
10 |
"eos_token_id": 50256,
|
11 |
"gradient_checkpointing": false,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0"
|
14 |
+
},
|
15 |
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
"layer_norm_epsilon": 1e-05,
|
20 |
"model_type": "gpt2",
|
21 |
+
"n_ctx": 1024,
|
22 |
+
"n_embd": 1280,
|
23 |
+
"n_head": 20,
|
24 |
"n_inner": null,
|
25 |
+
"n_layer": 36,
|
26 |
+
"n_positions": 1024,
|
27 |
+
"output_past": true,
|
28 |
"resid_pdrop": 0.1,
|
29 |
+
"scale_attn_weights": true,
|
30 |
"summary_activation": null,
|
31 |
"summary_first_dropout": 0.1,
|
32 |
"summary_proj_to_labels": true,
|
33 |
"summary_type": "cls_index",
|
34 |
"summary_use_proj": true,
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.10.3",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 50257
|
39 |
}
|
flax_model.msgpack
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:322182be41c143f2f8ecd8b9e76018d09ae5ca4c752b8858a257811bb4c5f5da
|
3 |
-
size 500931352
|
|
|
|
|
|
|
|
merges.txt
DELETED
The diff for this file is too large to render.
See raw diff
|
|
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:18c57ed38e675907191e0caba58e83af0dcd6ffd3849d512495d9ef73e6b32fe
|
3 |
+
size 3134058823
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"errors": "replace", "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "sberbank-ai/rugpt2large", "tokenizer_class": "GPT2Tokenizer"}
|
vocab.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|