Skip to content

Commit

Permalink
add <|fim_pad|> for extra_stop_tokens of qwen
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Dec 3, 2024
1 parent 55e6af1 commit bfabbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/known_models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ pub const KNOWN_MODELS: &str = r####"
"fim_suffix": "<|fim_suffix|>",
"fim_middle": "<|fim_middle|>",
"eot": "<|endoftext|>",
"extra_stop_tokens": ["<|repo_name|>", "<|file_sep|>"],
"extra_stop_tokens": ["<|repo_name|>", "<|file_sep|>", "<|fim_pad|>"],
"context_format": "qwen2.5",
"rag_ratio": 0.5
}
Expand Down

0 comments on commit bfabbeb

Please sign in to comment.