Instructions to use tjayant/setfit-jt-multilabel-example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use tjayant/setfit-jt-multilabel-example with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("tjayant/setfit-jt-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 tjayant/setfit-jt-multilabel-example with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("tjayant/setfit-jt-multilabel-example") - Notebooks
- Google Colab
- Kaggle
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 91716
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e082ab94af6de6d03ff01f864b30673029f72f59e019c01081cf3bfe5a1532bb
|
| 3 |
size 91716
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438016493
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:827613597c91616916607878cb51727efc17e4c09ed3cfda0c754b663682041b
|
| 3 |
size 438016493
|