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