NeuraCraft commited on
Commit
19e652e
·
1 Parent(s): c120850

Upload tokenizer

Browse files
Files changed (2) hide show
  1. tokenizer.json +16 -2
  2. tokenizer_config.json +7 -0
tokenizer.json CHANGED
@@ -1,7 +1,21 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 100256,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 512,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
+ "padding": {
10
+ "strategy": {
11
+ "Fixed": 512
12
+ },
13
+ "direction": "Right",
14
+ "pad_to_multiple_of": null,
15
+ "pad_id": 100257,
16
+ "pad_type_id": 0,
17
+ "pad_token": "<|endoftext|>"
18
+ },
19
  "added_tokens": [
20
  {
21
  "id": 100256,
tokenizer_config.json CHANGED
@@ -198,8 +198,15 @@
198
  "clean_up_tokenization_spaces": true,
199
  "eos_token": "<|endoftext|>",
200
  "extra_special_tokens": {},
 
201
  "model_max_length": 1000000000000000019884624838656,
 
202
  "pad_token": "<|endoftext|>",
 
 
 
203
  "tokenizer_class": "GPT2Tokenizer",
 
 
204
  "unk_token": "<|endoftext|>"
205
  }
 
198
  "clean_up_tokenization_spaces": true,
199
  "eos_token": "<|endoftext|>",
200
  "extra_special_tokens": {},
201
+ "max_length": 512,
202
  "model_max_length": 1000000000000000019884624838656,
203
+ "pad_to_multiple_of": null,
204
  "pad_token": "<|endoftext|>",
205
+ "pad_token_type_id": 0,
206
+ "padding_side": "right",
207
+ "stride": 0,
208
  "tokenizer_class": "GPT2Tokenizer",
209
+ "truncation_side": "right",
210
+ "truncation_strategy": "longest_first",
211
  "unk_token": "<|endoftext|>"
212
  }