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