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") - Notebooks
- Google Colab
- Kaggle
Aymen Ben Othmen commited on
Commit ·
eab256f
1
Parent(s): 36e95c6
Add SetFit model
Browse files- model_head.pkl +1 -1
- pytorch_model.bin +1 -1
model_head.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6991
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f56361ace5f6f56a0e02ed037fe2b27d3f04310b927b947e29a4e3d7a659d56
|
| 3 |
size 6991
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1112244081
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06f5c7293262539ec4fa42b6dd01557b97de7c19644c410a3c08165514482343
|
| 3 |
size 1112244081
|