Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
dense
Generated from Trainer
dataset_size:6000
loss:ContrastiveLoss
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run IrisCHEN04/Sentence-Transformer_Roberta_Reddit_ed on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/IrisCHEN04/Sentence-Transformer_Roberta_Reddit_ed. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/IrisCHEN04/Sentence-Transformer_Roberta_Reddit_ed on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use IrisCHEN04/Sentence-Transformer_Roberta_Reddit_ed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use IrisCHEN04/Sentence-Transformer_Roberta_Reddit_ed with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("IrisCHEN04/Sentence-Transformer_Roberta_Reddit_ed") sentences = [ " \"you only have minor depression \\[I didn't\\], why are you acting so miserable?\" Or by reminding me of the damage I was causing my loved ones like saying \"you're selfish, cruel and tearing this family apart", " (I have lost my period a couple more times in the past during my ED and in early recovery", " I find myself angry when people keep commenting and questioning me about eating and weight loss!! At first I was angry because they were acting like I was starving myself, but now I'm seeing that maybe I am", " My now two-year long treatment is already being held back by my attachment to my eating disorder, and I know a hospitalisation is just going trigger me into being more defensive of it" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!