mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 18:28:24 +00:00
Starcoder fix (#264)
* Bugfix for starcoder. * Get some proper code generation. * Slightly simpler softmax.
This commit is contained in:
@ -127,7 +127,7 @@ fn main() -> Result<()> {
|
||||
));
|
||||
let tokenizer_filename = repo.get("tokenizer.json")?;
|
||||
let filenames = match args.weight_file {
|
||||
Some(weight_file) => vec![std::path::PathBuf::from(weight_file.clone())],
|
||||
Some(weight_file) => vec![std::path::PathBuf::from(weight_file)],
|
||||
None => {
|
||||
let repo_filenames: Vec<String> = vec![];
|
||||
repo_filenames
|
||||
|
Reference in New Issue
Block a user