mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-01 21:20:29 +00:00
model-conversion : make causal-verify-logits fails with model names containing "." (#16215)
Signed-off-by: Jie Fu <jiefu@tencent.com>
This commit is contained in:
parent
152729f884
commit
63b54c81a6
2 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ def main():
|
|||
print(f"Error: Model file not found: {model_path}")
|
||||
sys.exit(1)
|
||||
|
||||
model_name = os.path.splitext(os.path.basename(model_path))[0]
|
||||
model_name = os.path.basename(model_path)
|
||||
data_dir = Path("data")
|
||||
|
||||
pytorch_file = data_dir / f"pytorch-{model_name}.bin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue