Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
oobabooga 2023-06-18 15:23:38 -03:00
commit e8588d7077

View file

@ -17,7 +17,7 @@ class ExllamaModel:
@classmethod
def from_pretrained(self, path_to_model):
path_to_model = Path("models") / Path(path_to_model)
path_to_model = Path(f'{shared.args.model_dir}') / Path(path_to_model)
tokenizer_model_path = path_to_model / "tokenizer.model"
model_config_path = path_to_model / "config.json"