-
Hi! I hope you are doing well!
I am a newbie and here I am doing a prediction task using cosine similarity, in CosineSimilarityLoss
(https://github.com/UKPLab/sentence-transformers/blob/master/se…
-
code:
import os
from lightrag import LightRAG, QueryParam
from lightrag.llm import hf_model_complete, hf_embedding
from lightrag.utils import EmbeddingFunc
from transformers import AutoModel, A…
-
I've been having a tough time trying to get sentence-transformers running in a Docker container in Kobe. Locally all good but on kube I keep running into the issue below. We do have disk space allocat…
-
```sql
SELECT vectorize.table(
job_name => 'product_search_hf',
"table" => 'products',
primary_key => 'product_id',
columns => ARRAY['product_name', 'description'],
…
-
hello, I want to know I used this code, where did the model loaded? and How do I use SentenceTransformer to load local models?
from sentence_transformers import SentenceTransformer
encoder = Sent…
-
Feel free to use at much as possible of these tutorials but it is also a good excuse to review and re-write.
Some things to keep in mind:
- Start by identifying a real-world problem and/or datas…
-
Hi,
I have successfully install sentence_transformers, but I am unable to install:
```
Requirement already satisfied: six in c:\users\user\appdata\roaming\python\python37\site-packages (from sa…
-
I copy-pasted the two scripts [0][1] into a notebook without any changes. They produce different embeddings and different results.
HG gives:
`Cosine similarity between "I'm searching for a planet no…
-
No matter whether I load the local model or the gpt2-imdb model from huggingface, the following error is reported:
`
ValueError: GPTModelBranch does not support an attention implementation through t…
-
I have a large datasets that was encoded with Clip 32 but I cannot deploy that in ES because it uses the ClipTokenizer.
Is there a way to add this?