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