fix: skip glm model downloads (#322)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi
2024-11-13 08:45:28 +01:00
committed by GitHub
parent 2c0c439a44
commit c9341bf22e

View File

@@ -43,6 +43,7 @@ class GlmModel:
def __init__(self, options: GlmOptions):
self.options = options
if self.options.model_names != "":
load_pretrained_nlp_models()
self.model = init_nlp_model(model_names=self.options.model_names)