Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use ContextNews/news-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ContextNews/news-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ContextNews/news-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ContextNews/news-classifier") model = AutoModelForSequenceClassification.from_pretrained("ContextNews/news-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from ContextNews/news-classifier: direct link, hf CLI and curl.
- Browser
- Download file 5.2 kB
-
https://huggingface.co/ContextNews/news-classifier/resolve/main/training_args.bin
- Command line
-
hf download hf://ContextNews/news-classifier/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/ContextNews/news-classifier/resolve/main/training_args.bin
5.2 kB
- Xet hash:
- b61ccd59792573bea5b67a83316a717c48178f98497db7ea6b3a5f30155cbabf
- Size of remote file:
- 5.2 kB
- SHA256:
- 79c6f2214d8cd84b52edf2968fac109f31993a087025f001665b2ba0942b8fdc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.