2 December 2026

Merge Decision 4B: Teaching a small model to resolve merge conflicts

I fine-tuned Qwen3 4B into Merge Decision 4B, a small open model that resolves git merge conflicts in Java. It is right on half of the conflicts it has never seen, 12 points above the best rule that uses no model, and when it answers only what it is sure of it is right about seven times in ten. This is the whole account, including what did not work.

Model weightsDataset

Summary

Merge Decision 4B against the alternatives, on the same conflictsExact match on my test set: 402 conflicts from 30 repositories the model never saw, scored once. Every entry was scored on the same conflicts. The light figure in each tip also counts answers that differ only in spacing or comments.
  • Merge Decision 4B
    49.3%
  • Rule-based merge
    37.1%
  • Published recipe, 14B
    27.1%
  • Qwen3 14B, untrained
    21.4%
  • Qwen3 4B, untrained
    9.7%

The lead over the best rule holds when whole repositories are drawn again at random: it stays between about 7 and 18 points. The model is right where the rule is wrong on 82 conflicts, and wrong where the rule is right on 33.

  • What it is. Merge Decision 4B is Qwen3 4B[2], a small open language model, fine-tuned with LoRA[3] on 8,132 real merge conflicts from public Java repositories. It reads one conflict and says which of the existing lines to keep.
  • What it achieves. Asked to resolve every conflict, it gives exactly what the developer committed on half of them. On the same conflicts, with the same prompt, untrained Qwen3 14B manages 21% and untrained Qwen3 4B 10%; the best rule with no model 37%; and a model trained the published way 27%.
  • How it is meant to be used. It gives a confidence with each answer. Answering only above 0.75, it is wrong on about one conflict in eleven, where answering everything it is wrong on one in two.
  • What did not work. Reinforcement learning added nothing. A larger model added nothing. The settings copied from published work had to be changed before anything worked at all.

The weights are published on Hugging Face.

The problem

Two people change the same lines of a file on two branches. When the branches are merged, git cannot tell which change is wanted, so it stops and asks. That is a merge conflict.

1One file

RecordConsumer.java

void startGroup();void endGroup();void addInt(int value);void addString(String value);void addBoolean(boolean value);

A file in a Java project declares one method for each kind of value it stores. One of them is addInt.

2Two people change it at the same time

Side A renames addInt

void startGroup();void endGroup();void addInteger(int value);void addString(String value);void addBoolean(boolean value);

Side B adds addLong

void startGroup();void endGroup();void addInt(int value);void addLong(long value);void addString(String value);void addBoolean(boolean value);

Each works on a copy, called a branch. On side A, someone renames the method to addInteger. On side B, someone else keeps addInt and adds addLong just below it.

3Git cannot merge these lines

RecordConsumer.java, after git merge stopped

void startGroup();void endGroup();<<<<<<< side Avoid addInteger(int value);||||||| how it was beforevoid addInt(int value);=======void addInt(int value);void addLong(long value);>>>>>>> side Bvoid addString(String value);void addBoolean(boolean value);

When the two branches are merged, the rest of the file combines by itself. These lines do not: both sides changed them, and git cannot tell which change is wanted. It writes both into the file, with the lines as they were before between them, and stops.

4Someone has to choose

Keep side A

void addInteger(int value);

Wrong.Side B’s new method is lost.

Keep side B

void addInt(int value);void addLong(long value);

Wrong.Side A’s rename is undone.

Keep both sides

void addInteger(int value);void addInt(int value);void addLong(long value);

Wrong.The old name comes back beside the new one.

A’s line, then B’s new line

void addInteger(int value);void addLong(long value);

Right.What the developer committed.

Each choice is a handful of lines that are already there. Only one is what the developer meant, and git cannot tell which: it never reads what the code does.

This project asks whether a small model can make that choice. It is mostly a matter of choosing, not of writing: in my data the developer kept one whole side in 60% of conflicts, and some arrangement of lines that were already there in 83%. Only one conflict in six needed a line that neither side had.

Small open models cannot do this as they come. I scored three of them on Merge-Bench[1], a public benchmark of merge conflicts, before training anything. The best resolved 12% of its Java conflicts. They did not mostly answer wrongly: they handed three conflicts in four straight back, unresolved.

Measure first

Following Hugging Face’s Smol Training Playbook[5], I built the scoring tool before any training, checked it against published numbers, and then scored something simpler than any model: a rule that never looks at the code.

