Instructions to use IDA-SERICS/PropagandaDetection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IDA-SERICS/PropagandaDetection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="IDA-SERICS/PropagandaDetection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IDA-SERICS/PropagandaDetection") model = AutoModelForSequenceClassification.from_pretrained("IDA-SERICS/PropagandaDetection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download README from IDA-SERICS/PropagandaDetection: direct link, hf CLI and curl.
- Browser
- Download file 78 Bytes
-
https://huggingface.co/IDA-SERICS/PropagandaDetection/resolve/refs%2Fpr%2F1/README
- Command line
-
hf download hf://IDA-SERICS/PropagandaDetection@refs/pr/1/README
-
curl -L -o README https://huggingface.co/IDA-SERICS/PropagandaDetection/resolve/refs%2Fpr%2F1/README
78 Bytes
| language: | |
| - en | |
| metrics: | |
| - accuracy | |
| pipeline_tag: text-classification | |