← All articles

AI & AGI

Measuring a Bilingual LLM aka Higher Is Better, Except When It Isn't

The small Bilingual Canadian LLM (v2) scores within about a point of the full-size original. Getting there meant learning to work with the numbe…

A flat mid-century poster of two construction workers in hard hats with clipboards, one pointing up at cranes building tall striped towers like rows of a spreadsheet

Let's start by revisiting my inspiration; I started this project as an attempt to build a better base LLM for my work on VoxRelay.ca, and realized that there wasn't a reliable small footprint model that would fit within my toolchain.

It didn't take long to realize that having a bespoke, Canadian focused, model in EN/FR wasn't the big win. The real success would be quantifying this LLM against a set of recognized tests that could help others validate that this model might be useful for real world use. And following down that rabbit hole, it became clear that v1 of the Qwen3.8-27B Bilingual Canadian build wasn't there yet.

And while some talk the talk, I chose to lean in and walk the walk. In the 7 - 8 days since the initial release, I have been testing, optimizing and continuing to source better material for the model. That led me to Université Laval's COLE benchmark for Québec French, and to a slew of other LLM builds working in the same area. The refinement wasn't only about adding data. It was about improving the results through scoring, and through changing how the models are built. Layer by layer, test by test, it was an exercise in asking questions, waiting for results, and discussing the scores.

To be clear, I am not a data scientist, but through this project / procedure, I am bringing back these insights for us to noodle on.

Which way is better?

From the top, every number in a model report points one way or the other. If you don't know which, you can't tell a win from a loss.

Higher is better for test scores. On the official Québec French grammar test, v2 scores 0.803 and the full-size original 0.802. That's not a win. It means "the same", and that was the goal.

Lower is better for:

  • Drift. How far the small file's answers wander from the original's. v2 picks the same next word as the original about 95 times in 100, in English, French and Québec French alike.
  • Memory. v2 runs in about 16 GB of GPU memory. The original needs over 50.
  • Broken answers. Empty replies, or the same phrase repeated over and over.

Lower isn't always better, though. The 2-bit test file had fewer missing accents and fewer stray English sentences than the original. On paper it looked cleaner. Reading the answers showed why: it was looping, repeating itself instead of writing new sentences, so there was less text to get wrong. It didn't ship.

The direction tells you what a number means. Reading the answers tells you whether to believe it.

Claude note: 2-bit file, long French answers: repeated phrases 2.34% vs 0.33% for the original, missing-accent words 0.16 vs 0.22 per 1,000. KL divergence from the original (lower is closer): 4-bit 0.009, 3-bit 0.036, 2-bit 0.11.

Same test, different answer

To see how v2 measures against the rest, it was compared with Cohere's Aya Expanse 32B, a respected multilingual model and a natural reference point for French.

Running the same tests on Aya turned up three surprises. None of them had anything to do with French.

  • The grammar test. Aya often gave its answer, "0" or "1", and then explained its reasoning. The scorer expects the answer alone, so it marked about one answer in six as unreadable. Scored that way, Aya gets 0.670. Read the answer it actually gave, and it gets 0.807.
  • The tool test. The official protocol asks models to answer through a tool. Aya ignored it and replied in its own tool format, which standard serving software doesn't read. Score: 0.02. That measures a mismatch, not a model.
  • The instruction test. Aya's file tags the end of every reply with a marker that standard software prints as text. Tests that check how an answer ends ("finish with this phrase") failed on the marker. Removing it raised Aya's English score by 17 points.

The lesson goes for anyone reading a leaderboard, including ours: before you trust a number, check how the answers were read. If your own setup gives different numbers, it may be your harness and not the model. A small change to how answers are read can be worth more than a new model. It's also important to work to have consistent answers from the model structured in a repeatable and insightful result.

Claude note: Aya QFrCoLA (official protocol, text mode) 0.670 as scored, 0.807 reading its leading answer; 1,235 of 7,546 answers recovered. IFEval prompt-strict: EN 0.506 → 0.680, FR 0.475 → 0.612 after removing the end-of-turn marker, scored with lm-evaluation-harness's own filters.

The fair comparison

Why Cohere? Cohere is one of Canada's AI leaders, a Toronto company building models for business, with French as a first-class language. Aya Expanse is its open multilingual model, close in size to this build (32 billion parameters against 27 billion), and it can be downloaded and run on your own hardware the same way. If a Canadian business is weighing a model for English and French work, Aya is one of the first names on the list. That makes it the most meaningful yardstick for a small Canadian bilingual build, and a respected one.

To be clear about what this comparison is and isn't: Aya Expanse came out in October 2024. It's still Cohere's latest open multilingual model in this size class, but it isn't Cohere's current best. Its newer models are either far larger (Command A is about four times the size and needs more than one GPU) or built for one job, like code or translation. This is a like-for-like comparison at the one-card size, not a claim against Cohere's flagship models.

With Aya's numbers corrected in its favour, we compare it to the v2 build:

CAN EN/QueFR
Qwen3.8-27B
Aya Expanse
Cohere 32B
File tested (download size) 4-bit, 16.8 GB 8-bit, 34.3 GB
Smallest GPU it fits on 24 GB 48 GB
Québec French grammar (QFrCoLA) 0.803 0.807
Choosing the correct sentence (QFrBLiMP) 0.895 0.839
Québec expressions (QFrCoRE) 0.894 0.624
Québec terms (QFrCoRT) 0.901 0.778
Following instructions, English / French 0.813 / 0.754 0.680 / 0.612
School maths (GSM8K) 0.967 0.873
Maths asked in French (MGSM FR) 0.872 0.808

Claude note: COLE scores use the official COLE protocol; Aya's QFrCoRE and QFrCoRT are also corrected for "La réponse est N" answers.

v2 leads clearly on Québec expressions and terms, on following instructions and on maths. On grammar, the two are tied. Being upfront about the tie is what makes the wins believable.

The setup also favours Aya. Like most open models, both started out at 16 bits per weight, the precision they were trained at. To fit on everyday hardware, each gets stored with fewer bits, and fewer bits means each of the model's numbers is a little less exact. Aya ran from an 8-bit file, which keeps it very close to its original. v2 runs from a 4-bit file, half the bits, which is how it fits on one 24 GB card. Aya is also the bigger model (32 billion parameters against 27 billion). On paper, more bits and more parameters should give Aya the edge.

Consistency is the product

A business putting a model into its workflow needs the same answer tomorrow as today. That shapes how v2 is measured:

  • No randomness. Every test runs at temperature 0, so the same question gets the same answer.
  • The official tests, run the official way, plus the same gate for every build. A new version has to clear the last one's numbers.
  • Every answer published. The evaluation set holds every answer behind every score, so the numbers can be checked line by line.
  • Our own mistakes on the record. The 2-bit file that looked cleaner and looped. The civic questions v2 still gets wrong (Bill 96 details), listed on the model card.

Use it, check it, build on it

The work lives in two places, and each has its own job:

  • Hugging Face holds the model. The model files to download and run, and the evaluation set with every answer behind every score.
  • GitHub holds the documentation. The guide to running it, the full results, how everything was measured, the version history, and the place to raise an issue or send a fix.

Ollama carries the same files, so one command is all it takes to try it.

The tests can be rerun on any setup. Where numbers differ, the "How we measured" notes explain the usual reasons.

Organisations that can provide GPU time or want to collaborate on Canadian bilingual AI can get in touch.

This work builds on Qwen open models. It is an independent project by Humanjava Enterprises and is not made or endorsed by the Qwen team or Cohere.

← All articles