Text Classification
setfit
Safetensors
sentence-transformers
English
bert
generated_from_setfit_trainer
text-embeddings-inference
Instructions to use fabiancpl/nlbse25_python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use fabiancpl/nlbse25_python with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("fabiancpl/nlbse25_python") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use fabiancpl/nlbse25_python with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("fabiancpl/nlbse25_python") 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 tokenizer.json from fabiancpl/nlbse25_python: direct link, hf CLI and curl.
- Browser
- Download file 712 kB
-
https://huggingface.co/fabiancpl/nlbse25_python/resolve/main/tokenizer.json
- Command line
-
hf download hf://fabiancpl/nlbse25_python/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/fabiancpl/nlbse25_python/resolve/main/tokenizer.json
712 kB
File too large to display, you can check the raw version instead.