Skip to content

Commit

Permalink
Fix Kwargs (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
sindhuvahinis authored Jun 30, 2023
1 parent cfb23d8 commit 4bf965e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def preprocess_requests(self, requests):

def _init_model_and_tokenizer(self, kwargs, model_id_or_path):
self.config = AutoConfig.from_pretrained(model_id_or_path,
kwargs=kwargs)
**kwargs)
architectures = self.config.architectures
if architectures and architectures[0].endswith(
"ForConditionalGeneration"):
Expand Down

0 comments on commit 4bf965e

Please sign in to comment.