This model is a fine-tuned version of Qwen/Qwen3-4B trained to identify fine-grained forms of populism in political discourse. The model performs 4-way classification to detect:
(a) No populism - Sentences without populist rhetoric
(b) Anti-elitism - Negative invocations of "elites"
(c) People-centrism - Positive invocations of the "people"
(d) Both - Sentences combining anti-elitism and people-centrism
The model was fine-tuned using LoRA (Low-Rank Adaptation) for parameter-efficient training on political speeches from Donald Trump's 2016 presidential campaign.
Model Details
Model Type
Base Model: Qwen/Qwen3-4B (4B parameters)
Fine-tuning Method: LoRA (Low-Rank Adaptation)
Task: Multi-class Text Classification (4 categories)
Data Source: Sentence-level annotations from Donald Trump's 2016 presidential campaign speeches.
Label Distribution (Original):
(a) No populism: 92%
(b) Anti-elitism: 4%
(c) People-centrism: 2%
(d) Both: 2%
Data Preprocessing:
Sentences truncated to maximum 48 words
5x upsampling applied to minority classes (b, c, d) to address class imbalance
Tokenized with max_length=300
Shuffled with seed=42
Populism Definition:
Following political science literature, populism is defined as an anti-elite discourse in the name of "the people", characterized by:
Anti-elitism: Negative references to elite groups
People-centrism: Positive references to ordinary citizens or "the people"
1# System prompt2SYSTEM_PROMPT ="""You are a helpful AI assistant with expertise in identifying populism in public discourse.
34Populism can be defined as an anti-elite discourse in the name of the "people". In other words, populism emphasizes the idea of the common "people" and often positions this group in opposition to a perceived elite group.
56There are two core elements in identifying populism: (i) anti-elitism, i.e., negative invocations of "elites", and (ii) people-centrism, i.e., positive invocations of the "people".
7"""89# Instruction template10INSTRUCTION ="""You must classify each sentence in one of the following categories:
1112(a) No populism.
13(b) Anti-elitism, i.e., negative invocations of "elites".
14(c) People-centrism, i.e., positive invocations of the "People".
15(d) Both people-centrism and anti-elitism populism.
16"""1718# Example sentence19sentence ="We need to stand up against the corrupt establishment that has betrayed the American people."2021# Build prompt22conversation =[23{"role":"system","content": SYSTEM_PROMPT},24{"role":"user","content": INSTRUCTION +f'\n\nWhich is the most relevant category for the sentence: "{sentence}"?'}25]2627# Apply chat template28prompt = tokenizer.apply_chat_template(29 conversation=conversation,30 tokenize=False,31 add_generation_prompt=True32)3334# Generate response35response = pipe(36 prompt,37 do_sample=False,38 max_new_tokens=256,39 eos_token_id=tokenizer.eos_token_id,40 pad_token_id=tokenizer.eos_token_id,41)4243print(response[0]['generated_text'])44# Expected output: "I would categorize this sentence as (d)..."
Expected Output Format
The model responds in the following format:
I would categorize this sentence as (X)
[Explanation of the classification decision]
Where X is one of: a, b, c, or d.
Performance
Detailed performance metrics and comparisons are available in the original paper (see Citation section below).
The model shows strong performance on in-domain political discourse
Cross-context evaluation demonstrates reasonable generalization to European political speeches
LoRA fine-tuning provides efficient adaptation with minimal trainable parameters
Limitations and Bias
Training Data Limitations:
Trained primarily on Donald Trump's 2016 campaign speeches
May not generalize equally well to other political contexts, time periods, or speakers
Performance may vary on non-US political discourse
Class Imbalance:
Original data is highly imbalanced (92% "No populism")
Upsampling (5x) applied to minority classes during training
Model may still show bias toward the majority class
Domain Specificity:
Optimized for sentence-level classification
Performance on longer texts may require sentence segmentation
Best suited for political discourse and campaign rhetoric
Ethical Considerations:
This model provides automated analysis and should not be the sole basis for political judgments
Results should be interpreted by domain experts
May reflect biases present in the training data
Intended Use
Primary Use Cases:
Research in political science and computational social science
Analysis of populist rhetoric in political campaigns
Educational purposes in understanding populist discourse
Automated annotation of political speech datasets
Out-of-Scope Use:
Making definitive political judgments about individuals or parties
Real-time moderation or censorship of political speech
Use without human oversight in sensitive political contexts
Citation
If you use this model, please cite the original paper:
bibtex
1@misc{chalkidis2025populism,
2 title={Identifying Fine-grained Forms of Populism in Political Discourse: A Case Study on Donald Trump's Presidential Campaigns},
3 author={Chalkidis, Ilias and Brandl, Stephanie and Aslanidis, Paris},
4 year={2025},
5 archivePrefix={arXiv},
6 primaryClass={cs.CL},
7 url={https://arxiv.org/abs/2507.19303},
8 doi={10.48550/arXiv.2507.19303}
9}
PEFT Library: Hugging Face PEFT for LoRA implementation
Training Framework: Hugging Face Transformers and TRL
Model Card Authors
[Your Name/Organization]
Model Card Contact
[Your Contact Information]
License
This model is released under the Apache 2.0 License, consistent with the Qwen3-4B base model.
Responsible Use: This model is intended for research and educational purposes. Users should be aware of the limitations and biases described above and use the model responsibly with appropriate human oversight.