Sentence Similarity
sentence-transformers
PyTorch
English
mpnet
feature-extraction
text-embeddings-inference
Instructions to use dell-research-harvard/same-story with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dell-research-harvard/same-story with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dell-research-harvard/same-story") 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
Download binary_classification_evaluation_results.csv from dell-research-harvard/same-story: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/dell-research-harvard/same-story/resolve/main/binary_classification_evaluation_results.csv
- Command line
-
hf download hf://dell-research-harvard/same-story/binary_classification_evaluation_results.csv
-
curl -L -o binary_classification_evaluation_results.csv https://huggingface.co/dell-research-harvard/same-story/resolve/main/binary_classification_evaluation_results.csv
1.02 kB
| epoch,steps,cossim_accuracy,cossim_accuracy_threshold,cossim_f1,cossim_precision,cossim_recall,cossim_f1_threshold,cossim_ap,manhattan_accuracy,manhattan_accuracy_threshold,manhattan_f1,manhattan_precision,manhattan_recall,manhattan_f1_threshold,manhattan_ap,euclidean_accuracy,euclidean_accuracy_threshold,euclidean_f1,euclidean_precision,euclidean_recall,euclidean_f1_threshold,euclidean_ap,dot_accuracy,dot_accuracy_threshold,dot_f1,dot_precision,dot_recall,dot_f1_threshold,dot_ap | |
| 0,0,0.8528985507246377,0.5643866062164307,0.8535031847133758,0.8322981366459627,0.8758169934640523,0.5462256669998169,0.9276589600590907,0.8521739130434782,20.129085540771484,0.852145690587811,0.8463467048710601,0.8580246913580247,20.282062530517578,0.9270091456160023,0.8528985507246377,0.933395266532898,0.8535031847133758,0.8322981366459627,0.8758169934640523,0.9526532292366028,0.9276589390241142,0.8528985507246377,0.5643866062164307,0.8535031847133758,0.8322981366459627,0.8758169934640523,0.5462256669998169,0.9276590144957091 | |