Instructions to use DraiP/Fake_News_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DraiP/Fake_News_Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DraiP/Fake_News_Classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DraiP/Fake_News_Classifier") model = AutoModelForSequenceClassification.from_pretrained("DraiP/Fake_News_Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files3 unmodified lines4567891 unmodified line111213141516171819202122 unmodified lines444546473 unmodified linesmodel-index:- name: NELA-GT_Classifierresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# NELA-GT_ClassifierThis model was trained from scratch on an unknown dataset.## Model descriptionMore information needed## Intended uses & limitations22 unmodified lines- Transformers 4.29.2- Pytorch 2.0.1+cu118- Datasets 2.12.0- Tokenizers 0.13.33 unmodified lines45678910111213141 unmodified line161718192021222324252622 unmodified lines495051523 unmodified linesmodel-index:- name: NELA-GT_Classifierresults: []metrics:- f1- accuracy- roc_aucpipeline_tag: text-classification---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# NELA-GT_ClassifierThis model was Fine-Tuned on the NELA-GT dataset.## Model descriptionThis is a pretrained distilbert-uncased model finetuned for Fake News classification.## Intended uses & limitations22 unmodified lines- Transformers 4.29.2- Pytorch 2.0.1+cu118- Datasets 2.12.0- Tokenizers 0.13.3
README.md+8-3