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
Fix the author name field in the BibTex citation
#2
by matous-volf - opened
59 unmodified lines6061626364656659 unmodified linesIf you use this model or dataset, please cite as follows:```@misc{cajcodes_distilbert_political_bias,author = Christopher Jones,title = {DistilBERT-PoliticalBias: A Novel Approach to Detecting and Reducing Political Bias in Text},year = {2024},howpublished = {\url{https://huggingface.co/cajcodes/DistilBERT-PoliticalBias}},59 unmodified lines6061626364656659 unmodified linesIf you use this model or dataset, please cite as follows:```@misc{cajcodes_distilbert_political_bias,author = {Christopher Jones},title = {DistilBERT-PoliticalBias: A Novel Approach to Detecting and Reducing Political Bias in Text},year = {2024},howpublished = {\url{https://huggingface.co/cajcodes/DistilBERT-PoliticalBias}},
README.md+1-1