Skip to content

Commit

Permalink
Fix tokenizer mismatch bug between model and tokenizer for THUDM/glm-…
Browse files Browse the repository at this point in the history
…4-9b example
  • Loading branch information
darkSuperman committed Dec 17, 2024
1 parent 67cab7d commit e64b0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candle-examples/examples/glm4/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ fn main() -> anyhow::Result<()> {
let tokenizer_filename = match args.tokenizer {
Some(file) => std::path::PathBuf::from(file),
None => api
.model("THUDM/codegeex4-all-9b".to_string())
.model("THUDM/glm-4-9b".to_string())
.get("tokenizer.json")
.map_err(anyhow::Error::msg)?,
};
Expand Down

0 comments on commit e64b0a7

Please sign in to comment.