Replies: 2 comments 1 reply
-
This is related to https://github.com/UKPLab/sentence-transformers/tree/master. Which version are you using? The README highlights the usage: from sentence_transformers import SentenceTransformer
model = SentenceTransformer("all-MiniLM-L6-v2")
sentences = [
"This framework generates embeddings for each input sentence",
"Sentences are passed as a list of string.",
"The quick brown fox jumps over the lazy dog.",
]
sentence_embeddings = model.encode(sentences) |
Beta Was this translation helpful? Give feedback.
-
Thank you, movie_x, movie_mapping = load_node_csv( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to use the SequenceEncoder class to encode string attribute values as you have used in loading CSV for heterogeneous graphs.
But I get the error:
Repository Not Found for url: https://huggingface.co/api/models/sentence-transformers/name.
Please make sure you specified the correct
repo_id
andrepo_type
.If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.
Should I have a username and password? is there any way to use it free? Or what other encoding I can use to encode string values?
This is the class I tried to use:
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions