-
Hi,
Below code is trowing error at
cdist(a1, a2, 'cosine')[0][0]
How can I measure cosine similarity between sentences. I can not provide all strings in single array and on shot.
from sente…
-
### Is your feature request related to a problem? Please describe.
Following #708 I developed some scraping code from github that downloads .py/.ipnyb for the ragproxy agent. I would like to find a…
-
I am trying to fine-tune a SentenceTransformer model on a retrieval dataset using a custom distance metric as the similarity function. My goal is to generate a token_embedding for the query and a sent…
-
Dear GPTCache Team,
we are a security research group. We've used GPTCache for a while and impressed by its design and speed, but as we studied further, more concerns about the security of GPTCache ha…
-
提问时请尽可能提供如下信息:
对于句子对任务中,如何分别提取每一个句子的Embedding层向量?
-
Hello,
As per the requirement of a chatbot, I feel it is important to have an algorithm which calculates the semantic similarity between the two sentences.
For example, In the existing code, sim…
-
Some Sentence Transformers sentence similarity models need to use the dot-product for computing the similarity between embeddings, such as some of the [MS-MARCO models on this page](https://www.sbert.…
-
### Feature request
HuggingFace now has a lot of Sentence Similarity models, but the pipeline does not yet support this: https://huggingface.co/docs/transformers/main_classes/pipelines
### Motivatio…
-
# Semantic Textual Similarity
## Task Objective
Evaluate the semantic understanding level of the models by comparing with the human-labeled sentence similarity. The task is part of the metatask http…
-