Skip to content

Commit

Permalink
Add required load_tokenizer method to RobustnessScorer
Browse files Browse the repository at this point in the history
  • Loading branch information
morganmcg1 committed Feb 5, 2025
1 parent c6e981b commit 9cd5680
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions weave/scorers/robustness_scorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def load_model(self) -> None:

self.embedding_model = SentenceTransformer(self._local_model_path)

def load_tokenizer(self) -> None:
pass

@weave.op
def score(
self,
Expand Down

0 comments on commit 9cd5680

Please sign in to comment.