mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-02-02 23:23:11 +01:00
Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
e8588d7077
@ -17,7 +17,7 @@ class ExllamaModel:
|
|||||||
@classmethod
|
@classmethod
|
||||||
def from_pretrained(self, path_to_model):
|
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"
|
tokenizer_model_path = path_to_model / "tokenizer.model"
|
||||||
model_config_path = path_to_model / "config.json"
|
model_config_path = path_to_model / "config.json"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user