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