Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use alexgshaw/hyperpartisan-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alexgshaw/hyperpartisan-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alexgshaw/hyperpartisan-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alexgshaw/hyperpartisan-classifier") model = AutoModelForSequenceClassification.from_pretrained("alexgshaw/hyperpartisan-classifier") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
1129e3a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d89396389e1e938c8b52cde4bbada5eb1d99ed2af24f6d519f8f9acc6cdf998f
size 267855533
|