Sentence Similarity
sentence-transformers
PyTorch
TensorFlow
Transformers
roberta
feature-extraction
Instructions to use Jainam/freeflow-biencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Jainam/freeflow-biencoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Jainam/freeflow-biencoder") 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] - Transformers
How to use Jainam/freeflow-biencoder with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Jainam/freeflow-biencoder") model = AutoModel.from_pretrained("Jainam/freeflow-biencoder") - Notebooks
- Google Colab
- Kaggle
Upload pytorch_model.bin
Browse files- pytorch_model.bin +3 -0
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afeae60c06644540514ac1137717e536b2f6701366bf2248f278fbd8e21e42cf
|
| 3 |
+
size 498661169
|