Text Classification
Transformers
Safetensors
modernbert
propaganda-detection
binary-classification
nci-protocol
text-embeddings-inference
Instructions to use synapti/nci-binary-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use synapti/nci-binary-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="synapti/nci-binary-detector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("synapti/nci-binary-detector") model = AutoModelForSequenceClassification.from_pretrained("synapti/nci-binary-detector") - Notebooks
- Google Colab
- Kaggle
| { | |
| "id2label": { | |
| "0": "no_propaganda", | |
| "1": "has_propaganda" | |
| }, | |
| "label2id": { | |
| "no_propaganda": 0, | |
| "has_propaganda": 1 | |
| } | |
| } |