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
- Xet hash:
- 02a6d7fb1a118d9fef6b9b3d63e5fbd07060512219911ca5012b0d7d332892ea
- Size of remote file:
- 3.58 kB
- SHA256:
- db83f3ccfa63ed2f07cc7aaade21a29f754ad461897955261f9593129efba04c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.