Instructions to use addy88/sst5-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use addy88/sst5-roberta-large with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("addy88/sst5-roberta-large") 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 addy88/sst5-roberta-large with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("addy88/sst5-roberta-large") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from addy88/sst5-roberta-large: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/addy88/sst5-roberta-large/resolve/main/tokenizer.json
- Command line
-
hf download hf://addy88/sst5-roberta-large/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/addy88/sst5-roberta-large/resolve/main/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.