Upload 6 files
Browse files- config.json +31 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- special_tokens_map.json +5 -0
- tokenizer.json +75 -0
- tokenizer_config.json +34 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "gelu_new",
|
3 |
+
"architectures": [
|
4 |
+
"GPT2LMHeadModel"
|
5 |
+
],
|
6 |
+
"attn_pdrop": 0.1,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"embd_pdrop": 0.1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"layer_norm_epsilon": 1e-05,
|
12 |
+
"model_type": "gpt2",
|
13 |
+
"n_embd": 480,
|
14 |
+
"n_head": 20,
|
15 |
+
"n_inner": null,
|
16 |
+
"n_layer": 12,
|
17 |
+
"n_positions": 256,
|
18 |
+
"reorder_and_upcast_attn": false,
|
19 |
+
"resid_pdrop": 0.1,
|
20 |
+
"scale_attn_by_inverse_layer_idx": false,
|
21 |
+
"scale_attn_weights": true,
|
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 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.38.2",
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 10
|
31 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.38.2"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bc1430c97395689458a3c2d8f606e140950a040adc0b0d20ca712a100593990
|
3 |
+
size 133539320
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|bos|>",
|
3 |
+
"eos_token": "<|eos|>",
|
4 |
+
"pad_token": "<|pad|>"
|
5 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.0",
|
3 |
+
"truncation": null,
|
4 |
+
"padding": null,
|
5 |
+
"added_tokens": [
|
6 |
+
{
|
7 |
+
"id": 0,
|
8 |
+
"content": "<|pad|>",
|
9 |
+
"single_word": false,
|
10 |
+
"lstrip": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"special": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"id": 1,
|
17 |
+
"content": "<|bos|>",
|
18 |
+
"single_word": false,
|
19 |
+
"lstrip": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"normalized": false,
|
22 |
+
"special": true
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"id": 2,
|
26 |
+
"content": "<|eos|>",
|
27 |
+
"single_word": false,
|
28 |
+
"lstrip": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"special": true
|
32 |
+
}
|
33 |
+
],
|
34 |
+
"normalizer": null,
|
35 |
+
"pre_tokenizer": {
|
36 |
+
"type": "ByteLevel",
|
37 |
+
"add_prefix_space": false,
|
38 |
+
"trim_offsets": true,
|
39 |
+
"use_regex": true
|
40 |
+
},
|
41 |
+
"post_processor": {
|
42 |
+
"type": "ByteLevel",
|
43 |
+
"add_prefix_space": true,
|
44 |
+
"trim_offsets": true,
|
45 |
+
"use_regex": true
|
46 |
+
},
|
47 |
+
"decoder": {
|
48 |
+
"type": "ByteLevel",
|
49 |
+
"add_prefix_space": true,
|
50 |
+
"trim_offsets": true,
|
51 |
+
"use_regex": true
|
52 |
+
},
|
53 |
+
"model": {
|
54 |
+
"type": "BPE",
|
55 |
+
"dropout": null,
|
56 |
+
"unk_token": null,
|
57 |
+
"continuing_subword_prefix": null,
|
58 |
+
"end_of_word_suffix": null,
|
59 |
+
"fuse_unk": false,
|
60 |
+
"byte_fallback": false,
|
61 |
+
"vocab": {
|
62 |
+
"<|pad|>": 0,
|
63 |
+
"<|bos|>": 1,
|
64 |
+
"<|eos|>": 2,
|
65 |
+
"5": 3,
|
66 |
+
"3": 4,
|
67 |
+
"A": 5,
|
68 |
+
"T": 6,
|
69 |
+
"C": 7,
|
70 |
+
"G": 8,
|
71 |
+
"N": 9
|
72 |
+
},
|
73 |
+
"merges": []
|
74 |
+
}
|
75 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<|pad|>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<|bos|>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<|eos|>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"bos_token": "<|bos|>",
|
29 |
+
"clean_up_tokenization_spaces": true,
|
30 |
+
"eos_token": "<|eos|>",
|
31 |
+
"model_max_length": 1000000000000000019884624838656,
|
32 |
+
"pad_token": "<|pad|>",
|
33 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
34 |
+
}
|