Instructions to use Amite5h/FakeorReal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Amite5h/FakeorReal with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Amite5h/FakeorReal")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Amite5h/FakeorReal") model = AutoModelForSequenceClassification.from_pretrained("Amite5h/FakeorReal", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download checkpoint from Amite5h/FakeorReal: direct link, hf CLI and curl.
- Browser
- Download file 101 Bytes
-
https://huggingface.co/Amite5h/FakeorReal/resolve/main/checkpoint
- Command line
-
hf download hf://Amite5h/FakeorReal/checkpoint
-
curl -L -o checkpoint https://huggingface.co/Amite5h/FakeorReal/resolve/main/checkpoint
101 Bytes
| model_checkpoint_path: "fake_news_bert_weights" | |
| all_model_checkpoint_paths: "fake_news_bert_weights" | |