Instructions to use gianma/fakeNewsBERTClassifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gianma/fakeNewsBERTClassifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gianma/fakeNewsBERTClassifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("gianma/fakeNewsBERTClassifier") model = AutoModelForSequenceClassification.from_pretrained("gianma/fakeNewsBERTClassifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (d4569a2ca3099ff10bfc4033062b3b945e418c9c) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>f93913a
-
Training in progress, epoch 4
424116f -
Training in progress, epoch 3
8cd5268 -
Training in progress, epoch 2
59f01de -
Training in progress, epoch 1
b1ae7fc -
initial commit
b360194