Sentence Similarity
sentence-transformers
PyTorch
bert
feature-extraction
setfit classification
binary_classification
text-embeddings-inference
Run this model with HF Jobs
Run nayan06/binary-classifier-conversion-intent-1.0 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/nayan06/binary-classifier-conversion-intent-1.0. 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/nayan06/binary-classifier-conversion-intent-1.0 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 nayan06/binary-classifier-conversion-intent-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nayan06/binary-classifier-conversion-intent-1.0 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nayan06/binary-classifier-conversion-intent-1.0") 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
Update README.md
Browse files3 unmodified lines45678910111213141516171819202122232425262728293031323334353 unmodified lines- sentence-transformers- feature-extraction- sentence-similarity---# {MODEL_NAME}This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search.<!--- Describe your model here -->## Usage (Sentence-Transformers)Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:```pip install -U sentence-transformers```Then you can use the model like this:```pythonfrom sentence_transformers import SentenceTransformersentences = ["This is an example sentence", "Each sentence is converted"]model = SentenceTransformer('{MODEL_NAME}')embeddings = model.encode(sentences)print(embeddings)```3 unmodified lines45678910111213141516171819202122232425262728293031323 unmodified lines- sentence-transformers- feature-extraction- sentence-similarity- setfit classification---# {setfit classification model}this is a setfit classifier which can be used for conversion or other , binary classification<!--- Describe your model here -->## Usage (Sentence-Transformers)Using this model becomes easy when you have SetFit installed,```pip install setfit```Then you can use the model like this:```pythonfrom setfit import SetFitModel, SetFitTrainermodel = SetFitModel.from_pretrained("nayan06/binary-classifier-conversion-intent-1.0")preds = model(["view details"])```
README.md+8-11