On the public benchmark, a rule beats a trained modelExact match on the Java test set of a public benchmark, 806 conflicts. Its prompts show the two sides only, so my model, which needs the lines as they were before, is not on this chart. Every model is grey; the two rules take the colour of the side they keep.
  • Qwen3 14B, untrained
    12.2%
  • Keep side A
    33.7%
  • Published fine-tune, 14B
    36.6%
  • Published fine-tune, replicated
    42.2%
  • Keep side B
    45.7%
  • LLMergeJ, 14B
    48.8%
  • Gemini 2.5 Pro
    54.7%

Always keeping side B, the incoming branch, scores 45.7% with no model at all. From then on every number here is shown beside a rule like it.

A model that scores below such a rule has learned less than a recipe that ignores the code. So a trained model here is judged by three things, not one: how often it is right, how often it is right when it chooses to answer, and how often it gives a wrong answer.

The data

The benchmark turned out to be easier than real work. A few very large merges, in which the developer kept one side throughout, supply a large share of its test set. So I mined my own.

  • 10,480 conflicts from 609 public Java repositories under Apache, MIT and BSD licences. For each: the two sides, the lines as they were before either branch changed them, and what the developer committed.
  • Checked against the benchmark. On five of the benchmark’s own repositories my miner reproduced 166 of its 167 conflicts and answers.
  • No more than five conflicts from any one merge, so that one large merge cannot dominate.
  • Split by repository. The model is tested on repositories it has never seen a line of.

The data set is published on Hugging Face.

What the model does

Most answers reuse lines that are already in the conflict. So the model does not write code. Every line gets a label, and the model answers with the labels of the lines to keep, in order: KEEP A1 B2. Ordinary code then rebuilds the block. When no arrangement of existing lines will do, it answers NEW and writes the lines.

Each answer comes with a confidence: the probability the model gave to its own answer. Below a threshold, the conflict is left for the developer. Here are three real conflicts from repositories the model never trained on, with the answers it gave.

1What the model reads

abstract public void endGroup();
Side A
A1abstract public void addInteger(int value);
Original
O1abstract public void addInt(int value);
Side B
B1abstract public void addInt(int value);
B2abstract public void addLong(long value);
abstract public void addString(String value);

2Its answer

KEEPA1B2

Confidence 0.81. Sure enough: it answers.

3The block, rebuilt from those lines

A1abstract public void addInteger(int value);
B2abstract public void addLong(long value);

✓ Same as the developerSide A’s renamed method and side B’s new one. Exactly what the developer committed.

What mattered in training

I began by copying a published training run exactly, to prove my setup on a number someone else had measured. The first copy scored 1%. Its answers were right far more often than that, but it wrote them as bare code and the scoring tool only reads code blocks. With that one thing fixed, my copy scored 42.2% against the published 36.6%.

Then I moved to my own data and changed one thing at a time. Two changes mattered a great deal. Two that I expected to matter did not.

What each change was worthExact match on 400 validation conflicts. Each row changes one thing and holds the rest the same.
  • A learning rate 100 times larger+19.8 points
    26.5%46.3%
  • Showing the original lines+14.0 points
    32.3%46.3%
  • Choosing lines in place of writing codeWithin what a new seed changes
    46.3% and 48.3%
  • A model three and a half times largerNo real difference
    49.8% and 50.3%

Choosing lines did not raise the score. It gave the same score with answers a seventh as long, and a cleaner confidence. The smaller model gave the same score in a third of the time, so it became the model.

Show these numbers as a table
ChangeBeforeAfterWhat was compared
A learning rate 100 times larger26.5%46.3%Written code, with the original lines, one pass. The published rate worked on the benchmark and not on mine.
Showing the original lines32.3%46.3%Written code, one pass, at the larger learning rate. The benchmark’s prompts leave these lines out.
Choosing lines in place of writing code46.3%48.3%One pass, seed 3407. With a second seed: 45.8% and 46.3%. On the test set, Qwen3 14B scored 50.2% writing code and 51.5% and 50.7% choosing lines.
A model three and a half times larger49.8%50.3%Chosen lines, three passes. A second 14B run scored 49.3%. The 4B model trains in 44 minutes, the 14B in 131.

