Skip to content

Commit

Permalink
Merge pull request #10 from MinuraPunchihewa/development
Browse files Browse the repository at this point in the history
[PR] dev to main: added the options parameter to sentence_similarity_in_df
  • Loading branch information
MinuraPunchihewa authored Apr 29, 2023
2 parents 0d819cb + 0bb6edb commit e65095a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hugging_py_face/__about__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__title__ = 'hugging_py_face'
__package_name__ = 'hugging_py_face'
__version__ = '0.2.0'
__version__ = '0.2.1'
__description__ = "Hugging-Py-Face, the Python client for the Hugging Face Inference API."
__email__ = "[email protected]"
__author__ = 'Minura Punchihewa'
Expand Down
1 change: 1 addition & 0 deletions hugging_py_face/nlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def sentence_similarity_in_df(self, df: DataFrame, source_sentence_column: Text,
"source_sentence": row[source_sentence_column],
"sentences": [row[sentence_column]]
},
options=options,
model=model,
task='sentence-similarity'
)
Expand Down

0 comments on commit e65095a

Please sign in to comment.