GG2k4 commited on
Commit
5fc3ce0
1 Parent(s): 365622f

Upload tokenizer

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. special_tokens_map.json +28 -4
  3. tokenizer_config.json +7 -0
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- license: mit
3
  base_model: gpt2
 
4
  tags:
5
  - generated_from_trainer
6
  model-index:
 
1
  ---
 
2
  base_model: gpt2
3
+ license: mit
4
  tags:
5
  - generated_from_trainer
6
  model-index:
special_tokens_map.json CHANGED
@@ -1,6 +1,30 @@
1
  {
2
- "bos_token": "<|endoftext|>",
3
- "eos_token": "<|endoftext|>",
4
- "pad_token": "<|endoftext|>",
5
- "unk_token": "<|endoftext|>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  }
 
1
  {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
  }
tokenizer_config.json CHANGED
@@ -13,8 +13,15 @@
13
  "bos_token": "<|endoftext|>",
14
  "clean_up_tokenization_spaces": true,
15
  "eos_token": "<|endoftext|>",
 
16
  "model_max_length": 1024,
 
17
  "pad_token": "<|endoftext|>",
 
 
 
18
  "tokenizer_class": "GPT2Tokenizer",
 
 
19
  "unk_token": "<|endoftext|>"
20
  }
 
13
  "bos_token": "<|endoftext|>",
14
  "clean_up_tokenization_spaces": true,
15
  "eos_token": "<|endoftext|>",
16
+ "max_length": 512,
17
  "model_max_length": 1024,
18
+ "pad_to_multiple_of": null,
19
  "pad_token": "<|endoftext|>",
20
+ "pad_token_type_id": 0,
21
+ "padding_side": "right",
22
+ "stride": 0,
23
  "tokenizer_class": "GPT2Tokenizer",
24
+ "truncation_side": "right",
25
+ "truncation_strategy": "longest_first",
26
  "unk_token": "<|endoftext|>"
27
  }