mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Minor logging change
This commit is contained in:
parent
dfb01f9a63
commit
d02744282b
@ -242,6 +242,7 @@ def huggingface_loader(model_name):
|
|||||||
|
|
||||||
logger.info("TRANSFORMERS_PARAMS=")
|
logger.info("TRANSFORMERS_PARAMS=")
|
||||||
pprint.PrettyPrinter(indent=4, sort_dicts=False).pprint(params)
|
pprint.PrettyPrinter(indent=4, sort_dicts=False).pprint(params)
|
||||||
|
print()
|
||||||
model = LoaderClass.from_pretrained(path_to_model, **params)
|
model = LoaderClass.from_pretrained(path_to_model, **params)
|
||||||
|
|
||||||
return model
|
return model
|
||||||
|
Loading…
Reference in New Issue
Block a user