Safetensors
GGUF
conversational
maternion commited on
Commit
c70c8ec
·
verified ·
1 Parent(s): 8c951c4

Add README: WIP status, training lineage, eval snapshots, artifact warnings

Browse files
Files changed (1) hide show
  1. README.md +63 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ base_model: inclusionAI/Ling-3.0-tiny
4
+ library_name: safetensors
5
+ ---
6
+
7
+ # ling3-tiny-coder-ckpts — work-in-progress (PAUSED)
8
+
9
+ > **Status: paused / unfinished.** This repo stores intermediate artifacts from a
10
+ > personal experiment: fine-tuning [Ling-3.0-tiny](https://huggingface.co/inclusionAI/Ling-3.0-tiny)
11
+ > (7.9B Bailing-hybrid MoE, KDA+MLA) into a C++ competitive-programming coder on
12
+ > Kaggle TPU v5e-8 with LoRA adapters. Development is inactive — the items here are
13
+ > training artifacts, not a finished model. Layout may change if work resumes.
14
+
15
+ ## What is in this repo (and what is NOT)
16
+
17
+ - **Not a mergeable/checkpoint-loadable model.** The `checkpoints/*.safetensors`
18
+ are flat-key LoRA adapter + optimizer-state dumps written by a custom JAX
19
+ training loop (attention LoRA r=32 + per-expert `down_proj` LoRA r=16).
20
+ They are only readable by the project's training/eval notebooks — they will
21
+ NOT load with `transformers`/`peft` as-is.
22
+ - `models/` contains the only directly usable artifacts: two early-SFT merged
23
+ GGUF exports (Q4_K_M / Q8_0 / bf16 + chat template). These are from an early
24
+ mid-SFT point and are noticeably weaker than later checkpoints (see evals).
25
+ - `evals/` stores raw LiveCodeBench-v6 (60-problem sample) + OJBench result JSONs.
26
+ - `latest.json` / `routing_counts.npz` / `llama-bin-cache.tar.gz` are pipeline
27
+ bookkeeping (resume pointer, MoE expert-usage counters, llama.cpp build cache).
28
+
29
+ ## Training lineage
30
+
31
+ | Stage | Checkpoint | Steps | Data | Notes |
32
+ |---|---|---|---|---|
33
+ | SFT | `sft-21750` | 21,750 | R1 reasoning traces (codeforces-cots) + Magicoder thinking-off, ~178M tok, 2 epochs | completed |
34
+ | CPT | `cpt-2903` | 2,903 | raw C++ (Stack-v2) acclimation, 24M tok | completed; **best eval to date** |
35
+ | agentic (v22) | `agentic-600` | 600 | SWE-smith C++ patches | partial |
36
+ | calib | `calib-19460` | 19,460 | convergence-calibrated SFT (branch-filtered traces, loop removal), 4 epochs from `cpt-2903` weights-only | completed 2026-09 |
37
+
38
+ The `calib` stage was an attempt to fix the dominant failure mode — on hard
39
+ problems the model reasons correctly but never emits code (runs out of tokens
40
+ inside reasoning loops). Data curation per arXiv:2604.01702 (branching-keyword
41
+ filter, loop removal, step deletion) + 4× more epochs.
42
+
43
+ ## Eval snapshots (LLM-generated, exec-checked; LiveCodeBench v6 sample)
44
+
45
+ | Checkpoint | pass@1 | case pass rate | GGUF quant |
46
+ |---|---|---|---|
47
+ | sft-14000 | 43.3% | 41.1% | Q4_K_M |
48
+ | sft-14000 | 26.7% | 26.7% | Q8_0 (early broken run) |
49
+ | cpt-2903 | 51.7% | 39.7% | Q4_K_M |
50
+ | calib-19460 | 48.3% | 36.4% | Q4_K_M |
51
+
52
+ Honest bottom line: easy problems ≈ solved (100% at cpt-2903), but the
53
+ convergence-calibration pass **did not lift overall pass@1** — hard-problem
54
+ generation-length failures persisted. The experiment was paused here rather
55
+ than extended (next planned step was a small DPO stage targeting looped
56
+ generations).
57
+
58
+ ## Resuming / reusing
59
+
60
+ - Base model: [inclusionAI/Ling-3.0-tiny](https://huggingface.co/inclusionAI/Ling-3.0-tiny)
61
+ - Adapter checkpoints pair 1:1 with `optstate_*` files for exact resume.
62
+ - The two `models/` GGUFs are the only turnkey artifacts; a merged GGUF of the
63
+ later checkpoints was never produced.