Sentence Similarity
sentence-transformers
Safetensors
English
roberta
datadreamer
datadreamer-0.35.0
Synthetic
feature-extraction
text-embeddings-inference
Instructions to use StyleDistance/styledistance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use StyleDistance/styledistance with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("StyleDistance/styledistance") sentences = [ "Did you hear about the Wales wing? He'll h8 2 withdraw due 2 injuries from future competitions.", "We're raising funds 2 improve our school's storage facilities and add new playground equipment!", "Did you hear about the Wales wing? He'll hate to withdraw due to injuries from future competitions." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -70,4 +70,11 @@ print(cos_sim(input, others))
|
|
| 70 |
```
|
| 71 |
|
| 72 |
---
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
```
|
| 71 |
|
| 72 |
---
|
| 73 |
+
## Generated with DataDreamer
|
| 74 |
+
|
| 75 |
+
This model was trained with a synthetic dataset with [DataDreamer 🤖💤](https://datadreamer.dev). The synthetic dataset card and model card can be found [here](datadreamer.json). The training arguments can be found [here](training_args.json).
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
#### Funding Acknowledgements
|
| 79 |
+
|
| 80 |
+
<small> This research is supported in part by the Office of the Director of National Intelligence (ODNI), Intelligence Advanced Research Projects Activity (IARPA), via the HIATUS Program contract #2022-22072200005. The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies, either expressed or implied, of ODNI, IARPA, or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for governmental purposes notwithstanding any copyright annotation therein. </small>
|