Instructions to use mafgit/news-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mafgit/news-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mafgit/news-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mafgit/news-classifier") model = AutoModelForSequenceClassification.from_pretrained("mafgit/news-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 2c32de0e9c473ebd873f0d18b4e9be187133609a50b71301d0ad8ec0132e8e29
- Size of remote file:
- 438 MB
- SHA256:
- b9a5b745f175107e04525d9fe22bcad78c85f365623d2d631359c8575aca4463
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.