-
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…
-
The llm library offers support for working with embedding models through plugins such as [llm sentence transformers](https://github.com/simonw/llm-sentence-transformers)
I'm curious to know if there …
-
-
model = SentenceTransformer('distiluse-base-multilingual-cased')
sentence_embeddings = model.encode(['This framework generates embeddings for each input sentence']])
a1 = 1
for sentence, embeddin…
-
Hi! I followed the instructions for fine-tuning my corpus and (I think) managed to do so successfully after days of debugging. I have A LOT of implementation questions and the following is half-guide,…
-
I create a subclass of baseragassembeddings. because I already have all the embeddings for context, query, and question. I did this to not use the openai API key. because it is costly and also I want …
-
Hello,
I'm trying to setting up a local SentenceTransformerEmbeddingModel :
```
sentence_transformer = SentenceTransformerEmbeddingModel(name='my-embedding-model',
…
-
**Summary**
I am developping a tool which could read distance from billions of corpus in NLP. I think databend with OSS is a good idea for me. We don't have too much transaction but only write to the…
-
My dataset only has one sentence a line,How Can I get its embedding? Thanks in advance.
-
> Pre-computed embeddings of Contriever/MedCPT/SPECTER on PubMed/Textbooks/Wikipedia will be now be automatically downloaded when initializing a MedRAG object for the first time.
When running on M…