Do AI Safety Filters Protect Other Languages as Well as English?
Testing eight open guard models on hand-written hate speech in eleven languages and on harmful requests in eight, comparing each language with English, and checking whether loading a model in 4 bits changes its answers.
Many chatbots use a second, smaller model to check what goes in and out. This guard model reads each message, and often each reply, and decides whether to block it. Several guard models are free to download, and their developers say they work in many languages: 119 for Qwen3Guard Zhao et al. (2025), 17 for PolyGuard Kumar et al. (2025), and eight for Meta’s Llama Guard 3 (model card). An earlier test found that guard models did worse on harmful text in other languages than in English Yang et al. (2024).
I am interested in human-centred and equitable AI, so I wanted to run an experiment on this myself. A safety filter that works less well in one language can fail its speakers in two ways: it lets more harmful text reach them, or it blocks more of their ordinary messages. I wanted to measure both, for each language against English, on the same test cases for every model. The tool I used, evenhand, is open source and was written for this project.
What I found
- Every model let more hate speech through in Hindi than in English. On the full set of hand-written cases, the largest Qwen3Guard missed 59% of hateful Hindi cases against 3% of English ones, Llama Guard 3 8B missed 39% against 9%, and PolyGuard-Qwen 7B missed 23% against 0.1%. Arabic was worse than English for every model and setting but one.
- A larger model in the same family made some gaps smaller, but not all of them. Going from Qwen3Guard 4B to 8B lowered the share of Arabic hate missed from 50% to 36%, and Hindi from 66% to 59%. Going from Llama Guard 3 1B to 8B about halved the share of hate missed in the other European languages, but the 8B still missed about 40% of Arabic and Hindi hate.
- Llama Guard 4 12B, Meta’s newest guard model, missed the most hate. It missed 27% of English hate and 34% to 66% in the other ten languages. It was the one model I could only run in 4 bits, so this result is less certain than the others.
- The settings that miss the least hate also block most harmless look-alikes, in every language. Qwen3Guard-8B in its strict setting missed at most 8% of hate in any language, but it also flagged 69% to 78% of harmless cases that resemble hate, such as counter-speech that quotes it.
- The two larger Llama Guards blocked more harmless text in other languages than in English. Llama Guard 4 12B flagged 52% of harmless Hindi look-alikes against 9% of English ones. Ordinary requests from real users were rarely blocked: no model run in 16 or 32 bits blocked more than 9% in any language. Llama Guard 3 1B blocked 7.7% of Arabic requests, against 0.3% of English ones.
- Loading a model in 4 bits changed its answers, and not equally across languages. Over all 32,141 hate-speech cases, Llama Guard 3 1B gave a different verdict on 17.5% when loaded in 4 bits than in full 32-bit precision. In 4 bits it missed 8 points more English hate and 14 to 23 points more in German, French, Dutch, Italian, Polish, Portuguese, Spanish and Mandarin. I had published some of those 4-bit numbers the day before, and they are corrected here.
In practice, a team that adds one of these guard models to a product used in several languages should not assume it protects every language equally, even when the language is on the developer’s list. The size of the gap depends on the model, the setting, the language and the kind of harm, so it has to be measured for the deployment it will be used in, at the precision it will be run at.
1. Guard models and what their developers say
A guard model is a language model trained to classify text as safe or unsafe. It reads a user’s message, or a chatbot’s reply, and answers with a short verdict. Llama Guard, for example, answers “safe”, or “unsafe” followed by the codes of the categories of harm it found, where S10 is its code for hate. The application then blocks the text or lets it through.
A guard model can make two kinds of mistake. It can under-block, letting harmful text through, or it can over-block, stopping harmless text. Both matter to the people affected. Under-blocking exposes them to more harm than English speakers, and over-blocking makes the product refuse their ordinary messages more often.
I tested eight models from three developers:
- Qwen3Guard-Gen from Alibaba’s Qwen team, in its 0.6B, 4B and 8B sizes. The B is billions of parameters, the numbers a model learns, which is a rough measure of its size. Its developers say it supports 119 languages and dialects Zhao et al. (2025), which include all the languages here.
- Llama Guard 3 from Meta, in 1B and 8B sizes, and Llama Guard 4 in 12B. Llama Guard 3 lists eight languages: English, French, German, Hindi, Italian, Portuguese, Spanish and Thai (model card). Llama Guard 4’s model card says it supports the same languages as Llama Guard 3 (model card). So Arabic, Dutch, Polish, Mandarin, Russian, Serbian and Filipino are outside what Meta claims.
- PolyGuard-Qwen from researchers at Carnegie Mellon University and other institutions, in a 0.5B size (called Smol) and 7B. It was trained for 17 languages Kumar et al. (2025), which include every language here except Serbian and Filipino.
Qwen3Guard sorts text into three classes: Safe, Controversial and Unsafe. A product can block only Unsafe text, which its developers call the loose mode, or block Controversial text too, the strict mode Zhao et al. (2025). I report both, because the choice changes the results a great deal. Both come from the same run of the model. For the Llama Guards, I also report a hate-only reading, which counts a block only when the model names its hate category.
2. How I measured it
I used two sets of test texts.
HateCheck is a set of short test cases built by hand: the original English set, written by its authors Röttger et al. (2021), and Multilingual HateCheck, written by native-speaking experts in ten more languages Röttger et al. (2022). Each language has hateful cases and harmless cases that are built to look like hate, such as counter-speech that quotes hate in order to oppose it, neutral statements that mention a group, and profanity aimed at no group. The harmless cases measure over-blocking. I used every case in the kinds of test that all eleven languages share: 32,141 cases, about 1,800 hateful and 1,100 harmless per language. I also drew a sample of 300 hateful and 300 harmless cases per language, which every model ran on.
The Aya prompts are requests written by people in their own language. The harmful ones come from Aya Red-teaming, in which native speakers wrote harmful prompts for testing a language model, in eight languages Aakanksha et al. (2024). Each harmful prompt is marked as global, meaning recognised as harmful anywhere, or local, meaning it needs knowledge of a place or culture. The harmless ones are ordinary requests from the Aya Dataset Singh et al. (2024). I used 300 of each per language, except harmless Russian and Serbian, where the dataset has only 116 and 87. That is 4,403 prompts in all.
For each model, language and kind of mistake, I counted the share of cases the model got wrong and compared it with English. These choices mattered:
- Each language is compared with English, not with an ideal. The question is whether speakers of other languages get the same protection as English speakers. A model that is equally poor in every language has no gap.
- “Beyond chance” means the 95% range of the difference excludes zero. The range is widened because ten languages are compared with English at once; without that, about one comparison in twenty would show a difference by chance alone.
- Each gap is also recomputed with English’s mix of test kinds. HateCheck languages do not have exactly the same number of cases of each kind, so a language could look worse only because it has more of a hard kind. I count a gap as real only when both the plain and the recomputed gap are beyond chance.
- Obfuscated hate is not covered. HateCheck’s spelling tests, such as deliberate misspellings, differ by language, so I left them out of the comparison.
- The small models ran on my own graphics card, the large ones on Google Colab. My card has 8 GB of memory. To fit Qwen3Guard-4B and Llama Guard 3 1B on it, I first loaded them in 4 bits, which stores each of the model’s numbers in a quarter of the usual 16 bits. The larger models ran on a Colab GPU with 24 GB, in 16 bits, except Llama Guard 4 12B, which does not fit in 24 GB at 16 bits and ran in 4 bits. After the 4-bit check in section 7, I ran Llama Guard 3 1B again on my card in 32 bits, without 4-bit loading, and its results in this post come from that run and the 16-bit one.
3. What I decided in advance
When a test can be read in many ways, it is easy to choose, after seeing the results, the reading that gives the most striking answer. One protection is to fix the rules before any result exists. I did not write a separate plan for this project, but the rules for comparing languages were part of the tool’s code, committed on 2 December 2026 at 05:18 UTC. The first result was produced about ten hours later. The five-point limit for the Aya prompts was in their configuration file before any Aya result existed. The models and samples for each run were fixed in configuration files committed before that run.
| Question | What would count as yes | Result |
|---|---|---|
| 1. Does any language get more hate through than English? | The difference’s 95% range, widened for ten comparisons, is above zero | Yes, for every model. Hindi for all eight models in every setting, and Arabic for every model and setting except strict Qwen3Guard-8B (full set). |
| 2. Does any language get more harmless look-alikes blocked than English? | The same rule, for harmless cases | Yes, for some models. On the full set, Llama Guard 3 8B and Llama Guard 4 12B in nine or ten of the ten languages, strict Qwen3Guard-4B and 8B in three to five, and loose Qwen3Guard-0.6B in three. Not Llama Guard 3 1B, loose Qwen3Guard-4B or 8B, PolyGuard-Qwen 7B or PolyGuard-Smol. |
| 3. Does each guard keep every language within five points of English on the Aya prompts? | No language is worse than English by more than five points, even at the low end of its range | Four of the eight larger settings pass. Strict Qwen3Guard at 4B and 8B, Llama Guard 3 8B and Llama Guard 4 12B pass. The other four fail on Filipino, two of them on Arabic too. |
Two things were decided after I had seen results. Counting a gap as real only when the recomputed gap agrees was a rule I set when I first wrote up results; it can only make fewer gaps count. The method for comparing 4-bit with 16-bit answers in section 7 was written after the 16-bit results arrived. I had planned the 16-bit runs as a check before any of them were done, but I had not decided how to judge the check. The 32-bit run of Llama Guard 3 1B on the full set was added after that check, because of what it found.
4. How much hate gets through
Every model in Figure 1 let more hate through in Hindi than in English, and every one except strict Qwen3Guard-8B did the same in Arabic. The gaps were large. Qwen3Guard-4B in its loose setting missed 66% of hateful Hindi cases and 50% of Arabic ones, against 4% of English ones. Llama Guard 3 8B missed 39% and 42%, against 9%.
For most models the European languages and Mandarin were also worse than English, but by less. Llama Guard 3 8B missed 13% to 19% in French, Italian, Portuguese and Spanish, against 9% in English; German, at 11%, could not be told apart from English. Qwen3Guard-8B in its loose setting missed 5% to 16% outside Arabic and Hindi, against 3%.
Llama Guard 4 12B missed three times as much English hate as Llama Guard 3 8B, 27% against 9%, and 34% to 66% in the other languages. On the sample, it let through 17 of the 20 English cases that use a slur. I cannot tell from these data whether it is weaker at hate in general, whether its definition of hate differs from HateCheck’s, or whether 4-bit loading lowered its accuracy.
PolyGuard-Qwen 7B missed the least: 2 of 1,803 English cases, and 5% or less in every language except Hindi (23%). Its small gaps were still beyond chance in seven languages, because the full set is large enough to detect a difference of two or three points.
Size within a family. The larger model in each family missed less hate, but not equally in every language. From Qwen3Guard 4B to 8B, Arabic fell from 50% to 36% and Hindi only from 66% to 59%, while English stayed at 3% to 4%. Llama Guard 3 1B and 8B missed about the same share of English hate (10% and 9%). In the other European languages the 1B missed 26% to 47% and the 8B 11% to 24%, and in Arabic and Hindi the 1B missed 72% and 69% and the 8B 42% and 39%. So the 8B made every gap smaller, but only German came within chance of English. From PolyGuard-Smol to 7B, Hindi fell from 65% to 22% on the sample. None of the larger models brought Hindi to within chance of English.
5. How much harmless text gets blocked
The harmless HateCheck cases are built to be hard, so every model flagged many of them. Most of what was flagged was counter-speech, which quotes or names hate in order to oppose it.
Llama Guard 3 8B and Llama Guard 4 12B flagged more harmless text in other languages than in English; the 1B did not. Llama Guard 3 8B flagged 11% of English look-alikes and 16% to 32% in every other language except Portuguese. Llama Guard 4 12B flagged 9% in English and 13% to 23% elsewhere, except Hindi, where it flagged 52%. One kind of case shows the Hindi result clearly. On the sample, Llama Guard 4 flagged 15 of 40 Hindi sentences that mention a group neutrally, and none of 37 English ones.
Qwen3Guard in its loose setting and PolyGuard-Qwen 7B flagged about the same share in every language. Hindi was lower than English for both, but the low rate goes with their high rate of missed Hindi hate: these models flag less Hindi text of every kind.
The strict Qwen3Guard setting shows the cost of blocking more hate. Qwen3Guard-8B in its strict setting missed at most 8% of hate in any language, but it flagged 70% of English look-alikes and 69% to 78% in the other languages.
Ordinary requests. The Aya harmless prompts are everyday requests, far easier than HateCheck’s look-alikes, and every model let almost all of them through. The exceptions were in Arabic. Llama Guard 3 1B blocked 7.7% of ordinary Arabic requests, Llama Guard 4 6.0% and strict Qwen3Guard-4B 4.3%, against at most one English request in 300. Strict Qwen3Guard-4B also blocked 3.0% of Filipino requests.
6. Harmful requests written by real users
The Aya harmful prompts test a wider range of harm than hate speech, in prompts that people wrote themselves.
On these prompts, Filipino was the language most models did worse in. Every model except Llama Guard 4 let more harmful Filipino prompts through than English ones, in either setting. Qwen3Guard-8B in its loose setting missed 45% of Filipino prompts against 24% of English ones, and PolyGuard-Qwen 7B missed 32% against 10%. Neither Llama Guard nor PolyGuard claims Filipino.
Arabic was worse than English for loose Qwen3Guard at both sizes (42% and 39%, against 27% and 24%) and for Llama Guard 3 1B (66% against 45%). Hindi, which was the worst language for hate speech, was not worse than English on these prompts for any of the larger models.
The Llama Guards missed many harmful English prompts: 41% for Llama Guard 3 8B and 61% for Llama Guard 4. Aya’s categories of harm do not match Llama Guard’s list exactly, so some of these prompts may fall outside what Llama Guard is meant to block. Its gaps between languages are more informative than its rates.
Local harms. Harmful Arabic prompts that need local knowledge were missed more often than global ones by every model and setting. Qwen3Guard-8B in its loose setting missed 67% of the 58 local Arabic prompts and 33% of the 242 global ones; in English the figures were 29% and 20%. The local groups are small, so this is a lead rather than a result.
The five-point limit in question 3 is a pass mark a team could use before deploying a guard model. It fails a model when any language is worse than English by more than five points, even at the low end of the range. Strict Qwen3Guard at 4B and 8B, Llama Guard 3 8B and Llama Guard 4 12B passed. Loose Qwen3Guard at both sizes, PolyGuard-Qwen 7B and Llama Guard 3 1B failed on Filipino, and the 8B loose and the 1B also on Arabic. The Llama Guards passed partly because they missed so many English prompts that no language was much worse.
7. Does loading a model in 4 bits change its answers?
A check I planned before the 16-bit runs, judged by a method I chose afterwards. Qwen3Guard-4B and Llama Guard 3 1B ran twice on the same samples: in 4 bits on my card, and in 16 bits on Colab. Llama Guard 3 1B also ran on the full HateCheck set in 4 bits and in 32 bits, both on my card with the same 32-bit arithmetic, so that only the 4-bit loading differs. I compared their verdicts case by case. For each language and kind of case, I tested whether more cases changed in one direction than in the other, beyond what chance explains McNemar (1947), with the same widening for many comparisons.
| Model | Test set | Same verdict | What 4-bit loading changed, beyond chance |
|---|---|---|---|
| Qwen3Guard-4B, loose | HateCheck sample | 95.5% of 6,600 | 3 to 10 points more hate missed in six languages, the most in Arabic (10) and Hindi (8) |
| Qwen3Guard-4B, strict | HateCheck sample | 96.8% | Hindi only: 8 points more hate missed and 7 points fewer look-alikes flagged |
| Qwen3Guard-4B, loose | Aya | 96.4% of 4,403 | 4 to 10 points more harmful prompts missed in Arabic, Russian, Serbian and Filipino |
| Qwen3Guard-4B, strict | Aya | 98.7% | Nothing |
| Llama Guard 3 1B | HateCheck sample | 83.5% | 6 points more English hate missed, and 9 to 25 points more in nine other languages. 13 points more Hindi look-alikes flagged. |
| Llama Guard 3 1B, 4 against 32 bits | HateCheck, full set | 82.5% of 32,141 | 8 points more English hate missed, 14 to 23 points more in eight other languages and 8 points more in Arabic; 8 points less Hindi hate missed. 10 points more Hindi look-alikes flagged and 5 more Spanish. |
| Llama Guard 3 1B | Aya | 89.4% | 4 to 11 points more ordinary Arabic, Filipino and Hindi requests blocked; 8 points more harmful Hindi prompts missed and 10 points fewer Filipino ones |
For Qwen3Guard-4B, 4-bit loading made the model a little more permissive, most of all in Arabic and Hindi. Every gap I had reported for it kept its direction in 16 bits.
For Llama Guard 3 1B, the change was larger and uneven. Over the full set, in 4 bits it missed 17% of English hate and 42% to 70% in German, French, Dutch, Italian, Polish, Portuguese and Spanish; in 32 bits those were 10% and 26% to 47%. So in 4 bits the gaps between those languages and English were 1.2 to 1.6 times as large as they are. Hindi went the other way: in 4 bits the 1B missed less Hindi hate (60% against 69%) but flagged more harmless Hindi look-alikes (29% against 19%). On the Aya prompts it also produced over-blocking that mostly is not there in 16 bits: in 4 bits the 1B blocked 17.0% of ordinary Arabic requests and 13.7% of Filipino ones, and in 16 bits 7.7% and 3.0%.
The 16-bit format itself made almost no difference. On the 6,600 sample cases, the 1B gave the same verdict in 16 bits on Colab and in 32 bits on my card for 99.4% of them, and no language or kind of case changed beyond chance. So the changes above come from the 4-bit loading, not from the arithmetic or the card.
A correction. On 2 December I published the 4-bit numbers for Llama Guard 3 1B in the project’s results, including that it blocked one ordinary Arabic request in six and one Filipino request in seven, and that it flagged 30% of neutral Hindi mentions of a group. In 16 bits it blocked one Arabic request in 13, its Filipino rate could not be told apart from English, and it flagged none of the 40 neutral Hindi mentions. On the full HateCheck set, the 4-bit run had also shown it flagging more harmless Hindi look-alikes than English ones; in 32 bits it does not flag more in any language. The project’s results page now gives the 16-bit and 32-bit numbers and marks every 4-bit column.
Earlier work on general-purpose language models has found that quantization, the general name for storing a model’s numbers in fewer bits, affects some languages more than others Marchisio et al. (2024). For a test of fairness between languages, that makes the precision a model is loaded in part of what is being measured.
8. What could be wrong
- Llama Guard 4 12B ran only in 4 bits. On the two models I checked, 4-bit loading mostly made the model miss more hate, and more so outside English. If the same is true for Llama Guard 4, its results here are too pessimistic, both in its rates and in its gaps. Its full-precision run needs a GPU with more than 24 GB.
- The 4-bit format was the library’s default. The 4-bit runs used FP4, the default of the bitsandbytes library. NF4, another 4-bit format in the same library, is often more accurate, and I did not try it. So these results show what 4-bit loading did with that default, not with every 4-bit method.
- The 4-bit check of Qwen3Guard-4B also changed the arithmetic. My card computed in 32-bit numbers and the Colab GPU in a 16-bit format. For Llama Guard 3 1B, a 32-bit run showed this made almost no difference, but I did not check it for Qwen3Guard-4B.
- HateCheck is a set of targeted tests. Its cases are short and templated, and they probe particular behaviours, so its rates are not the rates these models would show on everyday text. It covers hate speech only, and not hate disguised by spelling.
- The English cases were written differently. The English HateCheck cases, which every other language is compared with, were written mainly by one researcher who is not a native English speaker and were reviewed by a native speaker Röttger et al. (2021). The other ten sets were written by native speakers. I do not know whether this makes the English cases easier or harder for these models, so I cannot say which way it would move the gaps.
- The two halves of the Aya test come from different sources. The harmful prompts were written to be harmful, and the harmless ones are ordinary requests. The harmless prompts have no safety label, and a few may be harmful. That would make over-blocking look higher than it is, and with rates this low a few prompts matter.
- The models may have seen these test sets. HateCheck was published in 2022 and Aya in 2024, before these models were trained. If the test cases were in their training data, the models would look better than they are, in whichever languages were included.
- Each model has its own policy. These are general safety models with their own lists of harms, and I read HateCheck as a test of hate speech against all of them. Some over-blocking, such as of profanity, may follow a model’s policy rather than be a mistake. Because a model’s policy is the same in every language, the gaps between languages are fairer comparisons than the rates.
- The Aya samples are small. With 300 prompts per language and kind, a gap needs to be about ten points to show up as beyond chance. Smaller gaps may exist there, as the full HateCheck set shows they do for hate speech.
9. What I take from this
None of these guard models protected speakers of other languages as well as English speakers, by the measure I used. For hate speech, Hindi and Arabic were the largest gaps for almost every model, including the languages a model’s developer lists as supported. A larger model made some gaps smaller but removed none of the largest. The settings that let the least hate through did so by blocking most harmless look-alikes in every language, and the two larger Llama Guards blocked more harmless text outside English as well.
These results do not show how often any of this happens on a real product’s traffic, which would have a different mix of languages, topics and harms. They also do not show which model is best for a given product; that depends on which mistakes cost the most there.
The 4-bit check changed how I would run a test like this. A model loaded in 4 bits to save memory can give different answers, and for the 1B they were larger outside English, in every language except Hindi. I would next like to run Llama Guard 4 at full precision, test a hosted moderation service, and add test sets in more languages that were written natively rather than translated.
Details for anyone who wants to check the work
A. Data
- HateCheck Röttger et al. (2021) for English and Multilingual HateCheck Röttger et al. (2022) for the other ten languages, both CC-BY-4.0, from the Hugging Face datasets
Paul/hatecheckandPaul/hatecheck-<language>, each pinned to a commit. The label islabel_gold, with “hateful” counted as harmful and “non-hateful” as harmless, and the kind of test isfunctionality. The comparison keeps only the kinds of test present in all eleven languages, which leaves out 8,169 cases: two harmless kinds (homonyms and reclaimed uses of slurs) and twelve kinds of spelling obfuscation. That leaves 32,141 cases. The sample takes 300 harmful and 300 harmless cases per language with seed 0, 6,600 in all. - Aya Red-teaming Aakanksha et al. (2024), Apache-2.0: the harmful prompts, 300 per language in Arabic, English, Filipino, French, Hindi, Russian, Serbian and Spanish, with the global or local label.
- Aya Dataset Singh et al. (2024), Apache-2.0: only the prompts marked as original annotations, which people wrote themselves (the dataset also has machine-generated prompts that people edited), counted as harmless; 300 per language, except Russian (116) and Serbian (87). 4,403 prompts in all.
- Nothing in the published reports contains a test text. I checked the three new report folders against all 212,129 texts of 15 characters or more in these datasets; none appear.
B. Models
| Model | Revision | Loaded in | Setting or reading |
|---|---|---|---|
| Qwen/Qwen3Guard-Gen-0.6B | pinned in open-guards-8gb.yaml |
32 bits, GTX 1070 | loose; strict |
| Qwen/Qwen3Guard-Gen-4B | 6ec4282 |
4 bits (GTX 1070) and 16 bits (L4) | loose; strict |
| Qwen/Qwen3Guard-Gen-8B | 4505cb1 |
16 bits, L4 | loose; strict |
| meta-llama/Llama-Guard-3-1B | acf7aaf |
4 bits and 32 bits (GTX 1070), 16 bits (L4) | any category; hate only (S10) |
| meta-llama/Llama-Guard-3-8B | 7327bd9 |
16 bits, L4 | any category; hate only |
| meta-llama/Llama-Guard-4-12B | 87acb4b |
4 bits, L4 | any category; hate only |
| ToxicityPrompts/PolyGuard-Qwen-Smol | pinned in open-guards-8gb.yaml |
32 bits, GTX 1070 | harmful request |
| ToxicityPrompts/PolyGuard-Qwen | 644bfe7 |
16 bits, L4 | harmful request |
Each model is prompted with its own chat template and generates at most 20 to 40 tokens. Its answer is read with a pattern: “Safety: Unsafe” (loose) or “Safety: Unsafe” or “Controversial” (strict) for Qwen3Guard, “unsafe” at the start for Llama Guard, and “Harmful request: yes” for PolyGuard. An answer that matches neither the blocked nor the allowed pattern is recorded as having no verdict and left out of the rates. 4-bit loading used bitsandbytes with its default settings (FP4, no double quantization), with 32-bit arithmetic on the GTX 1070 and 16-bit (bfloat16) arithmetic on the L4. 16-bit loading used bfloat16. Software: PyTorch 2.14.1, transformers 5.25.0, bitsandbytes 0.50.2, accelerate 1.16.0.
Before each long run on Colab, each model was tried on two cases from each cell and had to give a readable answer to at least 90% of them.
C. Full results
Every rate, interval and gap is in the reports in the project’s results/ folder, with a table per model and language in results/README.md. The numbers in this post come from figures/data.json, written by tools/post_analysis.py from those reports and from the per-case verdict files.
- Rates carry 95% Wilson score intervals Wilson (1927).
- Gaps carry Newcombe’s interval for the difference between two independent proportions, which combines the Wilson intervals of the two rates Newcombe (1998), widened with a Bonferroni correction for the number of languages compared with English (ten on HateCheck, seven on Aya).
- The recomputed gap weights each kind of test by its share among English cases, using only the kinds both languages have. Its interval is approximate.
- The 4-bit check uses the exact (binomial) two-sided form of McNemar’s test McNemar (1947) on the cases whose verdict changed, per language and kind of case, with a Bonferroni correction across all the cells of one model and test set (22 on HateCheck, 16 on Aya). The same test compares the 1B in 16 and 32 bits on the HateCheck sample.
Anomalies and gaps in the record:
- One case with no verdict. Llama Guard 4 gave one answer on the Aya prompts that matched neither pattern. It is left out of that model’s Aya rates.
- Llama Guard 3 1B on the full set ran in 32 bits, not 16. I configured a 16-bit run on Colab (
open-guards-colab-1b-full.yaml), but no L4 was available, and the cards that were do not support the 16-bit format the other runs used. The 1B fits in 32 bits on my 8 GB card, four cases at a time, using 7.5 GB at most. The comparison on the sample shows the two give the same answers on 99.4% of cases. - Qwen3Guard-4B’s full-set results are only in 16 bits. In 4 bits on my card it ran at 1.2 texts a second, too slow for the full set.
D. Decisions
| Decision | Reason |
|---|---|
| Compare each language with English | The question is whether other languages get the same protection as English, where these models are mostly tested |
| Use only the kinds of HateCheck test that every language has | Otherwise a language could look different only because it has different tests |
| Count a gap only when the plain and the recomputed gap agree | Guards against gaps caused by a different mix of tests; decided after the first results, and it can only remove gaps |
| Report both Qwen3Guard settings | Both are documented ways to use it, and they give very different results |
| Treat Aya Dataset prompts as harmless | It is the largest source of ordinary, natively written requests in these languages; the cost is that a few may be harmful |
| Load the 4B and 1B in 4 bits on the 8 GB card | Needed to fit them; checked afterwards against 16-bit runs, and the 1B against a 32-bit run on the full set |
| Load Llama Guard 4 in 4 bits on Colab | It does not fit in 24 GB at 16 bits |
| Use Wilson and Newcombe intervals rather than resampling | The tool computes them exactly from the counts, which keeps every number traceable to the counts in the reports |
E. Reproduction
- Code: github.com/kvenanzi/evenhand. The results are in
results/. The tool is evenhand, and the configurations are inexamples/hatecheck/andexamples/aya/. - Small models:
evenhand run examples/hatecheck/open-guards-8gb.yaml, the same forexamples/aya/open-guards-8gb.yaml,examples/hatecheck/open-guards-full.yamlandexamples/hatecheck/open-guards-1b-full-fp32.yaml, on a CUDA GPU with 8 GB. - Large models:
notebooks/colab_guards.ipynbon a Colab L4.notebooks/import_colab_results.pymerges its results into the local cache, after whichevenhand runonopen-guards-colab.yamlandopen-guards-colab-full.yamlrebuilds every report without loading a model. I rebuilt them this way and they matched the reports written on Colab in all 546 rates. - 4-bit check:
notebooks/compare_verdicts.py, andtools/post_analysis.pyfor this post’s numbers and figures. - Llama Guard is gated: accept Meta’s licence on each model page and log in to Hugging Face first.
- Compute: Colab L4: 9.3 hours of model time over 17 model runs, measured by the notebook. I did not record the compute units. Google does not publish a rate per hour, but users have measured 1.5 to 1.9 units an hour for an L4 (Fastero 2026, DEV Community 2026), which makes the model time about 14 to 18 units. This is an estimate and a lower limit: the session was also connected while models downloaded, between runs, and after the last run ended. GTX 1070: about 1.5 hours for Qwen3Guard-4B on the HateCheck sample, about 3.5 hours for the full set with the three faster small models, and 65 minutes for Llama Guard 3 1B in 32 bits on the full set.
How this was made
I chose the question, set the rules, and ran the GPU sessions on Colab. Claude Code wrote evenhand and its configurations, ran the local runs and the analysis, found the references, and drafted the post.
Claude checked each citation against its source: against the full text where an open copy existed, and against the abstract and later descriptions of the method for McNemar (1947), Newcombe (1998) and Wilson (1927).
References
New posts, occasionally
No schedule. Only when there is something worth writing down.


