Skip to content

Commit

Permalink
rerun lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanbo Liu committed Mar 22, 2024
1 parent 46c0249 commit 2a8a8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtimes/huggingface/mlserver_huggingface/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class StEmbeddingPipeline(Pipeline):
"""A custom huggingface pipeline that wraps sentence transformers embedder"""

def __init__(self, model: AutoModel, tokenizer: AutoTokenizer, **kwargs):
# This tokenzier is not being used.sentence-transformers model contains a tokenizer
#self.tokenzier is not being used.sentence-transformers model has a tokenizer
self.tokenizer = tokenizer
(
self._preprocess_params,
Expand Down

0 comments on commit 2a8a8cb

Please sign in to comment.