Text Classification
Transformers
PyTorch
bert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use shed-e/ag_news-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shed-e/ag_news-Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="shed-e/ag_news-Classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("shed-e/ag_news-Classification") model = AutoModelForSequenceClassification.from_pretrained("shed-e/ag_news-Classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
2bacc1e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:aa7c9e44a05e43d19ab465669b4cb853543f16dd9e637cf5563fde4d14aea4ed
size 3311
|