Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin committed Aug 9, 2023
1 parent f004546 commit 383f8c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/deepsparse/transformers/pipelines/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ def setup_onnx_file_path(self) -> str:
finetuning_task=self.task if hasattr(self, "task") else None,
)
self.tokenizer = AutoTokenizer.from_pretrained(
tokenizer_path,
trust_remote_code=self._trust_remote_code,
model_max_length=self.sequence_length
tokenizer_path,
trust_remote_code=self._trust_remote_code,
model_max_length=self.sequence_length,
)
self.config_path = os.path.join(config_path, "config.json")
self.tokenizer_config_path = os.path.join(tokenizer_path, "tokenizer.json")
Expand Down

0 comments on commit 383f8c0

Please sign in to comment.