Instructions to use AnonymousCS/populism_classifier_366 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/populism_classifier_366 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/populism_classifier_366")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/populism_classifier_366") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/populism_classifier_366", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from AnonymousCS/populism_classifier_366: direct link, hf CLI and curl.
- Browser
- Download file 712 kB
-
https://huggingface.co/AnonymousCS/populism_classifier_366/resolve/3b220dfbfc3572f89445ec0068910cbf2308a606/tokenizer.json
- Command line
-
hf download hf://AnonymousCS/populism_classifier_366@3b220dfbfc3572f89445ec0068910cbf2308a606/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/AnonymousCS/populism_classifier_366/resolve/3b220dfbfc3572f89445ec0068910cbf2308a606/tokenizer.json
712 kB
File too large to display, you can check the raw version instead.