diff --git a/src/huggingface_hub/inference/_generated/_async_client.py b/src/huggingface_hub/inference/_generated/_async_client.py index 852405828e..26b301bbd3 100644 --- a/src/huggingface_hub/inference/_generated/_async_client.py +++ b/src/huggingface_hub/inference/_generated/_async_client.py @@ -1594,9 +1594,6 @@ async def question_answering( output = QuestionAnsweringOutputElement.parse_obj(response) return output - @_deprecate_method( - version="0.33.0", message="Use `feature_extraction` instead and compute the sentence similarity locally." - ) async def sentence_similarity( self, sentence: str, other_sentences: List[str], *, model: Optional[str] = None ) -> List[float]: