summaryrefslogtreecommitdiff
path: root/candle-examples/examples/stable-lm/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-examples/examples/stable-lm/main.rs')
-rw-r--r--candle-examples/examples/stable-lm/main.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/candle-examples/examples/stable-lm/main.rs b/candle-examples/examples/stable-lm/main.rs
index abe7020c..f467903a 100644
--- a/candle-examples/examples/stable-lm/main.rs
+++ b/candle-examples/examples/stable-lm/main.rs
@@ -239,14 +239,7 @@ fn main() -> Result<()> {
));
let tokenizer_filename = match args.tokenizer_file {
Some(file) => std::path::PathBuf::from(file),
- None => match args.which {
- Which::V1Orig | Which::V1 | Which::V1Zephyr | Which::Code => {
- repo.get("tokenizer.json")?
- }
- Which::V2 | Which::V2Zephyr => api
- .model("lmz/candle-stablelm".to_string())
- .get("tokenizer-gpt4.json")?,
- },
+ None => repo.get("tokenizer.json")?,
};
let filenames = match args.weight_files {
Some(files) => files