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