Instructions to use bachbouch/setfit-ethos-multilabel-example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use bachbouch/setfit-ethos-multilabel-example with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("bachbouch/setfit-ethos-multilabel-example") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - setfit
How to use bachbouch/setfit-ethos-multilabel-example with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("bachbouch/setfit-ethos-multilabel-example") - Notebooks
- Google Colab
- Kaggle
Sam Bouguerra commited on
Commit ·
3eb8fb2
1
Parent(s): d605dee
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 52836
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f45e56fd7fa6846c48dbe538a930710562fce794f21e81c74ff3e6d8005cda26
|
| 3 |
size 52836
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438013677
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87c0ee58959fce12f18a5dfe6897b54b6a5ed0ca53e095c66f58e2d90a67f4b0
|
| 3 |
size 438013677
|