Instructions to use TAgroup5/news-classification-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TAgroup5/news-classification-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TAgroup5/news-classification-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TAgroup5/news-classification-model") model = AutoModelForSequenceClassification.from_pretrained("TAgroup5/news-classification-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload DistilBertForSequenceClassification
Verified signature2cb540d -
Upload DistilBertForSequenceClassification
Verified signature2901c5b -
Upload DistilBertForSequenceClassification
Verified signaturefca8bad -
Upload DistilBertForSequenceClassification
Verified signatured254953
-
Upload DistilBertForSequenceClassification
Verified signaturede1d4fe -
Upload tokenizer
Verified signature115e011 -
Upload DistilBertForSequenceClassification
Verified signaturebe7d364 -
initial commit
Verified signaturecb0f5a3