Text Classification
setfit
Safetensors
sentence-transformers
bert
generated_from_setfit_trainer
text-embeddings-inference
Instructions to use ThomBors/NLBSE2026-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use ThomBors/NLBSE2026-python with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("ThomBors/NLBSE2026-python") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use ThomBors/NLBSE2026-python with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ThomBors/NLBSE2026-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 sentence_bert_config.json from ThomBors/NLBSE2026-python: direct link, hf CLI and curl.
- Browser
- Download file 57 Bytes
-
https://huggingface.co/ThomBors/NLBSE2026-python/resolve/main/sentence_bert_config.json
- Command line
-
hf download hf://ThomBors/NLBSE2026-python/sentence_bert_config.json
-
curl -L -o sentence_bert_config.json https://huggingface.co/ThomBors/NLBSE2026-python/resolve/main/sentence_bert_config.json
57 Bytes
| { | |
| "max_seq_length": 128, | |
| "do_lower_case": false | |
| } |