Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BeachWang committed Dec 17, 2024
1 parent c749dcd commit c7df0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ops/mapper/test_query_intent_detection_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_default(self):
hf_model = self.hf_model,
zh_to_en_hf_model = self.zh_to_en_hf_model,
)
self._run_op(op, samples, MetaKeys.query_sentiment_label, targets)
self._run_op(op, samples, MetaKeys.query_intent_label, targets)

def test_no_zh_to_en(self):

Expand All @@ -56,7 +56,7 @@ def test_no_zh_to_en(self):
hf_model = self.hf_model,
zh_to_en_hf_model = None,
)
self._run_op(op, samples, MetaKeys.query_sentiment_label, targets)
self._run_op(op, samples, MetaKeys.query_intent_label, targets)

if __name__ == '__main__':
unittest.main()

0 comments on commit c7df0bc

Please sign in to comment.