Instructions to use Sanjay1234/Trillo-Project with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Sanjay1234/Trillo-Project with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Sanjay1234/Trillo-Project") 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 Sanjay1234/Trillo-Project with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("Sanjay1234/Trillo-Project") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Commit ·
c476e3c
1
Parent(s): 0fa583d
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 19263
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58e9218b09c9504403bfcdb101da719c59129491125991992eee279562973b35
|
| 3 |
size 19263
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438009257
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c63712fa38c700466db34fa027acbab78154ac33f4d8f701c57fce0821857fb
|
| 3 |
size 438009257
|