Text Classification
Transformers
Safetensors
English
roberta
multi-label-classification
disinformation
narrative-detection
propaganda
media-analysis
text-embeddings-inference
Instructions to use pjait/narrative_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pjait/narrative_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="pjait/narrative_classifier")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("pjait/narrative_classifier") model = AutoModel.from_pretrained("pjait/narrative_classifier") - Notebooks
- Google Colab
- Kaggle
| { | |
| "narrative2id": { | |
| "Abortion is evil/immoral/dangerous": 0, | |
| "Alternative treatments are more effective than conventional ones": 1, | |
| "Climate change is a hoax": 2, | |
| "Collapse of Western civilization is imminent": 3, | |
| "Conflict is a staged event prepared by outside forces": 4, | |
| "Contraception is against nature/dangerous/immoral": 5, | |
| "Conventional medicine is ineffective and corrupt": 6, | |
| "Conventional medicine is wrong about the causes of diseases": 7, | |
| "Elites manipulate elections": 8, | |
| "Elites want to take over the world": 9, | |
| "European Union is authoritarian": 10, | |
| "Feminism is a tool to destroy the natural order and traditional values": 11, | |
| "Global elites deliberately cause pandemics and diseases": 12, | |
| "Global warming does not exist/is not a serious threat": 13, | |
| "Governments fail to take proper action on migration crisis": 14, | |
| "Homosexuals are a threat": 15, | |
| "Humanity is not responsible for global warming": 16, | |
| "LGBT+ is a tool to destroy the natural order and traditional values": 17, | |
| "LGBT+ people are mentally ill": 18, | |
| "LGBT+ people are privileged": 19, | |
| "Media deliberately spreads lies": 20, | |
| "Migrants are a burden on the economy": 21, | |
| "Migrants are dangerous": 22, | |
| "Migrants are destroying local culture and breaking up local communities": 23, | |
| "Migration is a conspiracy of global elites": 24, | |
| "Most European countries are puppets of the West": 25, | |
| "NATO is authoritarian/warmongering": 26, | |
| "Official information is a tool to deceive citizens": 27, | |
| "Other": 28, | |
| "Russia is strong and winning the war": 29, | |
| "Sex education is a threat to children": 30, | |
| "Solutions to reduce human impact on environment and climate are a conspiracy": 31, | |
| "State and international institutions only serve to oppress citizens.": 32, | |
| "The West and their allies are immoral/hostile/ineffective": 33, | |
| "The energy crisis is artificially created": 34, | |
| "Transgender people are a threat": 35, | |
| "Ukraine is an evil, aggressive and dangerous country": 36, | |
| "Ukrainian refugees are a danger/burden": 37, | |
| "Vaccines are dangerous/ineffective/immoral": 38, | |
| "Western elites want to destroy the natural order and traditional values": 39, | |
| "other": 40 | |
| }, | |
| "id2narrative": { | |
| "0": "Abortion is evil/immoral/dangerous", | |
| "1": "Alternative treatments are more effective than conventional ones", | |
| "2": "Climate change is a hoax", | |
| "3": "Collapse of Western civilization is imminent", | |
| "4": "Conflict is a staged event prepared by outside forces", | |
| "5": "Contraception is against nature/dangerous/immoral", | |
| "6": "Conventional medicine is ineffective and corrupt", | |
| "7": "Conventional medicine is wrong about the causes of diseases", | |
| "8": "Elites manipulate elections", | |
| "9": "Elites want to take over the world", | |
| "10": "European Union is authoritarian", | |
| "11": "Feminism is a tool to destroy the natural order and traditional values", | |
| "12": "Global elites deliberately cause pandemics and diseases", | |
| "13": "Global warming does not exist/is not a serious threat", | |
| "14": "Governments fail to take proper action on migration crisis", | |
| "15": "Homosexuals are a threat", | |
| "16": "Humanity is not responsible for global warming", | |
| "17": "LGBT+ is a tool to destroy the natural order and traditional values", | |
| "18": "LGBT+ people are mentally ill", | |
| "19": "LGBT+ people are privileged", | |
| "20": "Media deliberately spreads lies", | |
| "21": "Migrants are a burden on the economy", | |
| "22": "Migrants are dangerous", | |
| "23": "Migrants are destroying local culture and breaking up local communities", | |
| "24": "Migration is a conspiracy of global elites", | |
| "25": "Most European countries are puppets of the West", | |
| "26": "NATO is authoritarian/warmongering", | |
| "27": "Official information is a tool to deceive citizens", | |
| "28": "Other", | |
| "29": "Russia is strong and winning the war", | |
| "30": "Sex education is a threat to children", | |
| "31": "Solutions to reduce human impact on environment and climate are a conspiracy", | |
| "32": "State and international institutions only serve to oppress citizens.", | |
| "33": "The West and their allies are immoral/hostile/ineffective", | |
| "34": "The energy crisis is artificially created", | |
| "35": "Transgender people are a threat", | |
| "36": "Ukraine is an evil, aggressive and dangerous country", | |
| "37": "Ukrainian refugees are a danger/burden", | |
| "38": "Vaccines are dangerous/ineffective/immoral", | |
| "39": "Western elites want to destroy the natural order and traditional values", | |
| "40": "other" | |
| }, | |
| "num_labels": 41 | |
| } |