Instructions to use Arjun24420/BERT-FakeNews-BinaryClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Arjun24420/BERT-FakeNews-BinaryClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Arjun24420/BERT-FakeNews-BinaryClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Arjun24420/BERT-FakeNews-BinaryClassification") model = AutoModelForSequenceClassification.from_pretrained("Arjun24420/BERT-FakeNews-BinaryClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
e30b608 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b8f0c609d07c6b1b31f5a51f4a01222990346b5cf4db1cc174b269523147cfac
size 4536
|