Run this model with HF Jobs
Run Shadman-Rohan/FakevsRealNews 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/Shadman-Rohan/FakevsRealNews. 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/Shadman-Rohan/FakevsRealNews 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 Shadman-Rohan/FakevsRealNews with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shadman-Rohan/FakevsRealNews with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Shadman-Rohan/FakevsRealNews")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Shadman-Rohan/FakevsRealNews") model = AutoModelForSequenceClassification.from_pretrained("Shadman-Rohan/FakevsRealNews", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
70c747c
1
Parent(s): b77f980
Update README.md
Browse files14 unmodified lines151617181819202114 unmodified lines<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# Fatima Fellowship Coding challenge# Coding challengeThe challenge involved building a fake news classifier using the huggingface library.
This final model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an fake-and-real-news dataset. The link to the dataset is https://www.kaggle.com/datasets/clmentbisaillon/fake-and-real-news-dataset.README.md+1-1