File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ def main():
215
215
response = response .replace ('|<end>|' , '' )
216
216
_clear_screen ()
217
217
print (f"\n User: { query } " )
218
- print (f"\n Qwen -Chat: { response } " )
218
+ print (f"\CodeShell -Chat: { response } " )
219
219
except KeyboardInterrupt :
220
220
print ('[WARNING] Generation interrupted' )
221
221
continue
Original file line number Diff line number Diff line change 173
173
"rstrip": false,
174
174
"normalized": false,
175
175
"special": true
176
+ },
177
+ {
178
+ "id": 70019,
179
+ "content": "<|end|>",
180
+ "single_word": false,
181
+ "lstrip": false,
182
+ "rstrip": false,
183
+ "normalized": false,
184
+ "special": true
176
185
}
177
186
],
178
187
"normalizer": null,
Original file line number Diff line number Diff line change 19
19
" <commit_before>" ,
20
20
" <commit_msg>" ,
21
21
" <commit_after>" ,
22
- " <reponame>"
22
+ " <reponame>" ,
23
+ " <|end|>"
23
24
],
24
25
"bos_token" : " <|endoftext|>" ,
25
26
"clean_up_tokenization_spaces" : true ,
26
27
"eos_token" : " <|endoftext|>" ,
27
28
"model_max_length" : 8192 ,
28
29
"tokenizer_class" : " GPT2Tokenizer" ,
29
30
"unk_token" : " <|endoftext|>" ,
30
- "vocab_size" : 70019 ,
31
+ "vocab_size" : 70020 ,
31
32
"pad_token" : " <|endoftext|>"
32
33
}
You can’t perform that action at this time.
0 commit comments