Li-Tang commited on
Commit
3b84bea
·
1 Parent(s): 82ea820

Upload tokenizer

Browse files
Files changed (3) hide show
  1. ice_text.model +3 -0
  2. special_tokens_map.json +5 -4
  3. tokenizer_config.json +19 -31
ice_text.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e974d9a69c242ce014c88c2b26089270f6198f3c0b700a887666cd3e816f17e
3
+ size 2706249
special_tokens_map.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
- "bos_token": "<|endoftext|>",
3
- "eos_token": "<|endoftext|>",
4
- "pad_token": "<|endoftext|>",
5
- "unk_token": "<|endoftext|>"
 
6
  }
 
1
  {
2
+ "bos_token": "<sop>",
3
+ "eos_token": "<eop>",
4
+ "mask_token": "[MASK]",
5
+ "pad_token": "<eop>",
6
+ "unk_token": "<unk>"
7
  }
tokenizer_config.json CHANGED
@@ -1,34 +1,22 @@
1
  {
2
- "add_bos_token": false,
3
- "add_prefix_space": false,
4
- "bos_token": {
5
- "__type": "AddedToken",
6
- "content": "<|endoftext|>",
7
- "lstrip": false,
8
- "normalized": true,
9
- "rstrip": false,
10
- "single_word": false
11
  },
12
- "eos_token": {
13
- "__type": "AddedToken",
14
- "content": "<|endoftext|>",
15
- "lstrip": false,
16
- "normalized": true,
17
- "rstrip": false,
18
- "single_word": false
19
- },
20
- "errors": "replace",
21
- "max_len": 1024,
22
- "model_max_length": 1024,
23
- "pad_token": null,
24
- "special_tokens_map_file": "/home/tangli/.cache/huggingface/hub/models--lvwerra--gpt2-imdb/snapshots/f1bfd819c6bee6c18fa5f95bfe88d9198839a435/special_tokens_map.json",
25
- "tokenizer_class": "GPT2Tokenizer",
26
- "unk_token": {
27
- "__type": "AddedToken",
28
- "content": "<|endoftext|>",
29
- "lstrip": false,
30
- "normalized": true,
31
- "rstrip": false,
32
- "single_word": false
33
- }
34
  }
 
1
  {
2
+ "auto_map": {
3
+ "AutoTokenizer": [
4
+ "THUDM/chatglm-6b--tokenization_chatglm.ChatGLMTokenizer",
5
+ null
6
+ ]
 
 
 
 
7
  },
8
+ "bos_token": "<sop>",
9
+ "clean_up_tokenization_spaces": true,
10
+ "do_lower_case": false,
11
+ "end_token": "</s>",
12
+ "eos_token": "<eop>",
13
+ "gmask_token": "[gMASK]",
14
+ "mask_token": "[MASK]",
15
+ "model_max_length": 2048,
16
+ "num_image_tokens": 0,
17
+ "pad_token": "<pad>",
18
+ "padding_side": "left",
19
+ "remove_space": false,
20
+ "tokenizer_class": "ChatGLMTokenizer",
21
+ "unk_token": "<unk>"
 
 
 
 
 
 
 
 
22
  }