The learning rate is worth a second look. I had copied it, with everything else, from the published setup. With it, a 14-billion-parameter model scored below a rule of a few lines of code. The loss fell as it trained, as it should. Only the score on conflicts the model had never seen showed that something was wrong.

Where it is strong, and where it is weak

It is strong where the answer is made of lines that already exist, and weak where a new line is needed.

Right by what the developer didExact match on 400 validation conflicts. The tip on each bar says how many conflicts are of that kind.
  • Keeps both sides
    63.6%
  • Keeps one side
    62.6%
  • Mixes lines
    51.9%
  • Needs new code
    3.8%

Where the developer wrote a line that is on neither side, the model is right on 3 conflicts in 78. It answers with new code far too seldom; this is its weakest point.

Knowing when to hand over

A model that is wrong half the time is not something to let loose on a merge. What makes it usable is that its confidence means something. Put its answers in order, the surest first, and the surest are right far more often.

The surer it is, the more often it is rightHow often the model is right, when it answers only its surest conflicts. Test set, 402 conflicts.

At the default threshold of 0.75 the model answers 34.8% of conflicts and is right on 69.3% of those. Trained a second time, it answers 28.6% and is right on 74.8%. Wrong answers fall from one conflict in two to about one in eleven.

Show these numbers as a table
Answer when the confidence is at leastShare answeredRight when it answersWrong answers, of all conflicts
0.6057.5% and 48.8%63.6% and 65.3%20.9% and 16.9%
0.7042.0% and 35.6%67.5% and 71.3%13.7% and 10.2%
0.7534.8% and 28.6%69.3% and 74.8%10.7% and 7.2%
0.8026.6% and 19.9%69.2% and 77.5%8.2% and 4.5%
0.8517.9% and 13.7%75.0% and 81.8%4.5% and 2.5%

It is not enough to trust the tool alone. There is no threshold at which the model is reliably right eight times in ten. And its confidence has a blind spot: on conflicts that need a new line it is nearly always wrong, and often sure all the same.

Reinforcement learning

The published work[1] gained most from reinforcement learning: let the model answer, check each answer against the developer’s, and push it towards the answers that were right. I ran the same method, GRPO[4], on the fine-tuned model.

The practice score rose. The real score did not.Reinforcement learning from the fine-tuned model, 300 steps, at a tenth of the published learning rate. The published rate and a smaller one did no better. The grey line is the average score, over each 50 steps, on the conflicts it was practising on. The other two are on 400 validation conflicts it had never seen.

On conflicts it had not seen, the model stayed where it was. It became surer without becoming right more often, so the confidence that the hand-over depends on got worse. The published weights are the model as it was before.

Show these numbers as a table
StepsRight on unseen conflictsRight on its surest 40%
049.5%71.2%
10050.0%64.4%
20050.0%62.5%
30048.5%61.9%

The likely reason is plain in hindsight. The conflicts it practised on were the ones it had already been fine-tuned on. Being scored on them again taught it those conflicts, not how to resolve new ones. A third pass of fine-tuning added nothing either, and neither did a model three times the size. Every model I trained makes largely the same mistakes.

Training setup

The settings of the published weights. The run went on for a third pass, which added nothing; the weights are from the end of the second.

Base model
Qwen3 4B, loaded in 4-bit for training, with thinking off. Scored on the full-precision model.
Method
LoRA fine-tuning, rank 128, alpha 128
Training examples
8,132 conflicts from 549 repositories
Passes over the data
2, which is 2,032 steps
Learning rate
0.0001, cosine schedule, 5 warm-up steps
Batch
2 examples, with gradients gathered over 4 steps
Optimiser
AdamW, 8-bit
Loss counted on
The answer only
Seed
3407
Libraries
Unsloth 2026.11.12, PyTorch 2.14.1, Transformers 5.17.0, TRL 1.15.0, PEFT 0.22.0
Hardware
One NVIDIA L40S, 48 GB, rented for each session
Training time
44 minutes for three passes; about 30 for the two that are published

Training curves

Each chart has its own scale. Move across a chart to read the value at any step.

Training loss of the published modelAveraged over 25 stepsEach step

Loss on a log scale, by training step.The two passes the published weights come from. The second pass starts at step 1,017.The numbers behind this chart

Infrastructure

Everything ran on one rented graphics card at a time and a laptop.

