Checking how many agents are working

How this works
Contacto
← Blog
A dark steel balance scale on a bench with two olive-lit trays holding small identical cards, the AMARBARO mark centered above it.
✎publicación de blog

How to tell if a local model is good enough for you

The short version

A model is good enough when it passes your own questions on repeated tries against a reference, and a single lucky answer proves nothing.

What this is about

You have a model running on your own machine. It answers. But is it good enough for what you want to do? Speed tables do not say. Public scores are about someone else's questions.

This article gives you a small home test. It uses your own questions, asks each more than once, and compares against something you trust. It is built on the mistakes we made, so you can skip them.

Why it matters

A model that sounds fluent can still be wrong, and a model can get lucky once. If you decide on one good answer, you may rely on something that fails half the time. If you decide on one bad answer, you may throw away a model that works.

What went wrong for us

We tested video generation settings and wrote two claims. We said that four generation steps cost about 0.03 in a score that measures how well a clip matches its caption. We also said that a lower frame rate dropped the score to 0.014. Both numbers came from one clip each.

Then we ran a second seed. A seed is the starting number for the model's random choices. Within one clip, changing the seed moved the score by 0.04 or more. That is larger than the gap we were trying to measure between the step counts. When we read three clips instead of one, four steps scored higher on average than eight: the means were 0.092 for four steps, 0.086 for eight and 0.076 for six. The one-clip reading and the average disagreed, and neither was strong enough to rank the options. We retracted both claims.

That test was about video, but the lesson applies to any model. Randomness is part of the output. One sample is a coin flip.

A second example, about passing information between models, shows the other side of care. We tested whether handing a second model eight raw internal vectors helped it solve tasks. The results on 120 tasks:

handoff correct share
nothing 27 of 120 22.5%
a text explanation 84 of 120 70.0%
eight raw vectors 26 of 120 21.7%

Text helped a great deal. The raw vectors did not help at all. We ran the test twice on the same 120 tasks. The second run only shows the result repeats. It does not show the result would hold on new tasks, and we say so.

The home test

Here is a test you can do in an evening, with no special tools.

1. Write down 15 to 20 of your own questions. Use real tasks you would give it: summarize this note, fix this snippet, answer this kind of question. A mix is better than all easy or all hard. Save them in a file, so you can rerun.

2. Decide what a good answer looks like before you look. For each question, write one line: what must the answer contain, or avoid. Do this first, so you do not bend the standard after seeing the output.

3. Pick a reference. This might be a larger model, a hosted model, or answers you know are right. You are comparing against it, not trusting it blindly. If you can, make some questions that have exact answers, such as a number or a short word.

4. Run each question at least three times. Use different seeds, or let the model's own randomness vary. If the answer changes between tries, that tells you something real about how steady it is.

5. Score each answer as pass or fail against your note. Better to be strict. Count passes per question, out of three.

6. Look at the failures, not only the count. Did it make things up? Misread the question? Run out of room? Different failures call for different fixes, such as a bigger model, a better prompt, or a longer context window.

7. Compare two models the same way. Same questions, same number of tries, same scoring. Change one thing at a time. If the two scores differ by about as much as one model's own spread between tries, its noise floor, you have not found a difference.

8. Check the size of the test. Three clips could not rank our options. A comparison needs enough questions that the gap is bigger than the noise. When in doubt, add more questions rather than more tries on the same few.

What the test does not tell you

It tells you about your questions, on your machine, on the day. It does not tell you the model is right in general. And if you change the file, say from a larger version to a smaller one, run the test again. For files that have been shrunk, see our earlier article on quantization.

Also keep in mind that a faster answer is not a better answer. Our own tables say plainly that speed rows and quality rows are separate things. One small model's row stays below the agreement bar in our engine's table, and we mark its figures unverified.

Ask others

If you are not sure how to score, or you want to compare your results with other people's, ask. Post your questions, your model, your machine and your pass counts at gllm.forum. Others running local models may have a question set you can borrow, or a failure you can recognize.

Words you may not know

  • Seed: the starting number for a model's random choices. A new seed gives a different answer.
  • Reference: something you compare a model's answers against.
  • Noise floor: how much a score moves from run to run for the same thing.
  • Retract: take back a claim you made, in public, because it did not hold.
  • Mean: the average of a set of results.
  • Agreement: how often a model gives the same answer as a reference.
  • Pass or fail: a plain yes-or-no score against a written standard.

Try it

  • Start your question list now. Write ten, and run the test on the smallest model you have.
  • Run a model with our engine, if you have a supported card, and compare it to a hosted one. See the mojo-baro project page for its quality rows and limits.
  • Share your results at gllm.forum, and say how many tries you ran.

Comentarios

Aún no hay comentarios.

Iniciar sesión para comentar.