Text Generation
Transformers
Safetensors
Dutch
English
qwen3
dutch
nederlands
instruction-tuned
question-answering
summarization
conversational
text-generation-inference
Instructions to use ToetsChecker-Research/boterham with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ToetsChecker-Research/boterham with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ToetsChecker-Research/boterham") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ToetsChecker-Research/boterham") model = AutoModelForCausalLM.from_pretrained("ToetsChecker-Research/boterham", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ToetsChecker-Research/boterham with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ToetsChecker-Research/boterham" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ToetsChecker-Research/boterham", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ToetsChecker-Research/boterham
- SGLang
How to use ToetsChecker-Research/boterham with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ToetsChecker-Research/boterham" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ToetsChecker-Research/boterham", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ToetsChecker-Research/boterham" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ToetsChecker-Research/boterham", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ToetsChecker-Research/boterham with Docker Model Runner:
docker model run hf.co/ToetsChecker-Research/boterham
Ronde 4: boterham-0.5B-r4-proef
Browse files- README.md +133 -179
- config.json +30 -30
- generation_config.json +7 -7
- model.safetensors +1 -1
- ronde4/beste.pt +3 -0
- ronde4/config.json +42 -0
- ronde4/log.csv +125 -0
- special_tokens_map.json +6 -6
- tokenizer_config.json +18 -18
README.md
CHANGED
|
@@ -11,7 +11,6 @@ tags:
|
|
| 11 |
- dutch
|
| 12 |
- nederlands
|
| 13 |
- instruction-tuned
|
| 14 |
-
- conversational
|
| 15 |
- question-answering
|
| 16 |
- summarization
|
| 17 |
- qwen3
|
|
@@ -23,17 +22,19 @@ tags:
|
|
| 23 |
|
| 24 |
### Model description
|
| 25 |
|
| 26 |
-
**Boterham 0.5B** is a compact
|
| 27 |
-
|
| 28 |
-
instruction-tuned for working with
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
The Hugging Face export uses the `Qwen3ForCausalLM` implementation because the
|
| 34 |
-
architectures are
|
| 35 |
-
fine-tune
|
| 36 |
-
from scratch.
|
| 37 |
|
| 38 |
| Property | Value |
|
| 39 |
|---|---|
|
|
@@ -43,45 +44,64 @@ from scratch.
|
|
| 43 |
| Attention heads | 20 query heads, 4 key/value heads |
|
| 44 |
| Context length | 2,048 tokens |
|
| 45 |
| Vocabulary | 32,002-token byte-level BPE |
|
| 46 |
-
| Languages | Primarily Dutch; some English
|
| 47 |
| License | Apache 2.0 |
|
| 48 |
|
| 49 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
-
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
- Dutch document summarization;
|
| 56 |
-
- arithmetic and short worked calculations;
|
| 57 |
-
- grammar and multiple-choice classification;
|
| 58 |
-
- Dutch-English translation;
|
| 59 |
-
- open questions, basic factual questions and short conversation.
|
| 60 |
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
|
|
|
| 64 |
|
| 65 |
### Training
|
| 66 |
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
|
| 86 |
### Usage with Transformers
|
| 87 |
|
|
@@ -94,165 +114,99 @@ import torch
|
|
| 94 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 95 |
|
| 96 |
model_id = "ToetsChecker-Research/boterham"
|
| 97 |
-
|
| 98 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 99 |
-
model = AutoModelForCausalLM.from_pretrained(
|
| 100 |
-
model_id,
|
| 101 |
-
dtype=torch.bfloat16 if torch.cuda.is_available() else torch.float32,
|
| 102 |
-
).to("cuda" if torch.cuda.is_available() else "cpu")
|
| 103 |
|
|
|
|
|
|
|
| 104 |
messages = [{
|
| 105 |
"role": "user",
|
| 106 |
"content": (
|
| 107 |
-
"
|
| 108 |
-
"Ik weet dit niet.\n\n"
|
| 109 |
-
"Tekst:
|
| 110 |
-
"Vraag: Hoe laat begint de vergadering?"
|
| 111 |
),
|
| 112 |
}]
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
messages,
|
| 116 |
-
tokenize=False,
|
| 117 |
-
add_generation_prompt=True,
|
| 118 |
-
)
|
| 119 |
-
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 120 |
-
|
| 121 |
with torch.inference_mode():
|
| 122 |
-
output = model.generate(
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
pad_token_id=tokenizer.pad_token_id,
|
| 128 |
-
)
|
| 129 |
-
|
| 130 |
-
generated = output[0, inputs.input_ids.shape[1]:]
|
| 131 |
-
raw = tokenizer.decode(generated, skip_special_tokens=False)
|
| 132 |
-
|
| 133 |
-
# Some prompts produce a private reasoning block before the final answer.
|
| 134 |
-
answer = raw.split("<|einde_denken|>")[-1].split("<|einde|>")[0].strip()
|
| 135 |
-
print(answer)
|
| 136 |
```
|
| 137 |
|
| 138 |
-
|
| 139 |
-
(
|
|
|
|
|
|
|
|
|
|
| 140 |
|
| 141 |
-
|
|
|
|
|
|
|
|
|
|
| 142 |
|
| 143 |
-
-
|
| 144 |
-
- `sft-0.5B/beste.pt`: best instruction-tuned native PyTorch checkpoint.
|
| 145 |
-
- `sft-0.5B/laatste.pt`: final native checkpoint including optimizer state,
|
| 146 |
-
intended for resuming training.
|
| 147 |
-
- `boterham-0.5B/`: original pretrained native checkpoints.
|
| 148 |
|
| 149 |
-
##
|
| 150 |
|
| 151 |
-
|
| 152 |
-
produce incorrect, fabricated or biased text. Factual claims about people,
|
| 153 |
-
dates, numbers, law, medicine or current events should not be trusted without
|
| 154 |
-
verification and supporting context. Its 2,048-token context window is short by
|
| 155 |
-
current standards. Open-ended conversation and creative writing received less
|
| 156 |
-
training emphasis than document-grounded tasks.
|
| 157 |
|
| 158 |
-
|
| 159 |
-
|
|
|
|
|
|
|
|
|
|
| 160 |
|
| 161 |
-
|
|
|
|
| 162 |
|
| 163 |
-
|
|
|
|
|
|
|
| 164 |
|
| 165 |
-
###
|
| 166 |
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
antwoord uit de tekst halen, de passage samenvatten, of aangeven dat gevraagde
|
| 172 |
-
informatie ontbreekt.
|
| 173 |
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
- extractieve vraagbeantwoording op basis van meegegeven tekst;
|
| 195 |
-
- onthouding wanneer het antwoord niet in de tekst staat;
|
| 196 |
-
- samenvatten van Nederlandse documenten;
|
| 197 |
-
- rekenen en korte uitgewerkte berekeningen;
|
| 198 |
-
- grammatica- en meerkeuzeclassificatie;
|
| 199 |
-
- Nederlands-Engelse vertaling;
|
| 200 |
-
- open vragen, eenvoudige feitenvragen en korte gesprekken.
|
| 201 |
-
|
| 202 |
-
Het belangrijkste gebruiksdoel is onderzoek naar Nederlandse NLP,
|
| 203 |
-
documentgestuurde assistenten en retrieval-augmented generation. Het model is
|
| 204 |
-
niet bedoeld voor beslissingen met grote gevolgen of als gezaghebbende
|
| 205 |
-
feitenbron.
|
| 206 |
|
| 207 |
### Training
|
| 208 |
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
apart gehouden validatievoorbeelden. De run duurde **2 epochs / 4.786
|
| 219 |
-
optimizerstappen** op vier NVIDIA L4-GPU's, met een maximale learning rate van
|
| 220 |
-
`5e-5` en een cosine schedule. Alleen antwoordtokens telden mee voor de loss;
|
| 221 |
-
de weging gebeurde globaal op basis van het aantal antwoordtokens. De beste
|
| 222 |
-
validatieloss was **0,8348**.
|
| 223 |
-
|
| 224 |
-
Waar mogelijk is de instructiedata opgebouwd uit controleerbare
|
| 225 |
-
brondocumenten. Extractieve antwoorden moeten letterlijk in de context staan,
|
| 226 |
-
bij onthoudingsvoorbeelden wordt gecontroleerd dat het antwoord ontbreekt, en
|
| 227 |
-
referentiesamenvattingen komen uit de broncollectie. Het model gebruikt de
|
| 228 |
-
Boterham-chattokens die in de gepubliceerde tokenizer zijn opgenomen.
|
| 229 |
-
|
| 230 |
-
### Gebruik met Transformers
|
| 231 |
-
|
| 232 |
-
Het Python-voorbeeld in de Engelse sectie is direct bruikbaar. De belangrijke
|
| 233 |
-
stappen zijn `AutoTokenizer.from_pretrained`,
|
| 234 |
-
`AutoModelForCausalLM.from_pretrained` en `tokenizer.apply_chat_template`.
|
| 235 |
-
Gebruik voor reproduceerbare evaluatie greedy decoding (`do_sample=False`) en
|
| 236 |
-
houd het antwoordformaat van de benchmark exact aan.
|
| 237 |
-
|
| 238 |
-
### Checkpoints in deze repository
|
| 239 |
-
|
| 240 |
-
- `model.safetensors` in de hoofdmap: compacte Transformers-export voor
|
| 241 |
-
inference en benchmarks.
|
| 242 |
-
- `sft-0.5B/beste.pt`: beste native PyTorch-checkpoint na instructiefinetuning.
|
| 243 |
-
- `sft-0.5B/laatste.pt`: laatste native checkpoint inclusief optimizerstaat,
|
| 244 |
-
bedoeld om training te hervatten.
|
| 245 |
-
- `boterham-0.5B/`: oorspronkelijke voorgetrainde native checkpoints.
|
| 246 |
-
|
| 247 |
-
### Beperkingen
|
| 248 |
-
|
| 249 |
-
Boterham is een klein experimenteel model. Het heeft beperkte wereldkennis en
|
| 250 |
-
kan onjuiste, verzonnen of bevooroordeelde tekst produceren. Feiten over
|
| 251 |
-
personen, datums, getallen, recht, geneeskunde of actuele gebeurtenissen mogen
|
| 252 |
-
niet zonder controle en ondersteunende context worden vertrouwd. Het
|
| 253 |
-
contextvenster van 2.048 tokens is naar huidige maatstaven kort. Open
|
| 254 |
-
conversatie en creatief schrijven kregen minder nadruk dan documentgebonden
|
| 255 |
-
taken.
|
| 256 |
-
|
| 257 |
-
Officiële EuroEval-benchmarkresultaten zijn nog niet gepubliceerd.
|
| 258 |
-
Validatieloss is een trainingsdiagnose en geen benchmarkscore.
|
|
|
|
| 11 |
- dutch
|
| 12 |
- nederlands
|
| 13 |
- instruction-tuned
|
|
|
|
| 14 |
- question-answering
|
| 15 |
- summarization
|
| 16 |
- qwen3
|
|
|
|
| 22 |
|
| 23 |
### Model description
|
| 24 |
|
| 25 |
+
**Boterham 0.5B** is a compact Dutch decoder-only language model by
|
| 26 |
+
ToetsChecker Research. It was pretrained from scratch on public-domain and
|
| 27 |
+
permissively licensed text only, and then instruction-tuned for working with a
|
| 28 |
+
document in the prompt: answer a question from a passage, say "Ik weet dit
|
| 29 |
+
niet." when the answer is not there, and summarize.
|
| 30 |
+
|
| 31 |
+
This repository holds **round 4** of the instruction tuning (November 2026).
|
| 32 |
+
The September release (round 1) is still available under the git tag
|
| 33 |
+
`ronde-1`.
|
| 34 |
|
| 35 |
The Hugging Face export uses the `Qwen3ForCausalLM` implementation because the
|
| 36 |
+
architectures are identical. **Boterham does not use Qwen weights and is not a
|
| 37 |
+
fine-tune of Qwen**; tokenizer and weights were trained from scratch.
|
|
|
|
| 38 |
|
| 39 |
| Property | Value |
|
| 40 |
|---|---|
|
|
|
|
| 44 |
| Attention heads | 20 query heads, 4 key/value heads |
|
| 45 |
| Context length | 2,048 tokens |
|
| 46 |
| Vocabulary | 32,002-token byte-level BPE |
|
| 47 |
+
| Languages | Primarily Dutch; some English |
|
| 48 |
| License | Apache 2.0 |
|
| 49 |
|
| 50 |
+
### Results
|
| 51 |
+
|
| 52 |
+
EuroEval 18.0.0, ten iterations per task, 95% interval over the iterations.
|
| 53 |
+
WikiLingua-nl was run on EuroEval 15.16.0 because that version still reports
|
| 54 |
+
BERTScore, the metric behind the GPT-NL figure.
|
| 55 |
+
|
| 56 |
+
The fair opponent is GPT-NL after instruction tuning (epoch 2, "our data (IT)"
|
| 57 |
+
in figure 21 of TNO report GPTNL-DEL-4002). GPT-NL has 26B parameters, about
|
| 58 |
+
fifty times as many.
|
| 59 |
+
|
| 60 |
+
| Task | Metric | Boterham 0.5B r4 | GPT-NL IT | GPT-NL base |
|
| 61 |
+
|---|---|---:|---:|---:|
|
| 62 |
+
| ScaLA-nl (grammar) | MCC | **29.50** ± 3.00 | 1.18 | 19 |
|
| 63 |
+
| SQuAD-nl (reading) | EM | **36.62** ± 0.97 | 34.37 | 51 |
|
| 64 |
+
| CoNLL-nl (names) | micro-F1 w/o MISC | **49.46** ± 2.76 | 47.82 | ~36 |
|
| 65 |
+
| DBRD (sentiment) | MCC | 40.15 ± 4.15 | **85.36** | ~90 |
|
| 66 |
+
| WikiLingua-nl (summaries) | BERTScore | 56.80 | **61.97** | 61 |
|
| 67 |
+
| HellaSwag-nl (common sense) | MCC | 1.15 ± 0.75 | **3.71** | -2 |
|
| 68 |
+
| MMLU-nl (knowledge) | MCC | -2.13 ± 0.86 | **2.28** | 2 |
|
| 69 |
+
|
| 70 |
+
Boterham is ahead of the instruction-tuned GPT-NL on grammar, reading and
|
| 71 |
+
names, and behind it on sentiment, summarization, common sense and knowledge.
|
| 72 |
+
On MMLU-nl and HellaSwag-nl both models are at chance level. The scores are
|
| 73 |
+
reproducible with `scripts/cloud/meten.sh` in the project repository.
|
| 74 |
|
| 75 |
+
### What it is good at, and what not
|
| 76 |
|
| 77 |
+
Good: short answers to a question about a text you supply, and refusing with
|
| 78 |
+
"Ik weet dit niet." when the text does not contain the answer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
|
| 80 |
+
Weak: summaries are short and mostly take the opening sentence of the text.
|
| 81 |
+
Facts without a text in the prompt, open conversation, creative writing, code
|
| 82 |
+
and anything after its training data are unreliable. On free-form input it
|
| 83 |
+
still gives wrong answers that look plausible; check them against the text.
|
| 84 |
|
| 85 |
### Training
|
| 86 |
|
| 87 |
+
1. Pretraining from scratch on about 8.0 billion tokens from
|
| 88 |
+
[ToetsChecker-Research/beleg](https://huggingface.co/datasets/ToetsChecker-Research/beleg):
|
| 89 |
+
Dutch government publications, legislation, parliamentary proceedings,
|
| 90 |
+
case law, Wikimedia and other open sources. No web crawl, no distillation
|
| 91 |
+
from another model.
|
| 92 |
+
2. Four rounds of instruction tuning, each continuing from the previous one:
|
| 93 |
+
|
| 94 |
+
| Round | Examples | Steps | Hardware |
|
| 95 |
+
|---|---:|---:|---|
|
| 96 |
+
| 1 | 575,211 | 4,786 (2 epochs) | 4x NVIDIA L4 |
|
| 97 |
+
| 2 | 315,248 | 1,006 (1 epoch) | 1x NVIDIA L4 |
|
| 98 |
+
| 3 | 210,122 | 1,213 (1 epoch) | 1x NVIDIA L4 |
|
| 99 |
+
| 4 | 222,316 | 1,247 (1 epoch) | 1x NVIDIA L4 |
|
| 100 |
+
|
| 101 |
+
Rounds 2 to 4 used a peak learning rate of `2e-5`. Round 4 has 24 task types
|
| 102 |
+
and is published as the `instructie-r4` configuration of the dataset. Loss
|
| 103 |
+
only counts answer tokens. Extractive answers must appear literally in the
|
| 104 |
+
context and abstention examples are checked to not contain the answer.
|
| 105 |
|
| 106 |
### Usage with Transformers
|
| 107 |
|
|
|
|
| 114 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 115 |
|
| 116 |
model_id = "ToetsChecker-Research/boterham"
|
|
|
|
| 117 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 118 |
+
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.float32)
|
|
|
|
|
|
|
|
|
|
| 119 |
|
| 120 |
+
tekst = "De vergadering begint vrijdag om 14.00 uur in Utrecht."
|
| 121 |
+
vraag = "Hoe laat begint de vergadering?"
|
| 122 |
messages = [{
|
| 123 |
"role": "user",
|
| 124 |
"content": (
|
| 125 |
+
"Beantwoord de vraag uitsluitend op basis van de tekst. Staat het "
|
| 126 |
+
"antwoord er niet in, antwoord dan precies: Ik weet dit niet.\n\n"
|
| 127 |
+
f"Tekst: {tekst}\n\nVraag: {vraag}"
|
|
|
|
| 128 |
),
|
| 129 |
}]
|
| 130 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 131 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
with torch.inference_mode():
|
| 133 |
+
output = model.generate(**inputs, max_new_tokens=64, do_sample=False,
|
| 134 |
+
eos_token_id=tokenizer.eos_token_id,
|
| 135 |
+
pad_token_id=tokenizer.pad_token_id)
|
| 136 |
+
raw = tokenizer.decode(output[0, inputs.input_ids.shape[1]:], skip_special_tokens=False)
|
| 137 |
+
print(raw.split("<|einde_denken|>")[-1].split("<|einde|>")[0].strip())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
```
|
| 139 |
|
| 140 |
+
This exact instruction is the one the model was measured on. Put the text on
|
| 141 |
+
one line (replace blank lines by spaces): with paragraph breaks the model tends
|
| 142 |
+
to copy a whole paragraph instead of the answer.
|
| 143 |
+
|
| 144 |
+
### Files in this repository
|
| 145 |
|
| 146 |
+
- `model.safetensors` and the tokenizer files: the round 4 model.
|
| 147 |
+
- `ronde4/beste.pt`, `config.json`, `log.csv`: native PyTorch checkpoint and
|
| 148 |
+
training log of round 4.
|
| 149 |
+
- `sft-0.5B/`, `boterham-0.5B/`: round 1 and pretraining checkpoints.
|
| 150 |
|
| 151 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
|
| 153 |
+
## Nederlands
|
| 154 |
|
| 155 |
+
### Wat het is
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
|
| 157 |
+
**Boterham 0.5B** is een compact Nederlandstalig taalmodel van ToetsChecker
|
| 158 |
+
Research. Het is vanaf nul voorgetraind op uitsluitend publiek domein en
|
| 159 |
+
permissief gelicentieerde tekst, en daarna getraind om met een document in de
|
| 160 |
+
prompt te werken: een vraag over een tekst beantwoorden, "Ik weet dit niet."
|
| 161 |
+
zeggen als het antwoord er niet in staat, en samenvatten.
|
| 162 |
|
| 163 |
+
Dit is **ronde 4** van het finetunen (november 2026). De versie van september
|
| 164 |
+
(ronde 1) staat nog in de repository onder de git-tag `ronde-1`.
|
| 165 |
|
| 166 |
+
De export gebruikt `Qwen3ForCausalLM` omdat de architectuur gelijk is.
|
| 167 |
+
**Boterham gebruikt geen Qwen-gewichten**; tokenizer en gewichten zijn vanaf
|
| 168 |
+
nul getraind.
|
| 169 |
|
| 170 |
+
### Scores
|
| 171 |
|
| 172 |
+
EuroEval 18.0.0, tien iteraties per taak. WikiLingua-nl op EuroEval 15.16.0,
|
| 173 |
+
omdat die versie nog BERTScore geeft, de maat achter het getal van GPT-NL. De
|
| 174 |
+
eerlijke tegenstander is GPT-NL na het finetunen (TNO-rapport GPTNL-DEL-4002,
|
| 175 |
+
figuur 21), een model van 26 miljard parameters.
|
|
|
|
|
|
|
| 176 |
|
| 177 |
+
| Taak | Maat | Boterham 0.5B r4 | GPT-NL IT | GPT-NL basis |
|
| 178 |
+
|---|---|---:|---:|---:|
|
| 179 |
+
| ScaLA-nl (grammatica) | MCC | **29,50** ± 3,00 | 1,18 | 19 |
|
| 180 |
+
| SQuAD-nl (lezen) | EM | **36,62** ± 0,97 | 34,37 | 51 |
|
| 181 |
+
| CoNLL-nl (namen) | micro-F1 zonder MISC | **49,46** ± 2,76 | 47,82 | ~36 |
|
| 182 |
+
| DBRD (sentiment) | MCC | 40,15 ± 4,15 | **85,36** | ~90 |
|
| 183 |
+
| WikiLingua-nl (samenvatten) | BERTScore | 56,80 | **61,97** | 61 |
|
| 184 |
+
| HellaSwag-nl (gezond verstand) | MCC | 1,15 ± 0,75 | **3,71** | -2 |
|
| 185 |
+
| MMLU-nl (kennis) | MCC | -2,13 ± 0,86 | **2,28** | 2 |
|
| 186 |
|
| 187 |
+
Boterham staat voor op grammatica, lezen en namen, en achter op sentiment,
|
| 188 |
+
samenvatten, gezond verstand en kennis. Op MMLU-nl en HellaSwag-nl zitten
|
| 189 |
+
beide modellen op gokniveau.
|
| 190 |
+
|
| 191 |
+
### Waar het goed in is, en waarin niet
|
| 192 |
+
|
| 193 |
+
Goed: een kort antwoord op een vraag over een tekst die je zelf meegeeft, en
|
| 194 |
+
"Ik weet dit niet." als het antwoord er niet in staat.
|
| 195 |
+
|
| 196 |
+
Zwak: samenvattingen zijn kort en nemen meestal de openingszin over. Feiten
|
| 197 |
+
zonder tekst erbij, vrij gesprek, creatief schrijven, code en alles van na de
|
| 198 |
+
trainingsdata zijn onbetrouwbaar. Ook op zijn sterke taken geeft het op vrije
|
| 199 |
+
invoer soms een fout antwoord dat er aannemelijk uitziet; controleer het
|
| 200 |
+
tegen de tekst.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
|
| 202 |
### Training
|
| 203 |
|
| 204 |
+
Voorgetraind op ongeveer 8,0 miljard tokens uit
|
| 205 |
+
[ToetsChecker-Research/beleg](https://huggingface.co/datasets/ToetsChecker-Research/beleg),
|
| 206 |
+
daarna vier finetunerondes die steeds op de vorige voortbouwen (zie de tabel
|
| 207 |
+
in de Engelse sectie). De data van ronde 4 staat in de dataset als configuratie
|
| 208 |
+
`instructie-r4`.
|
| 209 |
+
|
| 210 |
+
Het voorbeeld in de Engelse sectie gebruikt precies de opdracht waarop het
|
| 211 |
+
model gemeten is. Zet de tekst op één regel: met witregels erin neemt het
|
| 212 |
+
model vaak een hele alinea over in plaats van het antwoord.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
| 1 |
-
{
|
| 2 |
-
"architectures": [
|
| 3 |
-
"Qwen3ForCausalLM"
|
| 4 |
-
],
|
| 5 |
-
"model_type": "qwen3",
|
| 6 |
-
"attention_bias": false,
|
| 7 |
-
"attention_dropout": 0.0,
|
| 8 |
-
"bos_token_id": 1,
|
| 9 |
-
"eos_token_id": 18,
|
| 10 |
-
"pad_token_id": 0,
|
| 11 |
-
"head_dim": 64,
|
| 12 |
-
"hidden_act": "silu",
|
| 13 |
-
"hidden_size": 1280,
|
| 14 |
-
"initializer_range": 0.02,
|
| 15 |
-
"intermediate_size": 3456,
|
| 16 |
-
"max_position_embeddings": 2048,
|
| 17 |
-
"max_window_layers": 26,
|
| 18 |
-
"num_attention_heads": 20,
|
| 19 |
-
"num_hidden_layers": 26,
|
| 20 |
-
"num_key_value_heads": 4,
|
| 21 |
-
"rms_norm_eps": 1e-05,
|
| 22 |
-
"rope_scaling": null,
|
| 23 |
-
"rope_theta": 100000.0,
|
| 24 |
-
"sliding_window": null,
|
| 25 |
-
"use_sliding_window": false,
|
| 26 |
-
"tie_word_embeddings": true,
|
| 27 |
-
"torch_dtype": "float32",
|
| 28 |
-
"use_cache": true,
|
| 29 |
-
"vocab_size": 32002
|
| 30 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "qwen3",
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 1,
|
| 9 |
+
"eos_token_id": 18,
|
| 10 |
+
"pad_token_id": 0,
|
| 11 |
+
"head_dim": 64,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 1280,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 3456,
|
| 16 |
+
"max_position_embeddings": 2048,
|
| 17 |
+
"max_window_layers": 26,
|
| 18 |
+
"num_attention_heads": 20,
|
| 19 |
+
"num_hidden_layers": 26,
|
| 20 |
+
"num_key_value_heads": 4,
|
| 21 |
+
"rms_norm_eps": 1e-05,
|
| 22 |
+
"rope_scaling": null,
|
| 23 |
+
"rope_theta": 100000.0,
|
| 24 |
+
"sliding_window": null,
|
| 25 |
+
"use_sliding_window": false,
|
| 26 |
+
"tie_word_embeddings": true,
|
| 27 |
+
"torch_dtype": "float32",
|
| 28 |
+
"use_cache": true,
|
| 29 |
+
"vocab_size": 32002
|
| 30 |
+
}
|
generation_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
{
|
| 2 |
-
"bos_token_id": 1,
|
| 3 |
-
"eos_token_id": 18,
|
| 4 |
-
"pad_token_id": 0,
|
| 5 |
-
"do_sample": false,
|
| 6 |
-
"max_new_tokens": 256
|
| 7 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 1,
|
| 3 |
+
"eos_token_id": 18,
|
| 4 |
+
"pad_token_id": 0,
|
| 5 |
+
"do_sample": false,
|
| 6 |
+
"max_new_tokens": 256
|
| 7 |
+
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1953300248
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d2425836a4839859bfc77460089075552f8b5b6d7aed9a67cf5a833a6d9045f
|
| 3 |
size 1953300248
|
ronde4/beste.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46f2f342cfcd3c9aa1195882fa4a6633b75a77d5abee4301e7f129b01edd001b
|
| 3 |
+
size 1953381590
|
ronde4/config.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "runs/boterham-0.5B-r3/eind.pt",
|
| 3 |
+
"data": "data/instructie/ronde4-schoon.jsonl.gz",
|
| 4 |
+
"naam": "boterham-0.5B-r4-proef",
|
| 5 |
+
"max_len": 2048,
|
| 6 |
+
"micro_tokens": 6144,
|
| 7 |
+
"max_micro_batch": 128,
|
| 8 |
+
"bucket": 64,
|
| 9 |
+
"grad_accum": 11,
|
| 10 |
+
"compile": true,
|
| 11 |
+
"epochs": 1.0,
|
| 12 |
+
"lr": 2e-05,
|
| 13 |
+
"min_lr_frac": 0.05,
|
| 14 |
+
"warmup_frac": 0.03,
|
| 15 |
+
"weight_decay": 0.1,
|
| 16 |
+
"beta1": 0.9,
|
| 17 |
+
"beta2": 0.95,
|
| 18 |
+
"grad_clip": 1.0,
|
| 19 |
+
"val_frac": 0.02,
|
| 20 |
+
"val_max": 1000,
|
| 21 |
+
"eval_every": 100,
|
| 22 |
+
"log_every": 10,
|
| 23 |
+
"grad_checkpoint": false,
|
| 24 |
+
"optimizer": "adamw",
|
| 25 |
+
"stop_bij_uitwijken": true,
|
| 26 |
+
"geduld": 0,
|
| 27 |
+
"stopmaat": "taak",
|
| 28 |
+
"seed": 20250815,
|
| 29 |
+
"max_steps": 1247,
|
| 30 |
+
"batches_per_epoch": 13722,
|
| 31 |
+
"wereldgrootte": 1,
|
| 32 |
+
"herkomst": {
|
| 33 |
+
"git_commit": "",
|
| 34 |
+
"git_schoon": true,
|
| 35 |
+
"data_sha256": "4690ab4b3dd699467607e346a1c78b29ea9c0a27df7746d7d3002182160d819a",
|
| 36 |
+
"data_bytes": 111910976,
|
| 37 |
+
"tokenizer_bytes": 2338412,
|
| 38 |
+
"torch": "2.6.0+cu124",
|
| 39 |
+
"python": "3.12.3",
|
| 40 |
+
"gpu": "NVIDIA L4"
|
| 41 |
+
}
|
| 42 |
+
}
|
ronde4/log.csv
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
stap,epoch,train_loss,val_loss,lr,tokens_per_sec,vram_gb,seconden
|
| 2 |
+
10,0.008,1.05927,nan,5.405405405405406e-06,10729,16.99,60
|
| 3 |
+
20,0.016,1.14953,nan,1.0810810810810812e-05,10810,16.99,119
|
| 4 |
+
30,0.024,1.03595,nan,1.6216216216216218e-05,10722,16.99,179
|
| 5 |
+
40,0.032,0.95,nan,1.9999871919908303e-05,10798,16.99,239
|
| 6 |
+
50,0.04,1.06378,nan,1.999538947931449e-05,8809,16.99,311
|
| 7 |
+
60,0.048,1.13323,nan,1.998450648729829e-05,10759,17.0,372
|
| 8 |
+
70,0.056,1.04114,nan,1.996723027975153e-05,10707,17.0,432
|
| 9 |
+
80,0.064,0.94611,nan,1.994357250203694e-05,10760,17.0,491
|
| 10 |
+
90,0.072,1.06013,nan,1.991354910113839e-05,10742,17.0,551
|
| 11 |
+
100,0.08,1.07389,nan,1.987718031491149e-05,10813,17.0,611
|
| 12 |
+
110,0.088,0.97548,0.94506,1.98344906584419e-05,10761,17.0,694
|
| 13 |
+
120,0.096,1.04327,0.94506,1.9785508907520445e-05,10755,17.0,754
|
| 14 |
+
130,0.104,1.06352,0.94506,1.973026807924623e-05,10728,17.0,813
|
| 15 |
+
140,0.112,0.86804,0.94506,1.966880540977084e-05,10775,17.0,872
|
| 16 |
+
150,0.12,0.92234,0.94506,1.960116232919858e-05,10765,17.0,932
|
| 17 |
+
160,0.128,0.94272,0.94506,1.9527384433659705e-05,10731,17.0,991
|
| 18 |
+
170,0.136,1.00569,0.94506,1.944752145457549e-05,10753,17.0,1051
|
| 19 |
+
180,0.144,0.96004,0.94506,1.9361627225135745e-05,10783,17.0,1111
|
| 20 |
+
190,0.152,0.97927,0.94506,1.926975964401159e-05,10740,17.0,1170
|
| 21 |
+
200,0.16,1.00333,0.94506,1.9171980636327658e-05,10738,17.0,1229
|
| 22 |
+
210,0.168,1.06729,0.94162,1.9068356111920298e-05,10771,17.0,1319
|
| 23 |
+
220,0.176,1.02719,0.94162,1.8958955920909785e-05,10727,17.0,1379
|
| 24 |
+
230,0.184,0.98486,0.94162,1.8843853806616464e-05,10756,17.0,1439
|
| 25 |
+
240,0.192,0.99667,0.94162,1.872312735585264e-05,10790,17.0,1499
|
| 26 |
+
250,0.2,0.98468,0.94162,1.85968579466237e-05,10747,17.0,1558
|
| 27 |
+
260,0.208,0.9438,0.94162,1.8465130693273678e-05,10748,17.0,1618
|
| 28 |
+
270,0.216,0.92228,0.94162,1.8328034389112266e-05,10832,17.0,1677
|
| 29 |
+
280,0.224,1.02504,0.94162,1.8185661446562e-05,10707,17.0,1737
|
| 30 |
+
290,0.232,0.93339,0.94162,1.8038107834865843e-05,10743,17.0,1796
|
| 31 |
+
300,0.24,0.94226,0.94162,1.788547301539725e-05,10769,17.0,1856
|
| 32 |
+
310,0.249,0.94114,0.93888,1.7727859874616336e-05,10718,17.0,1946
|
| 33 |
+
320,0.257,0.96662,0.93888,1.7565374654717232e-05,10766,17.0,2005
|
| 34 |
+
330,0.265,0.97629,0.93888,1.739812688201348e-05,8779,17.0,2079
|
| 35 |
+
340,0.273,1.02147,0.93888,1.7226229293109704e-05,5574,17.0,2194
|
| 36 |
+
350,0.281,1.04504,0.93888,1.704979775890931e-05,5384,17.0,2314
|
| 37 |
+
360,0.289,1.01242,0.93888,1.6868951206509455e-05,5368,17.0,2433
|
| 38 |
+
370,0.297,0.96991,0.93888,1.6683811539035946e-05,5400,17.0,2553
|
| 39 |
+
380,0.305,1.06411,0.93888,1.6494503553472044e-05,5460,17.0,2671
|
| 40 |
+
390,0.313,0.97874,0.93888,1.6301154856536664e-05,5366,17.0,2790
|
| 41 |
+
400,0.321,1.15402,0.93888,1.6103895778668586e-05,5430,17.0,2909
|
| 42 |
+
410,0.329,0.90818,0.93992,1.5902859286174687e-05,5452,17.0,3069
|
| 43 |
+
420,0.337,0.89749,0.93992,1.569818089160142e-05,5414,17.0,3187
|
| 44 |
+
430,0.345,1.04575,0.93992,1.548999856238998e-05,5658,17.0,3303
|
| 45 |
+
440,0.353,0.9894,0.93992,1.527845262787664e-05,5298,17.0,3422
|
| 46 |
+
450,0.361,0.99664,0.93992,1.5063685684701075e-05,5333,17.0,3543
|
| 47 |
+
460,0.369,0.93826,0.93992,1.4845842500686289e-05,5316,17.0,3664
|
| 48 |
+
470,0.377,0.96445,0.93992,1.4625069917255098e-05,5318,17.0,3783
|
| 49 |
+
480,0.385,0.94642,0.93992,1.4401516750448806e-05,5311,17.0,3905
|
| 50 |
+
490,0.393,0.99571,0.93992,1.417533369061486e-05,5340,17.0,4025
|
| 51 |
+
500,0.401,1.06538,0.93992,1.394667320083109e-05,5324,17.0,4144
|
| 52 |
+
510,0.409,0.99405,0.93588,1.371568941413506e-05,5358,17.0,4311
|
| 53 |
+
520,0.417,0.96193,0.93588,1.3482538029627646e-05,5348,17.0,4431
|
| 54 |
+
530,0.425,1.01937,0.93588,1.3247376207521074e-05,5616,17.0,4545
|
| 55 |
+
540,0.433,0.96982,0.93588,1.3010362463202027e-05,5333,17.0,4664
|
| 56 |
+
550,0.441,0.97901,0.93588,1.277165656038126e-05,5532,17.0,4779
|
| 57 |
+
560,0.449,0.9594,0.93588,1.253141940340179e-05,5440,17.0,4897
|
| 58 |
+
570,0.457,1.04423,0.93588,1.228981292877819e-05,5487,17.0,5015
|
| 59 |
+
580,0.465,1.10061,0.93588,1.204699999604015e-05,5320,17.0,5135
|
| 60 |
+
590,0.473,0.9464,0.93588,1.1803144277953846e-05,5424,17.0,5254
|
| 61 |
+
600,0.481,0.94309,0.93588,1.1558410150195144e-05,5393,17.0,5374
|
| 62 |
+
610,0.489,0.91912,0.93409,1.1312962580548978e-05,5508,17.0,5537
|
| 63 |
+
620,0.497,1.00744,0.93409,1.1066967017709633e-05,5461,17.0,5654
|
| 64 |
+
630,0.505,0.97319,0.93409,1.0820589279756823e-05,5332,17.0,5773
|
| 65 |
+
640,0.513,0.96217,0.93409,1.0573995442382812e-05,5441,17.0,5891
|
| 66 |
+
650,0.521,1.05471,0.93409,1.032735172694587e-05,5354,17.0,6011
|
| 67 |
+
660,0.529,0.94729,0.93409,1.008082438842555e-05,5486,17.0,6128
|
| 68 |
+
670,0.537,0.97398,0.93409,9.834579603355268e-06,5386,17.0,6247
|
| 69 |
+
680,0.545,0.9262,0.93409,9.588783357807829e-06,5480,17.0,6364
|
| 70 |
+
690,0.553,0.99513,0.93409,9.343601335509257e-06,5494,17.0,6481
|
| 71 |
+
700,0.561,0.96369,0.93409,9.099198806156498e-06,5413,17.0,6600
|
| 72 |
+
710,0.569,0.95286,0.93264,8.855740514014153e-06,5868,17.0,6758
|
| 73 |
+
720,0.577,0.92889,0.93264,8.61339056686542e-06,5649,17.0,6872
|
| 74 |
+
730,0.585,1.00977,0.93264,8.372312325392058e-06,5499,17.0,6989
|
| 75 |
+
740,0.593,0.98259,0.93264,8.132668293057962e-06,5463,17.0,7106
|
| 76 |
+
750,0.601,0.89737,0.93264,7.894620006570537e-06,5578,17.0,7220
|
| 77 |
+
760,0.609,1.03675,0.93264,7.65832792699375e-06,5440,17.0,7339
|
| 78 |
+
770,0.617,1.00834,0.93264,7.423951331586247e-06,5624,17.0,7453
|
| 79 |
+
780,0.625,0.96556,0.93264,7.191648206437427e-06,5462,17.0,7571
|
| 80 |
+
790,0.633,0.98393,0.93264,6.9615751399738415e-06,5467,17.0,7688
|
| 81 |
+
800,0.641,1.02904,0.93264,6.733887217407741e-06,5633,17.0,7803
|
| 82 |
+
810,0.649,0.98396,0.93072,6.508737916198877e-06,5509,17.0,7966
|
| 83 |
+
820,0.657,0.95145,0.93072,6.286279002600045e-06,5609,17.0,8079
|
| 84 |
+
830,0.665,0.87041,0.93072,6.0666604293561e-06,5575,17.0,8195
|
| 85 |
+
840,0.673,0.8623,0.93072,5.8500302346253925e-06,5546,17.0,8311
|
| 86 |
+
850,0.681,0.95306,0.93072,5.636534442191779e-06,5469,17.0,8427
|
| 87 |
+
860,0.689,1.01702,0.93072,5.426316963034475e-06,5600,17.0,8540
|
| 88 |
+
870,0.697,0.98232,0.93072,5.219519498322049e-06,5544,17.0,8657
|
| 89 |
+
880,0.705,0.9151,0.93072,5.016281443896e-06,5553,17.0,8772
|
| 90 |
+
890,0.713,1.03621,0.93072,4.8167397963083114e-06,5546,17.0,8887
|
| 91 |
+
900,0.721,1.01426,0.93072,4.62102906047625e-06,5610,17.0,9000
|
| 92 |
+
910,0.729,0.96764,0.92953,4.4292811590167095e-06,5489,17.0,9159
|
| 93 |
+
920,0.738,0.93532,0.92953,4.241625343321234e-06,5632,17.0,9273
|
| 94 |
+
930,0.746,1.03418,0.92953,4.058188106431593e-06,5481,17.0,9391
|
| 95 |
+
940,0.754,0.98428,0.92953,3.879093097774713e-06,6263,17.0,9495
|
| 96 |
+
950,0.762,0.88374,0.92953,3.7044610398143587e-06,10726,17.0,9554
|
| 97 |
+
960,0.77,0.91546,0.92953,3.534409646675837e-06,10814,17.0,9614
|
| 98 |
+
970,0.778,1.00645,0.92953,3.3690535447984917e-06,10770,17.0,9674
|
| 99 |
+
980,0.786,0.95318,0.92953,3.208504195669545e-06,10742,17.0,9733
|
| 100 |
+
990,0.794,0.9799,0.92953,3.0528698206913032e-06,10761,17.0,9793
|
| 101 |
+
1000,0.802,0.90368,0.92953,2.9022553282324363e-06,10789,17.0,9854
|
| 102 |
+
1010,0.81,0.99537,0.92846,2.7567622429124443e-06,10761,17.0,9943
|
| 103 |
+
1020,0.818,0.96859,0.92846,2.6164886371670332e-06,10781,17.0,10003
|
| 104 |
+
1030,0.826,0.99159,0.92846,2.481529065140482e-06,10724,17.0,10063
|
| 105 |
+
1040,0.834,1.03594,0.92846,2.351974498949581e-06,10692,17.0,10123
|
| 106 |
+
1050,0.842,0.83285,0.92846,2.2279122673621185e-06,10771,17.0,10183
|
| 107 |
+
1060,0.85,0.99689,0.92846,2.10942599693123e-06,10745,17.0,10242
|
| 108 |
+
1070,0.858,0.95481,0.92846,1.996595555625305e-06,10700,17.0,10301
|
| 109 |
+
1080,0.866,0.99698,0.92846,1.8894969989914192e-06,10750,17.0,10361
|
| 110 |
+
1090,0.874,0.95825,0.92846,1.7882025188886353e-06,10749,17.0,10420
|
| 111 |
+
1100,0.882,1.01438,0.92846,1.6927803948256652e-06,10748,17.0,10481
|
| 112 |
+
1110,0.89,0.95523,0.92742,1.6032949479357545e-06,10804,17.0,10570
|
| 113 |
+
1120,0.898,0.95792,0.92742,1.5198064976197685e-06,10781,17.0,10630
|
| 114 |
+
1130,0.906,0.95879,0.92742,1.44237132088673e-06,10757,17.0,10689
|
| 115 |
+
1140,0.914,0.91318,0.92742,1.3710416144192142e-06,10783,17.0,10749
|
| 116 |
+
1150,0.922,0.85289,0.92742,1.3058654593891615e-06,10721,17.0,10809
|
| 117 |
+
1160,0.93,0.94345,0.92742,1.2468867890478323e-06,10761,17.0,10868
|
| 118 |
+
1170,0.938,0.93285,0.92742,1.1941453591117383e-06,10714,17.0,10928
|
| 119 |
+
1180,0.946,0.93013,0.92742,1.1476767209645421e-06,10806,17.0,10988
|
| 120 |
+
1190,0.954,1.02732,0.92742,1.107512197692953e-06,10737,17.0,11048
|
| 121 |
+
1200,0.962,0.97512,0.92742,1.073678862972792e-06,10717,17.0,11107
|
| 122 |
+
1210,0.97,0.96761,0.9268,1.0461995228194544e-06,10775,17.0,11196
|
| 123 |
+
1220,0.978,0.93664,0.9268,1.0250927002150777e-06,10752,17.0,11255
|
| 124 |
+
1230,0.986,0.88107,0.9268,1.010372622622762e-06,10695,17.0,11314
|
| 125 |
+
1240,0.994,0.94012,0.9268,1.002049212396276e-06,10739,17.0,11374
|
special_tokens_map.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
{
|
| 2 |
-
"bos_token": "<s>",
|
| 3 |
-
"eos_token": "<|einde|>",
|
| 4 |
-
"pad_token": "<pad>",
|
| 5 |
-
"unk_token": "<unk>"
|
| 6 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"eos_token": "<|einde|>",
|
| 4 |
+
"pad_token": "<pad>",
|
| 5 |
+
"unk_token": "<unk>"
|
| 6 |
+
}
|
tokenizer_config.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
-
{
|
| 2 |
-
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 3 |
-
"model_max_length": 2048,
|
| 4 |
-
"bos_token": "<s>",
|
| 5 |
-
"eos_token": "<|einde|>",
|
| 6 |
-
"pad_token": "<pad>",
|
| 7 |
-
"unk_token": "<unk>",
|
| 8 |
-
"clean_up_tokenization_spaces": false,
|
| 9 |
-
"additional_special_tokens": [
|
| 10 |
-
"<|gebruiker|>",
|
| 11 |
-
"<|boterham|>",
|
| 12 |
-
"<|systeem|>",
|
| 13 |
-
"<|einde|>",
|
| 14 |
-
"<|denken|>",
|
| 15 |
-
"<|einde_denken|>"
|
| 16 |
-
],
|
| 17 |
-
"chat_template": "{% for bericht in messages %}{% if bericht['role'] == 'system' %}<|systeem|>{{ '\\n' + bericht['content'] + '\\n' }}{% elif bericht['role'] == 'user' %}<|gebruiker|>{{ '\\n' + bericht['content'] + '\\n' }}{% else %}<|boterham|>{{ '\\n' + bericht['content'] }}<|einde|>{% endif %}{% endfor %}{% if add_generation_prompt %}<|boterham|>{{ '\\n' }}{% endif %}"
|
| 18 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 3 |
+
"model_max_length": 2048,
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"eos_token": "<|einde|>",
|
| 6 |
+
"pad_token": "<pad>",
|
| 7 |
+
"unk_token": "<unk>",
|
| 8 |
+
"clean_up_tokenization_spaces": false,
|
| 9 |
+
"additional_special_tokens": [
|
| 10 |
+
"<|gebruiker|>",
|
| 11 |
+
"<|boterham|>",
|
| 12 |
+
"<|systeem|>",
|
| 13 |
+
"<|einde|>",
|
| 14 |
+
"<|denken|>",
|
| 15 |
+
"<|einde_denken|>"
|
| 16 |
+
],
|
| 17 |
+
"chat_template": "{% for bericht in messages %}{% if bericht['role'] == 'system' %}<|systeem|>{{ '\\n' + bericht['content'] + '\\n' }}{% elif bericht['role'] == 'user' %}<|gebruiker|>{{ '\\n' + bericht['content'] + '\\n' }}{% else %}<|boterham|>{{ '\\n' + bericht['content'] }}<|einde|>{% endif %}{% endfor %}{% if add_generation_prompt %}<|boterham|>{{ '\\n' }}{% endif %}"
|
| 18 |
+
}
|