Compute
One NVIDIA L40S with 48 GB of memory, rented on RunPod for each session and shut down when its job ended. Everything was trained and scored on it, one job at a time.
Storage
A RunPod network volume that keeps the base models, the kept checkpoints and copies of every result between sessions. Before a model was served, it was copied onto the machine's own memory and checked against its published hashes.
Laptop
Mining the repositories, cleaning the data, scoring the rules that use no model, and keeping every result file. No GPU.
Serving and scoring
vLLM 0.34.0, with the public benchmark's own scoring code, used unchanged.
Training
Unsloth 2026.11.12, PyTorch 2.14.1, Transformers 5.17.0, TRL 1.15.0 and PEFT 0.22.0.
Records
Training curves and full benchmark runs in Weights & Biases; the code, the data, every score and a log of each step in git.
Safeguards
Every job ran under a guard that shuts the machine down when the job ends or a time limit passes, and a timer that shuts it down whatever happens.

Timeline

Each row is one session on the rented GPU, the first day being Day 1.

DaySession on the GPU
Day 1Three untrained models scored on the public benchmark's Java conflicts
Day 2The same three models on the benchmark's ten other languages
One untrained model shown more or less of each conflict
Day 3A short training run, to test saving, resuming and scoring
The published fine-tuning, copied exactly
The same, with the training answers in a code block
The published recipe, trained on my own data
A machine ended at once by a faulty safety timer
The same, with the original lines shown
Day 4Three learning rates compared
Choosing lines in place of writing code
Second runs with another seed, and a run of three passes
Three passes of each answer format, and another seed
Day 5The 14B models scored on the test set
Qwen3 4B and 8B trained the same way
Old checkpoints and models removed from the storage
The kept checkpoints copied to the laptop
The 4B model's confidence measured, and a second 4B run
The 4B models scored on the test set
A short trial of reinforcement learning
Reinforcement learning at two smaller learning rates
The reinforcement-learning checkpoints removed from the storage
Qwen3 14B and 4B, untrained, scored on the test set

Limitations

  • Java only. No other language has been trained on.
  • Made to answer every conflict, it is wrong on half of them. It is meant to be used with its confidence, and even then about three answers in ten are not what the developer chose.
  • It is weak where new code is needed. About one conflict in six needs a line that is on neither side, and the model gets about 4% of those.
  • It needs the original lines of each conflict. Without them it was not trained and should not be used.
  • Conflicts of up to 30 lines a side. Larger ones were left out of the training data.
  • A match with the developer's merge is not proof that a merge is correct, and a different answer is not always a wrong one.
  • It does not run or check the merged code. A tool that uses it should at least check that the result still parses.
  • The scores come from one test set of 402 conflicts in 30 repositories. A different 30 repositories would move them by a few points.

Findings

What was learnt in training this model, including what went wrong. Open one to read it.

Confidence: the model's own probability is worth something, and not enoughAnswering only when the probability it gave its own answer is at least 0.75, the model answers about a third of the test conflicts and is right on 69% and 75% of them in two training runs. Answering everything, it is right on 50%.

A model that is wrong on half the conflicts it resolves cannot be left alone with a merge. It can still be useful if it knows which half. So I measured whether it does.

What I measured

The model takes its most likely answer, and I record the probability it gave to every token of it. The confidence is those probabilities multiplied together, the decision to stop included. I then put the answers in order, the surest first.

On my 402 test conflicts, in two training runs:

Answer when the confidence is at least Share answered Right when it answers Wrong answers, of all conflicts
No threshold 100% 49.3% and 50.2% 50.7% and 49.8%
0.60 57.5% and 48.8% 63.6% and 65.3% 20.9% and 16.9%
0.75 34.8% and 28.6% 69.3% and 74.8% 10.7% and 7.2%
0.85 17.9% and 13.7% 75.0% and 81.8% 4.5% and 2.5%

A rule with no model, which merges what it can and hands back the rest, answers 32.8% of the same conflicts and is right on 54.5%.

What it shows

  • The confidence carries real information. A right answer has a higher confidence than a wrong one about 72% of the time. By the size of the conflict, which is the obvious thing to try, it is 54%, barely better than a coin.
  • The threshold was chosen on other data and still held. I picked 0.75 on the validation set and expected about 68% right on a third of the conflicts. The test set gave 69% and 75%.
  • It is not enough to trust the tool alone. No threshold reliably reaches eight right answers in ten.
  • It has a blind spot. Where the answer needs a line that is on neither side, the model is nearly always wrong and often sure. It cannot be unsure about a line it was never shown.

