Text Classification
sentence-transformers
PyTorch
setfit
Spanish
xlm-roberta
text-embeddings-inference
Instructions to use somosnlp-hackathon-2023/setfit-alpaca-es-unprocessable-sample-detection-multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use somosnlp-hackathon-2023/setfit-alpaca-es-unprocessable-sample-detection-multi with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("somosnlp-hackathon-2023/setfit-alpaca-es-unprocessable-sample-detection-multi") 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 somosnlp-hackathon-2023/setfit-alpaca-es-unprocessable-sample-detection-multi with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("somosnlp-hackathon-2023/setfit-alpaca-es-unprocessable-sample-detection-multi") 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 somosnlp-hackathon-2023/setfit-alpaca-es-unprocessable-sample-detection-multi: direct link, hf CLI and curl.
- Browser
- Download file 1.11 GB
-
https://huggingface.co/somosnlp-hackathon-2023/setfit-alpaca-es-unprocessable-sample-detection-multi/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://somosnlp-hackathon-2023/setfit-alpaca-es-unprocessable-sample-detection-multi/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/somosnlp-hackathon-2023/setfit-alpaca-es-unprocessable-sample-detection-multi/resolve/main/pytorch_model.bin
1.11 GB
- Xet hash:
- 7ca88d3a48963676af90f8207796ff54a2f5cecb22ed075b0b96c0d5bbe994a9
- Size of remote file:
- 1.11 GB
- SHA256:
- bb973351040b546c3d910dfcb4e114d9cb4999d29814b752155f56472ae5d87a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.