Sentence Similarity
sentence-transformers
PyTorch
Transformers
xlm-roberta
feature-extraction
text-embeddings-inference
Instructions to use Charul/use-case-classification-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Charul/use-case-classification-final with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Charul/use-case-classification-final") 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 Charul/use-case-classification-final with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Charul/use-case-classification-final") model = AutoModel.from_pretrained("Charul/use-case-classification-final", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Add SetFit model 36935f1
Aymen Ben Othmen commited on
Add SetFit model 41735f6
Aymen Ben Othmen commited on
Add SetFit model eab256f
Aymen Ben Othmen commited on
Add SetFit model 36e95c6
Aymen Ben Othmen commited on