What did not improve on it

Three things were tried on the saved answers, and none did better than the confidence alone: answering only where two training runs agree, judging by the form of the answer, and a small learned score built from fifteen features. Two runs give the same answer on four conflicts in five, and where they agree they are right only a little more often. Their mistakes are shared, not random.

A mistake in the first measurement

The first version left out the model’s decision to stop. For the answer KEEP alone, which keeps no lines, that decision is the whole answer, so those answers looked 99% sure while being right 60% of the time. Reading the saved probabilities found it. With the decision to stop counted, the surest fifth of answers went from 65% right to 72.5%.

Reinforcement learning: the practice score rose and the real score did notReinforcement learning on top of the fine-tuned model left exact match on unseen conflicts between 47.5% and 50.3%, where it was 49.5% before. It also made the model surer without making it right more often.

The published work this project started from gained most of its score from reinforcement learning: the model answers, each answer is checked against what the developer committed, and the model is pushed towards the answers that were right. I ran the same method, GRPO, on my fine-tuned model.

What I saw

Three learning rates, up to 300 steps each, scored on my 400 validation conflicts.

Learning rate Steps Exact match Right on its surest 40%
Before reinforcement learning 0 49.5% 71.2%
0.00005, the published value 50 47.5% 56.9%
0.000005 300 48.5% 61.9%
0.000001 300 50.3% 63.1%
  • Nothing moved on conflicts the model had not seen. Every checkpoint is inside what a different seed alone produces.
  • The score on the conflicts it practised on rose the whole time, from 0.63 to 0.82 at the middle rate.
  • The model became surer without becoming right more often. Before, 4 answers in 400 had a confidence over 0.95. After 300 steps at the middle rate, 235 did. A threshold of 0.75 then let through twice as many conflicts, and they were right far less often.

Why

The conflicts it practised on were the ones it had already been fine-tuned on. It already got 72.5% of those right, against 49.5% of new ones. Being scored on them again taught it those conflicts, not how to resolve new ones.

The published learning rate was also far too large here. Their model started untrained; mine started from one that already answers. At their rate, within 50 steps, all sixteen of the model’s answers to a conflict earned the same in seven conflicts out of ten, which leaves nothing to learn from.

What I took from it

  • Watch more than the score. Exact match barely changed. The damage was to the confidence, which no accuracy number shows.
  • A setting copied from a paper belongs to that paper’s starting point. This is the second time a copied learning rate was wrong for me, in the opposite direction from the first.
  • I kept the model as it was before. The published weights have no reinforcement learning in them.
Learning rate: the value from the published setup was too lowWith the learning rate taken from the published setup, the trained model scored below a rule that uses no model. A learning rate 100 times larger raised exact match on the validation set from 26.5% to 46.3%.

I start every model from a setup that already works. For the merge decision model that meant copying the training settings of a published result, including its learning rate of 0.000001.

On the published benchmark, the copied setup worked. On my own data it did not.

What I saw

  • The trained model lost to a rule. A 14-billion-parameter model, trained for three passes, scored 31.6% exact match on my test set. A rule that merges the two sides word by word, with no model at all, scored 37.1%.
  • More training barely helped. Over three passes, the validation score went 29.0%, 31.5%, 31.8%.

A large trained model beaten by a few lines of code, and almost no gain from more training: both pointed at the settings, not at the data.

The test

I ran one pass over the data at three learning rates, and changed nothing else. Each was scored on my 400 validation conflicts.

Learning rate Exact match
0.000001, the copied value 26.5%
0.00001 44.3%
0.0001 46.3%

Ten times larger added 18 points. A hundred times larger added 20. Training was stable at all three.

Why the copied value was so small

In the published work’s own table, the larger learning rates score between 0% and 8%. I think I know why.

Their training answers were bare code, with no code block around them. A model that learned those answers well wrote bare code too, and the scoring tool only reads code inside a code block. So the better the model learned, the worse it scored. Only a learning rate too small to change the model’s habits survived.

I had already put my training answers in a code block, after my first run hit the same scoring problem. With that in place, a normal learning rate works.

What I took from it

  • When a copied setting only works at an odd value, find out why before building on it.
  • Compare with a rule that uses no model. Without that line I would have read 31.6% as progress.
  • The test took 2 hours 37 minutes on one rented GPU.
