Upload 6 files
Browse files- config.json +1 -1
- model.safetensors +3 -0
- special_tokens_map.json +9 -1
- tokenizer.json +134 -5
- tokenizer_config.json +50 -1
- unigram.json +0 -0
config.json
CHANGED
@@ -69,7 +69,7 @@
|
|
69 |
}
|
70 |
},
|
71 |
"torch_dtype": "float32",
|
72 |
-
"transformers_version": "4.
|
73 |
"use_cache": true,
|
74 |
"vocab_size": 32017
|
75 |
}
|
|
|
69 |
}
|
70 |
},
|
71 |
"torch_dtype": "float32",
|
72 |
+
"transformers_version": "4.42.4",
|
73 |
"use_cache": true,
|
74 |
"vocab_size": 32017
|
75 |
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3481c436d3568ea47041e51b6ad80b70a3657fcccffc1c21282da2b80fe1acd
|
3 |
+
size 501652064
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,15 @@
|
|
1 |
{
|
2 |
"bos_token": "<s>",
|
|
|
3 |
"eos_token": "</s>",
|
4 |
-
"mask_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"pad_token": "<pad>",
|
|
|
6 |
"unk_token": "<unk>"
|
7 |
}
|
|
|
1 |
{
|
2 |
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
"unk_token": "<unk>"
|
15 |
}
|
tokenizer.json
CHANGED
@@ -2,7 +2,53 @@
|
|
2 |
"version": "1.0",
|
3 |
"truncation": null,
|
4 |
"padding": null,
|
5 |
-
"added_tokens": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"normalizer": {
|
7 |
"type": "Sequence",
|
8 |
"normalizers": [
|
@@ -22,13 +68,95 @@
|
|
22 |
"pre_tokenizer": {
|
23 |
"type": "Metaspace",
|
24 |
"replacement": "▁",
|
25 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
"post_processor": null,
|
28 |
"decoder": {
|
29 |
"type": "Metaspace",
|
30 |
"replacement": "▁",
|
31 |
-
"
|
|
|
32 |
},
|
33 |
"model": {
|
34 |
"type": "Unigram",
|
@@ -128102,6 +128230,7 @@
|
|
128102 |
"<mask>",
|
128103 |
0.0
|
128104 |
]
|
128105 |
-
]
|
|
|
128106 |
}
|
128107 |
}
|
|
|
2 |
"version": "1.0",
|
3 |
"truncation": null,
|
4 |
"padding": null,
|
5 |
+
"added_tokens": [
|
6 |
+
{
|
7 |
+
"id": 0,
|
8 |
+
"content": "<s>",
|
9 |
+
"single_word": false,
|
10 |
+
"lstrip": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"special": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"id": 1,
|
17 |
+
"content": "<pad>",
|
18 |
+
"single_word": false,
|
19 |
+
"lstrip": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"normalized": false,
|
22 |
+
"special": true
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"id": 2,
|
26 |
+
"content": "</s>",
|
27 |
+
"single_word": false,
|
28 |
+
"lstrip": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"special": true
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"id": 3,
|
35 |
+
"content": "<unk>",
|
36 |
+
"single_word": false,
|
37 |
+
"lstrip": false,
|
38 |
+
"rstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"special": true
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"id": 32016,
|
44 |
+
"content": "<mask>",
|
45 |
+
"single_word": false,
|
46 |
+
"lstrip": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"normalized": true,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
+
],
|
52 |
"normalizer": {
|
53 |
"type": "Sequence",
|
54 |
"normalizers": [
|
|
|
68 |
"pre_tokenizer": {
|
69 |
"type": "Metaspace",
|
70 |
"replacement": "▁",
|
71 |
+
"prepend_scheme": "always",
|
72 |
+
"split": true
|
73 |
+
},
|
74 |
+
"post_processor": {
|
75 |
+
"type": "TemplateProcessing",
|
76 |
+
"single": [
|
77 |
+
{
|
78 |
+
"SpecialToken": {
|
79 |
+
"id": "<s>",
|
80 |
+
"type_id": 0
|
81 |
+
}
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"Sequence": {
|
85 |
+
"id": "A",
|
86 |
+
"type_id": 0
|
87 |
+
}
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"SpecialToken": {
|
91 |
+
"id": "</s>",
|
92 |
+
"type_id": 0
|
93 |
+
}
|
94 |
+
}
|
95 |
+
],
|
96 |
+
"pair": [
|
97 |
+
{
|
98 |
+
"SpecialToken": {
|
99 |
+
"id": "<s>",
|
100 |
+
"type_id": 0
|
101 |
+
}
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"Sequence": {
|
105 |
+
"id": "A",
|
106 |
+
"type_id": 0
|
107 |
+
}
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"SpecialToken": {
|
111 |
+
"id": "</s>",
|
112 |
+
"type_id": 0
|
113 |
+
}
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"SpecialToken": {
|
117 |
+
"id": "</s>",
|
118 |
+
"type_id": 0
|
119 |
+
}
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"Sequence": {
|
123 |
+
"id": "B",
|
124 |
+
"type_id": 1
|
125 |
+
}
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"SpecialToken": {
|
129 |
+
"id": "</s>",
|
130 |
+
"type_id": 1
|
131 |
+
}
|
132 |
+
}
|
133 |
+
],
|
134 |
+
"special_tokens": {
|
135 |
+
"</s>": {
|
136 |
+
"id": "</s>",
|
137 |
+
"ids": [
|
138 |
+
2
|
139 |
+
],
|
140 |
+
"tokens": [
|
141 |
+
"</s>"
|
142 |
+
]
|
143 |
+
},
|
144 |
+
"<s>": {
|
145 |
+
"id": "<s>",
|
146 |
+
"ids": [
|
147 |
+
0
|
148 |
+
],
|
149 |
+
"tokens": [
|
150 |
+
"<s>"
|
151 |
+
]
|
152 |
+
}
|
153 |
+
}
|
154 |
},
|
|
|
155 |
"decoder": {
|
156 |
"type": "Metaspace",
|
157 |
"replacement": "▁",
|
158 |
+
"prepend_scheme": "always",
|
159 |
+
"split": true
|
160 |
},
|
161 |
"model": {
|
162 |
"type": "Unigram",
|
|
|
128230 |
"<mask>",
|
128231 |
0.0
|
128232 |
]
|
128233 |
+
],
|
128234 |
+
"byte_fallback": false
|
128235 |
}
|
128236 |
}
|
tokenizer_config.json
CHANGED
@@ -1,8 +1,57 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token": "<s>",
|
|
|
|
|
3 |
"eos_token": "</s>",
|
|
|
4 |
"mask_token": "<mask>",
|
|
|
5 |
"pad_token": "<pad>",
|
6 |
-
"
|
|
|
|
|
7 |
"unk_token": "<unk>"
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"32016": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": true,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 1000000000000000019884624838656,
|
52 |
"pad_token": "<pad>",
|
53 |
+
"sep_token": "</s>",
|
54 |
+
"tokenizer_class": "BartTokenizer",
|
55 |
+
"trim_offsets": true,
|
56 |
"unk_token": "<unk>"
|
57 |
}
|
unigram.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|