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 ·
3d585c7
1
Parent(s): 8e843d4
Add SetFit model
Browse files- model_head.pkl +2 -2
- 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
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bccf25270e62d95a42ef56ae8a25271a5cccd1f379afb35a169fae2d16e01af1
|
| 3 |
+
size 69220
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1421569773
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d497cbff52765287da6d11b47e20a6439e1763f3f975ae76bc404eadfe6869d
|
| 3 |
size 1421569773
|