File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
examples/models/llama2/tokenizer Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ _get_default_special_tokens() {
23
23
" <|end_of_text|>" ,
24
24
" <|reserved_special_token_0|>" ,
25
25
" <|reserved_special_token_1|>" ,
26
- " <|reserved_special_token_2 |>" ,
27
- " <|reserved_special_token_3 |>" ,
26
+ " <|finetune_right_pad_id |>" ,
27
+ " <|step_id |>" ,
28
28
" <|start_header_id|>" ,
29
29
" <|end_header_id|>" ,
30
- " <|reserved_special_token_4 |>" ,
31
- " <|eot_id|>" });
32
-
30
+ " <|eom_id |>" ,
31
+ " <|eot_id|>" ,
32
+ " <|python_tag|> " });
33
33
// pad the rest of the special tokens with reserved tokens
34
- ssize_t reserved_special_token_num = 5 ;
34
+ ssize_t reserved_special_token_num = 2 ;
35
35
while (special_tokens->size () < kSpecialTokensSize ) {
36
36
special_tokens->emplace_back (
37
37
" <|reserved_special_token_" +
You can’t perform that action at this time.
0 commit comments