Sentence Similarity
sentence-transformers
PyTorch
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use Akshayextreme/SemEval_2015_PIT_biencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Akshayextreme/SemEval_2015_PIT_biencoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Akshayextreme/SemEval_2015_PIT_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 Akshayextreme/SemEval_2015_PIT_biencoder with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Akshayextreme/SemEval_2015_PIT_biencoder") model = AutoModel.from_pretrained("Akshayextreme/SemEval_2015_PIT_biencoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.39ce9aa
-
Upload 1_Pooling with huggingface_hub
769cbcb -
Pushing trained model
Model trained modele907b10 -
Pushing trained model
Model trained model505e785 -
Pushing trained model
Model trained model55da902 -
Pushing trained model
Model trained modeld7af69b -
Pushing trained model
Model trained model40ed0e1 -
Pushing trained model
Model trained model8b7848d -
Pushing trained model
Model trained model853480b -
Pushing trained model
Model trained model03e54ac -
Pushing trained model
Model trained modelde88857 -
Pushing trained model
Model trained modelb103faa -
Upload 1_Pooling with huggingface_hub
232a872 -
Pushing trained model
Model trained model6742907 -
Pushing trained model
Model trained model0380e06 -
Pushing trained model
Model trained model6efb866 -
Pushing trained model
Model trained model1e2235c -
Pushing trained model
Model trained model2b13af9 -
Pushing trained model
Model trained model6f68ac2 -
Pushing trained model
Model trained model1b4e716 -
Pushing trained model
Model trained modele8cbcbe -
Pushing trained model
Model trained modelefe33c9 -
Pushing trained model
Model trained model286aafa -
Pushing trained model
Model trained modelb9a67f9 -
Pushing trained model
Model trained model9d195f1 -
Pushing trained model
Model trained model7afdbde -
Pushing trained model
Model trained model48c1861 -
Pushing trained model
Model trained model48c7f5c -
Pushing trained model
Model trained modela4d46b1 -
Pushing trained model
Model trained modelfa9aa9a -
Pushing trained model
Model trained model1776d8f -
Pushing trained model
Model trained model0dd27cb -
Pushing trained model
Model trained modelf369de9 -
Pushing trained model
Model trained modela4136c7 -
Pushing trained model
Model trained model7f67846 -
initial commit
357bc53