We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb1b3d4 commit 78642e6Copy full SHA for 78642e6
lib/informers/models.rb
@@ -132,7 +132,7 @@ def self.from_pretrained(
132
model_name = MODEL_CLASS_TO_NAME_MAPPING[self]
133
model_type = MODEL_TYPE_MAPPING[model_name]
134
135
- config = AutoConfig.from_pretrained(pretrained_model_name_or_path, **options)
+ config ||= AutoConfig.from_pretrained(pretrained_model_name_or_path, **options)
136
137
if model_type == MODEL_TYPES[:DecoderOnly]
138
info = [
0 commit comments