Instructions to use Loudy/setfit-classification-pc-quality with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Loudy/setfit-classification-pc-quality with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Loudy/setfit-classification-pc-quality") 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 Loudy/setfit-classification-pc-quality with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("Loudy/setfit-classification-pc-quality") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from Loudy/setfit-classification-pc-quality: direct link, hf CLI and curl.
- Browser
- Download file 1.11 GB
-
https://huggingface.co/Loudy/setfit-classification-pc-quality/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Loudy/setfit-classification-pc-quality/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Loudy/setfit-classification-pc-quality/resolve/main/pytorch_model.bin
1.11 GB
- Xet hash:
- d19cbd1a5d4e9360fc1dd2cb550bc7502b99d7f9f654d18b1ffff08f5c9bee16
- Size of remote file:
- 1.11 GB
- SHA256:
- 674226c8305be2f0f559ec3f147c3def617ec716969dcf6a98f612233d7efd96
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.