adapt path
This commit is contained in:
parent
a732244687
commit
b9326ace1a
|
@ -112,7 +112,7 @@ class CT2CausalLM(Model):
|
|||
# Start CT2 - conversion
|
||||
out_dir = (
|
||||
Path(HUGGINGFACE_HUB_CACHE)
|
||||
/ f"ct2models-{model_id.replace('/','--')}--{ct2_compute_type}"
|
||||
/ "ct2models" / f"{model_id.replace('/','--')}--{ct2_compute_type}"
|
||||
)
|
||||
|
||||
if not os.path.exists(out_dir / "model.bin"):
|
||||
|
|
Loading…
Reference in New Issue