Text Classification
setfit
Safetensors
sentence-transformers
new
generated_from_setfit_trainer
custom_code
Eval Results (legacy)
text-embeddings-inference
Instructions to use twright8/news_cats with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use twright8/news_cats with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("twright8/news_cats") - sentence-transformers
How to use twright8/news_cats with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("twright8/news_cats", trust_remote_code=True) 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
- Xet hash:
- 09ce8de58f61b88ff12962e5e525915656e3649afa459d37d7513fe57742d296
- Size of remote file:
- 547 MB
- SHA256:
- 4f118bf0a45a5b1f81b12afb79d250c0b1d712bf19fadb2b32c76e790ebc57d3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.