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: 129 Bytes
1129e3a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:db83f3ccfa63ed2f07cc7aaade21a29f754ad461897955261f9593129efba04c
size 3579
|