Run this model with HF Jobs
Run cajcodes/DistilBERT-PoliticalBias on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/cajcodes/DistilBERT-PoliticalBias. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/cajcodes/DistilBERT-PoliticalBias on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use cajcodes/DistilBERT-PoliticalBias with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cajcodes/DistilBERT-PoliticalBias with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cajcodes/DistilBERT-PoliticalBias")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cajcodes/DistilBERT-PoliticalBias") model = AutoModelForSequenceClassification.from_pretrained("cajcodes/DistilBERT-PoliticalBias", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Fix the author name field in the BibTex citation
Verified signature0f8fb32
-
Update README.md
Verified signatureebfc38d -
Update README.md
Verified signature3dc1780 -
Update README.md
Verified signature77358db -
Update README.md
Verified signaturede49573 -
Update README.md
Verified signature5d59eea -
Update README.md
Verified signaturee2e2895 -
Update README.md
Verified signaturef467314 -
Update README.md
Verified signaturea4e8a49 -
Update README.md
Verified signature6de3f6b -
Update README.md
Verified signature3b1b588 -
Upload tokenizer
Verified signature62f18dd -
Upload DistilBertForSequenceClassification
Verified signature693190f -
initial commit
Verified signature4c65621