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 ·
e03ce8d
1
Parent(s): 4a3a03c
Delete sentence_bert_config.json
Browse files
sentence_bert_config.json
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"max_seq_length": 512,
|
| 3 |
-
"do_lower_case": false
|
| 4 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|