ncoop57
commited on
Commit
•
0a6a5c8
1
Parent(s):
b18a42e
Add java tokenizer
Browse files- added_tokens.json +7 -0
- merges.txt +0 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +10 -0
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<BOS>": 32770,
|
3 |
+
"<EOS>": 32771,
|
4 |
+
"<MASK>": 32768,
|
5 |
+
"<NEW_LINE>": 32772,
|
6 |
+
"<PAD>": 32769
|
7 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<BOS>",
|
3 |
+
"eos_token": "<EOS>",
|
4 |
+
"mask_token": "<MASK>",
|
5 |
+
"pad_token": "<PAD>",
|
6 |
+
"unk_token": "<|endoftext|>"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"eos_token": "<|endoftext|>",
|
5 |
+
"model_max_length": 1024,
|
6 |
+
"name_or_path": "gpt2",
|
7 |
+
"special_tokens_map_file": null,
|
8 |
+
"tokenizer_class": "GPT2Tokenizer",
|
9 |
+
"unk_token": "<|endoftext|>"
|
10 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|