Instructions to use YakovElm/Apache5SetFitModel_balance_ratio_Half with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use YakovElm/Apache5SetFitModel_balance_ratio_Half with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("YakovElm/Apache5SetFitModel_balance_ratio_Half") 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 YakovElm/Apache5SetFitModel_balance_ratio_Half with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("YakovElm/Apache5SetFitModel_balance_ratio_Half") - 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 6991
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05892be1ce8bc690aa133789502be15ed3e2a2c8cb190f39902b6125a7639b48
|
| 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 438013677
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:252d3042049ab7589169c0a307669927237053b88d8ad0eeb07671f8bde473a5
|
| 3 |
size 438013677
|