hf_ez_sentence_similarity_local_inference | R Documentation |
Sentence Similarity Local Inference
hf_ez_sentence_similarity_local_inference( source_sentence, sentences, tidy = TRUE, ... )
source_sentence |
The string that you wish to compare the other strings with. This can be a phrase, sentence, or longer passage, depending on the model being used. |
sentences |
A list of strings which will be compared against the source_sentence. |
tidy |
Whether to tidy the results into a tibble. Default: TRUE (tidy the results) |
The results of the inference
https://huggingface.co/docs/transformers/main/en/pipeline_tutorial
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.