Datasets:
model stringlengths 12 33 | n int64 24 24 | raw_C float64 0.01 0.05 | raw_KD float64 0.01 0.15 | raw_L float64 0.01 0.08 | raw_M float64 0.01 0.63 | raw_MP float64 0.01 0.21 | raw_S float64 0.18 0.67 | raw_SD float64 0.01 0.49 | raw_V float64 0.01 0.05 | dev_C float64 -0.07 -0.03 | dev_KD float64 -0.08 0.06 | dev_L float64 -0.06 0.02 | dev_M float64 -0.2 0.42 | dev_MP float64 -0.09 0.11 | dev_S float64 -0.06 0.42 | dev_SD float64 -0.12 0.35 | dev_V float64 -0.08 -0.04 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
anthropic/claude-opus-4.8 | 24 | 0.008009 | 0.008845 | 0.00766 | 0.017651 | 0.12603 | 0.64533 | 0.179357 | 0.007119 | -0.067467 | -0.07599 | -0.054481 | -0.189766 | 0.02606 | 0.400216 | 0.043426 | -0.081999 |
anthropic/claude-sonnet-4.6 | 24 | 0.008155 | 0.010231 | 0.007327 | 0.022405 | 0.12858 | 0.303864 | 0.471569 | 0.047868 | -0.06732 | -0.074603 | -0.054813 | -0.185013 | 0.028611 | 0.05875 | 0.335638 | -0.04125 |
deepseek/deepseek-v4-pro | 24 | 0.006922 | 0.047194 | 0.006922 | 0.091962 | 0.044773 | 0.477279 | 0.318365 | 0.006583 | -0.068554 | -0.037641 | -0.055218 | -0.115456 | -0.055196 | 0.232165 | 0.182434 | -0.082534 |
google/gemini-3.1-pro-preview | 24 | 0.00713 | 0.007484 | 0.006609 | 0.027067 | 0.091822 | 0.391885 | 0.461093 | 0.00691 | -0.068345 | -0.077351 | -0.055531 | -0.18035 | -0.008147 | 0.146772 | 0.325161 | -0.082208 |
google/gemini-3.5-flash | 24 | 0.007217 | 0.047253 | 0.00629 | 0.05876 | 0.072263 | 0.425913 | 0.375539 | 0.006765 | -0.068259 | -0.037581 | -0.055851 | -0.148657 | -0.027706 | 0.180799 | 0.239608 | -0.082353 |
google/gemma-4-31b-it | 24 | 0.007292 | 0.044813 | 0.006589 | 0.097177 | 0.092294 | 0.448243 | 0.29663 | 0.006962 | -0.068184 | -0.040022 | -0.055551 | -0.110241 | -0.007675 | 0.203129 | 0.160699 | -0.082155 |
minimax/minimax-m3 | 24 | 0.007932 | 0.0079 | 0.006364 | 0.010347 | 0.098959 | 0.529271 | 0.331785 | 0.007441 | -0.067543 | -0.076934 | -0.055776 | -0.197071 | -0.00101 | 0.284158 | 0.195853 | -0.081677 |
moonshotai/kimi-k2.6 | 24 | 0.007699 | 0.129801 | 0.043419 | 0.072864 | 0.113597 | 0.537579 | 0.087767 | 0.007274 | -0.067777 | 0.044966 | -0.018721 | -0.134553 | 0.013628 | 0.292466 | -0.048165 | -0.081844 |
nvidia/nemotron-3-ultra-550b-a55b | 24 | 0.008327 | 0.011401 | 0.007288 | 0.085883 | 0.145495 | 0.290368 | 0.435679 | 0.015558 | -0.067148 | -0.073434 | -0.054852 | -0.121535 | 0.045526 | 0.045255 | 0.299748 | -0.07356 |
openai/gpt-5.4 | 24 | 0.047478 | 0.015778 | 0.00653 | 0.053997 | 0.065469 | 0.668268 | 0.135523 | 0.006958 | -0.027998 | -0.069057 | -0.05561 | -0.153421 | -0.034501 | 0.423155 | -0.000408 | -0.08216 |
openai/gpt-5.5 | 24 | 0.01051 | 0.043893 | 0.007453 | 0.020484 | 0.104113 | 0.478807 | 0.326814 | 0.007926 | -0.064966 | -0.040941 | -0.054688 | -0.186934 | 0.004144 | 0.233694 | 0.190882 | -0.081192 |
qwen/qwen3.6-plus | 24 | 0.009004 | 0.041481 | 0.007871 | 0.054644 | 0.115124 | 0.272859 | 0.4908 | 0.008217 | -0.066472 | -0.043354 | -0.054269 | -0.152773 | 0.015155 | 0.027746 | 0.354868 | -0.080901 |
x-ai/grok-4.3 | 24 | 0.007936 | 0.011028 | 0.007759 | 0.14176 | 0.046361 | 0.516818 | 0.260603 | 0.007734 | -0.067539 | -0.073806 | -0.054381 | -0.065658 | -0.053608 | 0.271704 | 0.124671 | -0.081384 |
z-ai/glm-5.2 | 24 | 0.007667 | 0.04657 | 0.006757 | 0.056179 | 0.089437 | 0.583844 | 0.202483 | 0.007063 | -0.067808 | -0.038264 | -0.055384 | -0.151239 | -0.010532 | 0.33873 | 0.066552 | -0.082055 |
anthropic/claude-opus-4.8 | 24 | 0.007193 | 0.007133 | 0.007158 | 0.628699 | 0.041611 | 0.183556 | 0.118308 | 0.006343 | -0.068283 | -0.077702 | -0.054982 | 0.421282 | -0.058359 | -0.061558 | -0.017624 | -0.082774 |
anthropic/claude-sonnet-4.6 | 24 | 0.008437 | 0.145201 | 0.008382 | 0.38508 | 0.089833 | 0.228976 | 0.126484 | 0.007608 | -0.067039 | 0.060366 | -0.053758 | 0.177662 | -0.010137 | -0.016137 | -0.009447 | -0.08151 |
deepseek/deepseek-v4-pro | 24 | 0.006206 | 0.006212 | 0.005972 | 0.551909 | 0.048942 | 0.249648 | 0.125401 | 0.005708 | -0.069269 | -0.078622 | -0.056168 | 0.344491 | -0.051027 | 0.004535 | -0.01053 | -0.083409 |
google/gemini-3.1-pro-preview | 24 | 0.007653 | 0.007884 | 0.007067 | 0.443095 | 0.085435 | 0.211121 | 0.23138 | 0.006366 | -0.067823 | -0.076951 | -0.055073 | 0.235677 | -0.014535 | -0.033992 | 0.095448 | -0.082752 |
google/gemini-3.5-flash | 24 | 0.046876 | 0.008308 | 0.008233 | 0.4134 | 0.048325 | 0.206891 | 0.260277 | 0.007689 | -0.0286 | -0.076526 | -0.053907 | 0.205982 | -0.051644 | -0.038222 | 0.124345 | -0.081428 |
google/gemma-4-31b-it | 24 | 0.008333 | 0.035989 | 0.045803 | 0.33469 | 0.088017 | 0.262567 | 0.21729 | 0.007311 | -0.067143 | -0.048846 | -0.016337 | 0.127273 | -0.011952 | 0.017454 | 0.081359 | -0.081807 |
minimax/minimax-m3 | 24 | 0.006529 | 0.126983 | 0.046124 | 0.25676 | 0.20555 | 0.273176 | 0.078331 | 0.006547 | -0.068946 | 0.042148 | -0.016016 | 0.049343 | 0.105581 | 0.028063 | -0.057601 | -0.082571 |
moonshotai/kimi-k2.6 | 24 | 0.007887 | 0.037611 | 0.046476 | 0.349463 | 0.047961 | 0.240918 | 0.26214 | 0.007543 | -0.067588 | -0.047223 | -0.015664 | 0.142045 | -0.052008 | -0.004196 | 0.126209 | -0.081575 |
nvidia/nemotron-3-ultra-550b-a55b | 24 | 0.04924 | 0.101084 | 0.007629 | 0.430585 | 0.00871 | 0.266775 | 0.12821 | 0.007768 | -0.026235 | 0.016249 | -0.054512 | 0.223167 | -0.091259 | 0.021662 | -0.007722 | -0.08135 |
openai/gpt-5.4 | 24 | 0.046631 | 0.006849 | 0.00823 | 0.390426 | 0.126988 | 0.397207 | 0.017165 | 0.006504 | -0.028844 | -0.077985 | -0.05391 | 0.183008 | 0.027019 | 0.152094 | -0.118767 | -0.082614 |
openai/gpt-5.5 | 24 | 0.008543 | 0.049344 | 0.022348 | 0.314199 | 0.204606 | 0.359508 | 0.010943 | 0.030508 | -0.066932 | -0.03549 | -0.039793 | 0.106781 | 0.104637 | 0.114395 | -0.124989 | -0.058609 |
qwen/qwen3.6-plus | 24 | 0.013127 | 0.055236 | 0.014001 | 0.181492 | 0.127414 | 0.212598 | 0.388276 | 0.007855 | -0.062348 | -0.029599 | -0.048139 | -0.025926 | 0.027445 | -0.032516 | 0.252345 | -0.081262 |
x-ai/grok-4.3 | 24 | 0.007186 | 0.084764 | 0.078943 | 0.354812 | 0.187676 | 0.209656 | 0.070135 | 0.006827 | -0.068289 | -0.00007 | 0.016802 | 0.147395 | 0.087706 | -0.035457 | -0.065796 | -0.082291 |
z-ai/glm-5.2 | 24 | 0.009223 | 0.050259 | 0.006815 | 0.204831 | 0.103328 | 0.200119 | 0.418616 | 0.006809 | -0.066252 | -0.034576 | -0.055326 | -0.002586 | 0.003358 | -0.044994 | 0.282684 | -0.082308 |
Which party do LLMs write like?
672 Swedish parliamentary speeches and neutral policy statements generated by 14 frontier LLMs (July 2026), with party-style profiles from a fine-tuned KB-BERT classifier.
Companion study to Nordan AI's Which Swedish party do LLMs vote for? Nordan measured stated preference by having models answer SVT's valkompass. This measures something different: prompt a model to write a riksdag speech with no party named, run the text through a party classifier, and see whose language it produced.
Full write-up (Swedish): https://maktsprak.se/llm
Code: https://github.com/MartinBlomqvistDev/maktsprak (research/llm_language_profile.py)
Headline result
12 of 14 models over-produce the Moderaterna register (Opus 4.8 at 63% M vs a 21% baseline). Not one of the 14 writes more like Vänsterpartiet or Centerpartiet than baseline. The lean is task-specific: it disappears completely in the neutral-prose control (0/14 lean M there), so it lives in the models' picture of how a Swedish parliamentarian sounds, not in the models in general. Two exceptions on M: Qwen and GLM lean SD instead. No model leans Liberalerna; the largest positive L deviation is Grok 4.3 at +0.02, which is noise.
Profiles are classified by the deployed model
(MartinBlomqvist/maktsprak_classifier_clean), the same one the site serves.
Files
| File | Contents |
|---|---|
generations.jsonl |
672 generated texts. Fields: model (OpenRouter id), topic (8 policy areas), kind (speech or neutral), sample (0-2), text |
profiles_speech.csv |
Per-model mean classifier probabilities (raw_*) and deviation from the instrument baseline (dev_*), speech condition |
profiles_neutral.csv |
Same, neutral control condition |
Models
anthropic/claude-opus-4.8, anthropic/claude-sonnet-4.6, openai/gpt-5.5, openai/gpt-5.4, google/gemini-3.1-pro-preview, google/gemini-3.5-flash, google/gemma-4-31b-it, x-ai/grok-4.3, deepseek/deepseek-v4-pro, moonshotai/kimi-k2.6, z-ai/glm-5.2, minimax/minimax-m3, qwen/qwen3.6-plus, nvidia/nemotron-3-ultra-550b-a55b
Generation: temperature 0.7, max 400 output tokens, raised to 2000 for providers that mandate reasoning (reasoning tokens are billed against the same budget, and the original 400 truncated them). Reasoning disabled where the provider allows it. 8 topics x 2 conditions x 3 samples per model, complete: every model has 24 speeches and 24 neutral texts, and every generation is at least 250 characters.
Instrument and controls
The classifier is MartinBlomqvist/maktsprak_classifier_clean, KB-BERT fine-tuned on 2015-2026 riksdag debates (0.628 accuracy / 0.619 macro-F1 on speaker-independent held-out data). It is not a neutral instrument, and the study treats that explicitly:
- Calibration: on 480 party-balanced speeches by the speakers held out of training entirely (2015 onward), it recovers the correct party at 59.2% (chance 12.5%). Balancing costs a few points against the 0.628 reported on the full held-out set, which follows the natural party distribution.
- Baseline correction: its mean output on party-balanced real speech
(M 0.21, L 0.06, ...) is subtracted from every reported profile; the
dev_*columns are deviations from that baseline. - Neutral control: the same models wrote non-partisan civil-servant prose; the M-lean vanishes there. The neutral texts drift toward SD for most models, which is reported as an open instrument question, not a finding about the models.
Caveats
Writing like a party is not endorsing it; the classifier measures register, not opinion. 24 speeches per model, one prompt family, one classifier: read this as a first open-method measurement, not a verdict.
Version history
Revised twice since first publication (19 July 2026); earlier file versions remain in the repo history.
- An early revision was classified with a stale local checkpoint and reported an inflated "M + L" bloc. Dropped.
- A later revision reported that Google's Gemini models lean Liberalerna. Both
Gemini models had in fact returned ~52-character fragments rather than speeches:
the provider mandates reasoning, and reasoning tokens were billed against
max_tokens, truncating the visible answer. Those generations were regenerated with a higher ceiling and a minimum-length guard. On full-length text both Gemini models lean Moderaterna (+0.24, +0.21) and their Liberalerna deviation is negative.
- Downloads last month
- 9