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