Scoring: answers written without a code block were not countedThe first full training run scored about 1% under strict scoring. Its answers were written as bare code, which the scoring tool does not read. Read as code, the same answers score 40.7% exact match.

My first full training run copied a published setup exactly. When it finished, the scoring tool gave it about 1% exact match. The published number for the same setup is 36.6%.

What I did

Before changing anything, I read the model’s replies.

They were correct far more often than 1% of the time. But the model wrote its code bare, with no code block around it, because that is how the training answers were written. The scoring tool looks for a code block. Finding none, it counted nearly every reply as no answer.

What the model really scored

How it was scored Exact match on the Java test set
Strictly, as the tool does by default About 1%
With bare replies read as code 40.7%
A second run, trained with each answer in a code block, scored strictly 42.2%
The published result 36.6%

The second run is the one I kept. It answers in a form the scoring tool reads, so no special handling is needed.

What I took from it

  • Before believing a surprising score, read the replies. A bad number can be a matter of format, not ability.
  • A score measures the scoring tool as well as the model. The tool has to be checked against real replies before its numbers mean anything.
  • Train the model to answer in the form you will score.
Baselines: rules that use no modelOn a public benchmark's Java test set, always keeping one side of a merge conflict scores 45.7% exact match, against 36.6% for a published fine-tuned model. Each result on this site is therefore reported beside such a rule.

Before training anything, I scored a few rules that use no model on a public benchmark of merge conflicts. One of them is as simple as a rule can be: always keep side B.

What the rule scored

On the benchmark’s Java test set:

Exact match
The best of three untrained small models About 12%
A published fine-tuned 14B model 36.6%
Always keep side B, no model 45.7%

A rule that never reads the code beats the published trained model by 9 points.

Why the rule does so well there

The benchmark puts no limit on how many conflicts one merge may supply. Its six largest Java merges supply 40% of the test set, and in each of them the developer kept one whole side in 91% to 100% of the conflicts. A model, or a rule, that learns that habit scores well without understanding any conflict.

What changes on cleaner data

I built my own dataset with at most 5 conflicts from any one merge. On its test set:

Exact match
Always keep side A, the best such rule 29.9%
A word-by-word merge against the original lines, else keep side A 37.1%
My first trained model, shown the two sides only 27.1%

With the habit gone, the guessing rule falls to 29.9%, and my first trained model was no better than guessing.

What I took from it

  • A score with no simple baseline next to it says little. Every result I publish is shown beside a rule that uses no model.
  • Look at where a test set comes from before trusting a number measured on it.
  • The line to beat is the best rule, not the untrained model. On my data that is the word-by-word merge.

Licence

The weights are under Apache 2.0, the same licence as the base model. See the licence policy for the detail and for how to credit the project.

References

  1. Benedikt Schesch and Michael D. Ernst. Merge-Bench: Resolve Merge Conflicts with Large Language Models. ICPR 2026. arXiv:2605.25890. The benchmark, its scoring code, the published fine-tuning recipe, LLMergeJ and the published scores of Gemini 2.5 Pro. arxiv.org/abs/2605.25890
  2. Qwen Team. Qwen3 Technical Report. arXiv:2505.09388, 2025. The base models, Qwen3 4B, 8B and 14B. arxiv.org/abs/2505.09388
  3. Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang and Weizhu Chen. LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022. arXiv:2106.09685. arxiv.org/abs/2106.09685
  4. Zhihong Shao et al. DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. arXiv:2402.03300, 2024. Where GRPO, the reinforcement learning used here, was introduced. arxiv.org/abs/2402.03300
  5. Elie Bakouch, Ed Beeching, Carlos Miguel Patiño, Clémentine Fourrier, Thibaud Frere, Anton Lozhkov, Colin Raffel, Leandro von Werra and Thomas Wolf. The Smol Training Playbook. Hugging Face, 2025. The working rules this project followed. huggingface.co/spaces/HuggingFaceTB/smol-training-playbook
  6. Woosuk Kwon et al. Efficient Memory Management for Large Language Model Serving with PagedAttention. SOSP 2023. vLLM, used to serve every model that was scored. arxiv.org/abs/2309.06180
  7. Unsloth, used for fine-tuning. github.com/unslothai/unsloth
  8. TRL, used for reinforcement learning. github.com/huggingface/trl