adamjweintraut
commited on
Commit
•
c8015b7
1
Parent(s):
9787ea3
Upload tokenizer
Browse files- README.md +1 -1
- added_tokens.json +3 -0
- special_tokens_map.json +14 -35
- tokenizer.json +0 -0
- tokenizer_config.json +12 -0
- vocab.json +0 -0
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model: facebook/bart-large
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
6 |
model-index:
|
7 |
- name: bart-finetuned-loaf-512-lyrictoplan
|
8 |
results: []
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
+
base_model: facebook/bart-large
|
6 |
model-index:
|
7 |
- name: bart-finetuned-loaf-512-lyrictoplan
|
8 |
results: []
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<P>": 50265
|
3 |
+
}
|
special_tokens_map.json
CHANGED
@@ -1,25 +1,16 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"eos_token": {
|
17 |
-
"content": "</s>",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": true,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
},
|
23 |
"mask_token": {
|
24 |
"content": "<mask>",
|
25 |
"lstrip": true,
|
@@ -28,18 +19,6 @@
|
|
28 |
"single_word": false
|
29 |
},
|
30 |
"pad_token": "</s>",
|
31 |
-
"sep_token":
|
32 |
-
|
33 |
-
"lstrip": false,
|
34 |
-
"normalized": true,
|
35 |
-
"rstrip": false,
|
36 |
-
"single_word": false
|
37 |
-
},
|
38 |
-
"unk_token": {
|
39 |
-
"content": "<unk>",
|
40 |
-
"lstrip": false,
|
41 |
-
"normalized": true,
|
42 |
-
"rstrip": false,
|
43 |
-
"single_word": false
|
44 |
-
}
|
45 |
}
|
|
|
1 |
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<P>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
}
|
10 |
+
],
|
11 |
+
"bos_token": "<s>",
|
12 |
+
"cls_token": "<s>",
|
13 |
+
"eos_token": "</s>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
"mask_token": {
|
15 |
"content": "<mask>",
|
16 |
"lstrip": true,
|
|
|
19 |
"single_word": false
|
20 |
},
|
21 |
"pad_token": "</s>",
|
22 |
+
"sep_token": "</s>",
|
23 |
+
"unk_token": "<unk>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -40,8 +40,19 @@
|
|
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>",
|
@@ -52,5 +63,6 @@
|
|
52 |
"pad_token": "</s>",
|
53 |
"sep_token": "</s>",
|
54 |
"tokenizer_class": "BartTokenizer",
|
|
|
55 |
"unk_token": "<unk>"
|
56 |
}
|
|
|
40 |
"rstrip": false,
|
41 |
"single_word": false,
|
42 |
"special": true
|
43 |
+
},
|
44 |
+
"50265": {
|
45 |
+
"content": "<P>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": true
|
51 |
}
|
52 |
},
|
53 |
+
"additional_special_tokens": [
|
54 |
+
"<P>"
|
55 |
+
],
|
56 |
"bos_token": "<s>",
|
57 |
"clean_up_tokenization_spaces": true,
|
58 |
"cls_token": "<s>",
|
|
|
63 |
"pad_token": "</s>",
|
64 |
"sep_token": "</s>",
|
65 |
"tokenizer_class": "BartTokenizer",
|
66 |
+
"trim_offsets": true,
|
67 |
"unk_token": "<unk>"
|
68 |
}
|
vocab.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|