Views
No views yet
step_14250step_14250, the current best scalar decayed checkpoint found in the
medium GPT2PreLN 13.5k decay family.step_14250.pt20260629_resume-gpt2medium-gpt2preln-k20-wsddecayonly-rerunmissing-lr3p5294e5-anchor20k-final2e5-webwiki-step14200-to1485020260628_resume-gpt2medium-gpt2preln-k20-wsddecayonly-lr2e-4-anchor20k-final2e5-webwiki-step13500stable-recipe-gpt2medium-gpt2preln-k20-wsd-lr2e-4-anchor20k-final2e5-webwikistep_13500.ptstep_14200.pt2500 tokensarchitecture: gpt2, block_type: gpt2_prelayernorm337,671,424337,639,424RTX 4060 Ti 16GB) for training, GPU benchmarked selectionstep_13500 died on disk-full save failures
after step_14200, so the missing cooldown tail was replayed from step_14200
through step_14850.13.5k family.step_14250: val_loss_mixed = 4.4419step_14700: val_loss_mixed = 4.4436step_14850: val_loss_mixed = 4.4521step_13500: val_loss_mixed = 4.4652step_14150: val_loss_mixed = 4.4705step_14200: val_loss_mixed = 4.4967step_14250 is the best scalar checkpoint seen so far in the whole evaluated
13.5k decay familystep_13500 by about 0.0233 on
val_loss_mixedstep_14150) by
about 0.0286step_14250val_loss_mixed = 4.4419val_loss_en = 4.3881val_loss_it = 3.5969ppl_mixed = 84.9386loop_rate = 0.425distinct_2 = 0.5617repeated_4gram_rate = 0.775language_consistency_en = 0.825language_consistency_it = 0.950cloze_en_contains = 0.12cloze_it_contains = 0.2214700 and 14850 stay very close, but do not beat it13.5k branch”202605141153_fineweb50_wiki50_50en_50it_score100_2500context_5Btokens_tok_20260515_en50it50_webwiki_stratified_500M2500 tokens2500source_balanced0.05epfml/FineWeb-HQ)epfml/FineWeb2-HQ)google/wiki40b)google/wiki40b)2500248239,904step_14250 saw approximately:3.4186320B tokens totalK = 10.1241 tokens per parameter relative to the native training-time parameter countstep_14250.ptstep_14250.safetensorsmodel.safetensorsconfig.jsontraining_config.yamlbest_validation.jsonmetrics.jsonleval_metrics.jsonlprobe_generations.jsonlsummary.jsoncomparison.jsoncomparison.csvmetrics.jsonmetrics.csvsource_losses.jsonreport.mdgenerations.jsonlgenerations_comparison.mdcloze_results.jsonl1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4repo_id = "nazdef/gpt2medium-en-it-nanochat-gpt2preln-decay13500-step14250"
5
6tokenizer = AutoTokenizer.from_pretrained(repo_id)
7model = AutoModelForCausalLM.from_pretrained(repo_id)
8
9prompt = "La capitale d'Italia è"
10prompt_ids = tokenizer(prompt, return_tensors="pt", add_special_tokens=False)
11bos = torch.tensor([[tokenizer.bos_token_id]], dtype=prompt_ids["input_ids"].dtype)
12input_ids = torch.cat([bos, prompt_ids["input_ids"]], dim=1)
13attention_mask = torch.ones_like(input_ids)
14
15outputs = model.generate(
16 input_ids=input_ids,
17 attention_mask=attention_mask,
18 do_sample=True,
19 max_new_tokens=64,
20 temperature=0.8,
21 top_k=50,
22 top_p=0.95,
23 repetition_penalty=1.1,
24 eos_token_id=tokenizer.eos_token_id,
25 pad_token_id=tokenizer.pad_token_id,
26)
27print(tokenizer.decode(outputs[0], skip_special_tokens=True))CC-BY-SA-4.0 as the practical downstream
posture for the mixed training corpus used here.