Sentence Similarity
sentence-transformers
English
bert
ctranslate2
int8
float16
mteb
Sentence Transformers
Eval Results (legacy)
text-embeddings-inference
Instructions to use michaelfeil/ct2fast-e5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use michaelfeil/ct2fast-e5-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("michaelfeil/ct2fast-e5-small") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Problems
#1
by ctranslate2-4you - opened
I sent a message on the GitHub as well, so please take a look at that. Basically, I cannot get any of these embedding models to work with C translate to. I keep getting various error messages like it must be in pie torch, format, or something like that. I've tried adding all of the original dock, JSON files and other files from the full size models. I've tried converting it with the exact same command, do you use. I tried for hours. Please let me know if you have any help.