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 History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.7fae6af
-
Add SetFit model
32cc7af -
Delete vocab.txt
5c68f36 -
Delete tokenizer_config.json
ed2f479 -
Delete tokenizer.json
2e76f68 -
Delete special_tokens_map.json
622330d -
Delete sentence_bert_config.json
e03ce8d -
Delete pytorch_model.bin
4a3a03c -
Delete modules.json
d7211d8 -
Delete model_head.pkl
3ee2ba6 -
Delete config_sentence_transformers.json
d1c7f4b -
Delete config.json
2fa19b3 -
Delete README.md
a8f5f1a -
Delete 1_Pooling
19ce52c
-
Add SetFit model
3ea648d -
Add SetFit model
c476e3c
-
Add SetFit model
0fa583d -
initial commit
cc66fdd