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")# 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
- 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.