Text Classification
setfit
Safetensors
sentence-transformers
bert
generated_from_setfit_trainer
text-embeddings-inference
Instructions to use JulioCesarRiveraSoto/text_classification_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use JulioCesarRiveraSoto/text_classification_model with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("JulioCesarRiveraSoto/text_classification_model") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use JulioCesarRiveraSoto/text_classification_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("JulioCesarRiveraSoto/text_classification_model") 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] - Notebooks
- Google Colab
- Kaggle
Download model_head.pkl from JulioCesarRiveraSoto/text_classification_model: direct link, hf CLI and curl.
- Browser
- Download file 3.94 kB
-
https://huggingface.co/JulioCesarRiveraSoto/text_classification_model/resolve/main/model_head.pkl
- Command line
-
hf download hf://JulioCesarRiveraSoto/text_classification_model/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/JulioCesarRiveraSoto/text_classification_model/resolve/main/model_head.pkl
3.94 kB
- Xet hash:
- 11551bada00b277739eeac97aa809378dd08cd8c0021da973ad1af144c677878
- Size of remote file:
- 3.94 kB
- SHA256:
- 190cad1fe86d39b4c1893d93bf0ad5e1f9ea3622e22a820c8a11dfda9ff649ae
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.