11-47 commited on
Commit
d400bc0
·
verified ·
1 Parent(s): 97cf62d

Upload WIUAI Mini Coder Deep Reasoning 4K full-parameter fine-tune

Browse files
README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ library_name: transformers
6
+ pipeline_tag: text-generation
7
+ tags:
8
+ - WithinUsAI
9
+ - WIUAI
10
+ - Mini-Coder
11
+ - deep-reasoning
12
+ - reasoning
13
+ - code
14
+ - full-parameter-finetuning
15
+ - 4k-context
16
+ - llama
17
+ datasets:
18
+ - xtools-at/Claude-Haiku-5.5-High-Reasoning-TraceInversion-3000x
19
+ - xtools-at/ChatGPT-6.1-Terra-High-Reasoning-TraceInversion-80x
20
+ ---
21
+
22
+ # WIUAI Mini Coder — Deep Reasoning 4K
23
+
24
+ A reasoning-focused full-parameter fine-tune of
25
+ `WithinUsAI/WIUAI.Mini.Coder.Traces`.
26
+
27
+ ## Model architecture
28
+
29
+ | Property | Value |
30
+ |---|---|
31
+ | Organization | WithinUsAI |
32
+ | Base model | `WithinUsAI/WIUAI.Mini.Coder.Traces` |
33
+ | Architecture | LlamaForCausalLM |
34
+ | Original context | 1024 |
35
+ | Configured context | 4096 |
36
+ | RoPE method | Linear |
37
+ | RoPE factor | 4.0000 |
38
+ | Total parameters | 302,027,520 |
39
+ | Trainable parameters | 302,027,520 |
40
+ | Training method | Full-parameter fine-tuning |
41
+ | Epochs | 2 |
42
+ | Learning rate | 1e-05 |
43
+ | Optimizer | AdamW |
44
+ | Precision | FP16 |
45
+ | Seed | 1147 |
46
+
47
+ ## Training datasets
48
+
49
+ - `xtools-at/Claude-Haiku-5.5-High-Reasoning-TraceInversion-3000x`
50
+ - `xtools-at/ChatGPT-6.1-Terra-High-Reasoning-TraceInversion-80x`
51
+
52
+ The reasoning traces in these datasets are synthetic
53
+ trace-inversion reconstructions. They should not be
54
+ treated as verified private reasoning traces or guaranteed
55
+ ground-truth explanations.
56
+
57
+ ## Dataset preparation
58
+
59
+ - Extracted user prompts and assistant responses.
60
+ - Used reasoning fields when available.
61
+ - Used reasoning summaries as fallback.
62
+ - Prompt-level deduplication.
63
+ - Training/evaluation/test prompt overlap removed.
64
+ - Examples above 4,096 tokens hard-dropped.
65
+ - No truncation.
66
+ - Prompt tokens masked from supervised loss.
67
+ - Assistant reasoning and answer tokens supervised.
68
+
69
+ ## Final dataset sizes
70
+
71
+ | Split | Examples |
72
+ |---|---:|
73
+ | Training | 2070 |
74
+ | Evaluation | 112 |
75
+ | Testing | 97 |
76
+
77
+ ## Context extension
78
+
79
+ The base configuration specified 1024 positions.
80
+ This training configuration uses Transformers 5.x
81
+ `rope_parameters` with linear RoPE scaling to configure
82
+ a 4,096-token context.
83
+
84
+ A configured context length does not independently
85
+ establish reliable long-context performance. Long-context
86
+ testing is required.
87
+
88
+ ## Evaluation
89
+
90
+ See `training_metrics.json` for training, evaluation,
91
+ and independent test metrics.
92
+
93
+ ## Limitations
94
+
95
+ - Reasoning quality depends on the source data.
96
+ - Trace-inversion examples are not verified ground truth.
97
+ - Evaluation loss is not a complete reasoning benchmark.
98
+ - Code correctness and tool-calling ability require
99
+ independent testing.
100
+ - Long-context performance requires separate validation.
101
+
102
+ ## Organization
103
+
104
+ WithIn Us AI — WithinUsAI
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "dtype": "float32",
9
+ "eos_token_id": 0,
10
+ "head_dim": 96,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "max_position_embeddings": 4096,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 8,
19
+ "num_hidden_layers": 24,
20
+ "num_key_value_heads": 8,
21
+ "pad_token_id": 0,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-05,
24
+ "rope_parameters": {
25
+ "factor": 4.0,
26
+ "rope_theta": 10000.0,
27
+ "rope_type": "linear"
28
+ },
29
+ "tie_word_embeddings": false,
30
+ "transformers_version": "5.20.2",
31
+ "use_cache": true,
32
+ "vocab_size": 49152
33
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": [
5
+ 0,
6
+ 2
7
+ ],
8
+ "pad_token_id": 0,
9
+ "transformers_version": "5.20.2",
10
+ "use_cache": false
11
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45cccd54653e2a7b1d2602b96477142d408814030d03348ecce9b5a874ec19f3
3
+ size 1208134600
smoke_test.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ### Reasoning
2
+ 1. **Understand the Context**: The user wants a tool that, a coding agent, and verifying, and recovering from a failed call, with a structured, structured, and unstructured, unstructured, unstructured, unstructured, unstructured, unstructured, unstructured, and unstructured, unstructured, unstructured, structured, and unstructured, structured, structured, and structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured, structured
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|endoftext|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|endoftext|>",
10
+ "<fim_prefix>",
11
+ "<fim_middle>",
12
+ "<fim_suffix>",
13
+ "<fim_pad>",
14
+ "<filename>",
15
+ "<gh_stars>",
16
+ "<issue_start>",
17
+ "<issue_comment>",
18
+ "<issue_closed>",
19
+ "<jupyter_start>",
20
+ "<jupyter_text>",
21
+ "<jupyter_code>",
22
+ "<jupyter_output>",
23
+ "<empty_output>",
24
+ "<commit_before>",
25
+ "<commit_msg>",
26
+ "<commit_after>",
27
+ "<reponame>"
28
+ ],
29
+ "is_local": false,
30
+ "local_files_only": false,
31
+ "max_length": 1023,
32
+ "model_max_length": 4096,
33
+ "pad_token": "<|endoftext|>",
34
+ "stride": 0,
35
+ "tokenizer_class": "GPT2Tokenizer",
36
+ "truncation_side": "right",
37
+ "truncation_strategy": "longest_first",
38
+ "unk_token": "<|endoftext|>",
39
+ "vocab_size": 49152
40
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcffb2f740cccf87be87e2aecd5e418062beca7b75b5dac790b5faa6515565c7
3
+ size 5265
training_metrics.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "training": {
3
+ "train_runtime": 11303.0588,
4
+ "train_samples_per_second": 0.366,
5
+ "train_steps_per_second": 0.012,
6
+ "total_flos": 2.2778480156737536e+16,
7
+ "train_loss": 3.638028181516207,
8
+ "epoch": 2.0
9
+ },
10
+ "evaluation": {
11
+ "eval_loss": 3.2350947856903076
12
+ },
13
+ "test": {
14
+ "test_loss": 3.317430257797241
15
+ },
16
+ "base_model": "WithinUsAI/WIUAI.Mini.Coder.Traces",
17
+ "output_model": "WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K",
18
+ "architecture": "llama",
19
+ "original_context": 1024,
20
+ "target_context": 4096,
21
+ "rope_parameters": {
22
+ "rope_type": "linear",
23
+ "factor": 4.0,
24
+ "rope_theta": 10000.0
25
+ },
26
+ "epochs": 2,
27
+ "learning_rate": 1e-05,
28
+ "train_examples": 2070,
29
+ "evaluation_examples": 112,
30
+ "test_examples": 97,
31
+ "total_parameters": 302027520,
32
+ "trainable_parameters": 302027520,
33
+ "training_method": "Full-parameter fine-tuning"
34
+ }