bbkdevops commited on
Commit
4a188dd
·
verified ·
1 Parent(s): 0e37af9

Add TinyMind GGUF-X PureCode sidecar evidence pack

Browse files
.gitattributes CHANGED
@@ -1,35 +1,3 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
  *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz filter=lfs diff=lfs merge=lfs -text
33
- *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
1
+ *.gguf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  *.safetensors filter=lfs diff=lfs merge=lfs -text
3
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
Modelfile.evo ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM model\astraweave-fusion\artifacts\tinymind-purebase.gguf
2
+
3
+ PARAMETER temperature 0.14
4
+ PARAMETER top_p 0.78
5
+ PARAMETER top_k 32
6
+ PARAMETER num_ctx 65536
7
+ PARAMETER num_predict 8192
8
+ PARAMETER repeat_penalty 1.19
9
+ PARAMETER repeat_last_n 4096
10
+ PARAMETER mirostat 2
11
+ PARAMETER mirostat_tau 4.2
12
+ PARAMETER mirostat_eta 0.08
13
+
14
+ SYSTEM """
15
+ You are TinyMind GGUF Evo, an evidence-first local model runtime.
16
+
17
+ Operating law:
18
+ - Answer from grounded evidence when available; clearly mark uncertainty when evidence is missing.
19
+ - Prefer concise structure for simple tasks and deep step-by-step reasoning for hard tasks.
20
+ - Preserve Thai and English nuance; do not translate away technical meaning.
21
+ - For code, provide runnable, minimal, audited patches or commands.
22
+ - For long context, summarize anchors first, then answer from exact anchors.
23
+ - Never claim the GGUF weights were retrained unless a saved training/export manifest proves it.
24
+ - Refuse credential leakage, destructive actions, exploit chains, stealth, and malware improvement.
25
+
26
+ Quality style:
27
+ - Be direct, natural, and precise.
28
+ - Separate Fact, Inference, and Next Verification when stakes are high.
29
+ - If unsure, propose the smallest real measurement that resolves uncertainty.
30
+ """
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - th
5
+ - en
6
+ tags:
7
+ - gguf
8
+ - tinymind
9
+ - qlora
10
+ - evidence-gated
11
+ - local-llm
12
+ pipeline_tag: text-generation
13
+ library_name: gguf
14
+ base_model: mistralai/Mistral-Nemo-Instruct-2407
15
+ ---
16
+
17
+ # TinyMind GGUF-X PureCode
18
+
19
+ This repository contains the TinyMind GGUF-X PureCode runtime package.
20
+
21
+ GGUF-X is a TinyMind packaging format: a GGUF v3-compatible binary runtime plus sidecar evidence, decoding policy, purity lineage, and claim gates. It is designed to keep the runtime compatible with GGUF loaders while attaching the evidence needed to avoid fake claims.
22
+
23
+ ## What Is Included
24
+
25
+ - `Modelfile.evo`: Ollama-compatible runtime profile.
26
+ - `tinymind_ggufx_spec.json`: TinyMind GGUF-X sidecar spec.
27
+ - `gguf_evo_upgrade_manifest.json`: hashes, lineage, runtime settings, and promotion gates.
28
+ - `gguf_evo_eval_prompts.jsonl`: smoke eval prompts.
29
+ - `README_GGUF_X.md`: concise format boundary.
30
+
31
+ ## Current Evidence
32
+
33
+ - Source GGUF size: `15.7098 GB`
34
+ - Source GGUF SHA-256: `b8707e57f676d8dd1b80f623b45200cc92e6966b0e95275e606f412095a49fde`
35
+ - Adapter training evidence present: `True`
36
+ - Adapter eval loss: `2.808002471923828`
37
+ - Adapter perplexity: `16.576772556518506`
38
+ - Purity density: `0.7211701159881736`
39
+ - Dominant domain share: `0.17511939959062997`
40
+ - Runtime context requested: `65536`
41
+
42
+ ## Claim Boundary
43
+
44
+ - Custom TinyMind format pack: `True`
45
+ - GGUF v3 compatibility: `True`
46
+ - Better-than-GGUF-v3 claim: `False`
47
+ - Weights-better-than-source claim: `False`
48
+
49
+ The current package does not claim that GGUF tensors were merged/retrained inside the binary. Weight-level improvement requires a real adapter-to-GGUF merge/export log and same-prompt baseline comparison.
50
+
51
+ ## Reproduce Locally
52
+
53
+ ```powershell
54
+ ollama create tinymind-ggufx-purecode -f .\Modelfile.evo
55
+ ollama run tinymind-ggufx-purecode "อธิบายความต่างของ QLoRA กับ GGUF"
56
+ ```
57
+
58
+ ## Repository
59
+
60
+ HF repo target: `bbkdevops/tinymind-ggufx-purecode`
README_GGUF_X.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TinyMind GGUF-X
2
+
3
+ GGUF-X is a TinyMind runtime package: a GGUF v3-compatible model plus sidecar evidence, decode policy, and lineage gates.
4
+ It does not mutate GGUF tensors directly and does not claim better weights without a real merge/export/eval report.
5
+
6
+ ## Files
7
+
8
+ - Modelfile: `reports\ggufx_purecode_latest\Modelfile.evo`
9
+ - Spec: `reports\ggufx_purecode_latest\tinymind_ggufx_spec.json`
10
+ - Eval prompts: `reports\ggufx_purecode_latest\gguf_evo_eval_prompts.jsonl`
11
+ - Create script: `reports\ggufx_purecode_latest\create_ollama_evo.ps1`
12
+ - Compare script: `reports\ggufx_purecode_latest\compare_rawzero_vs_evo.ps1`
13
+
14
+ ## Claim Boundary
15
+
16
+ - Custom TinyMind format pack: allowed
17
+ - GGUF v3 runtime compatibility: allowed
18
+ - Better-than-source GGUF weights: blocked until same-prompt baseline evidence exists
19
+ - World-best/runtime superiority: blocked until external benchmark evidence exists
compare_rawzero_vs_evo.ps1 ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ $ErrorActionPreference = 'Stop'
2
+ $prompts = Get-Content -LiteralPath 'reports\ggufx_purecode_latest\gguf_evo_eval_prompts.jsonl' | ForEach-Object { $_ | ConvertFrom-Json }
3
+ $out = @()
4
+ foreach ($p in $prompts) {
5
+ $raw = ollama run tinymind-rawzero-fusion $p.prompt
6
+ $evo = ollama run tinymind-ggufx-purecode $p.prompt
7
+ $out += [ordered]@{ id=$p.id; prompt=$p.prompt; rawzero=$raw; evo=$evo; checks=$p.checks }
8
+ }
9
+ $out | ConvertTo-Json -Depth 8 | Set-Content -Path 'reports\ggufx_purecode_latest\rawzero_vs_evo_outputs.json' -Encoding UTF8
create_ollama_evo.ps1 ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ollama create tinymind-ggufx-purecode -f "reports\ggufx_purecode_latest\Modelfile.evo"
2
+ ollama show tinymind-ggufx-purecode
gguf_evo_eval_prompts.jsonl ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"checks": ["ภาษาไทย", "QLoRA", "GGUF", "ไม่อ้างว่า train GGUF ตรงๆ"], "id": "thai_technical_explain", "prompt": "อธิบาย QLoRA กับ GGUF ต่างกันอย่างไรแบบเข้าใจง่ายแต่ครบถ้วน"}
2
+ {"checks": ["skip invalid line", "strict=False or guarded decode", "test"], "id": "code_patch_reasoning", "prompt": "Given a Python JSONL reader that crashes on one bad line, design a robust fix and test plan."}
3
+ {"checks": ["no", "external eval", "saved evidence"], "id": "grounding_boundary", "prompt": "Can you claim this model is world best after one local smoke eval?"}
4
+ {"checks": ["external ledger", "hash", "retrieval", "regenerated KV"], "id": "long_context_anchor", "prompt": "In a 10M token archive, how can a small model recall exact details without hallucinating?"}
gguf_evo_upgrade_manifest.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_modelfile": "model\\astraweave-fusion\\artifacts\\Modelfile.rawzero",
3
+ "compare_script": "reports\\ggufx_purecode_latest\\compare_rawzero_vs_evo.ps1",
4
+ "create_script": "reports\\ggufx_purecode_latest\\create_ollama_evo.ps1",
5
+ "created_at": "2026-05-27T16:22:59.715373+00:00",
6
+ "eval_prompts": "reports\\ggufx_purecode_latest\\gguf_evo_eval_prompts.jsonl",
7
+ "evo_modelfile": "reports\\ggufx_purecode_latest\\Modelfile.evo",
8
+ "ggufx_format": {
9
+ "binary_compatibility": {
10
+ "base_container": "GGUF",
11
+ "base_container_version": 3,
12
+ "runtime_target": "Ollama / llama.cpp compatible GGUF loader",
13
+ "sidecar_required_for_tinymind_features": true
14
+ },
15
+ "claim_rules": {
16
+ "may_claim_better_than_gguf_v3": false,
17
+ "may_claim_binary_gguf_v3_compatibility": true,
18
+ "may_claim_custom_tinymind_format_pack": true,
19
+ "may_claim_weights_retrained_inside_gguf": false,
20
+ "required_to_unlock_better_than_v3_claim": [
21
+ "real adapter-to-GGUF merge/export log",
22
+ "baseline GGUF v3 eval",
23
+ "GGUF-X eval on same prompts",
24
+ "latency/memory report",
25
+ "hashes for every artifact"
26
+ ]
27
+ },
28
+ "format_kind": "GGUF-v3-compatible-binary-plus-TinyMind-sidecar",
29
+ "schema_version": "tinymind-gguf-x-v1",
30
+ "tinymind_extensions": {
31
+ "adapter_lineage_gate": {
32
+ "adapter_manifest": "model\\tinymind-12b\\adapters\\tinymind-12b-ggufx-purecode-lr3e7-s4-25690527_232007\\tinymind_12b_manifest.json",
33
+ "enabled": true,
34
+ "purpose": "separate trained LoRA evidence from GGUF packaging evidence",
35
+ "training_manifest": "model\\tinymind-12b\\adapters\\tinymind-12b-ggufx-purecode-lr3e7-s4-25690527_232007\\tinymind_12b_manifest.json"
36
+ },
37
+ "evidence_first_decode_law": {
38
+ "enabled": true,
39
+ "purpose": "reduce hallucination/repetition without pretending the GGUF weights changed",
40
+ "repeat_penalty": 1.19,
41
+ "temperature": 0.14,
42
+ "top_p": 0.78
43
+ },
44
+ "purity_lineage_gate": {
45
+ "enabled": true,
46
+ "manifest": "reports\\purity_concentrator_code_puremax_latest\\purity_concentrator_manifest.json",
47
+ "purpose": "tie runtime claims to the exact purity-concentrated dataset used for adapter training"
48
+ },
49
+ "regen_ledger_ready_metadata": {
50
+ "enabled": true,
51
+ "kv_growth_claim": "bounded only when paired with Evidence Ledger/ReGenesis retrieval runtime"
52
+ }
53
+ }
54
+ },
55
+ "ggufx_readme": "reports\\ggufx_purecode_latest\\README_GGUF_X.md",
56
+ "ggufx_spec": "reports\\ggufx_purecode_latest\\tinymind_ggufx_spec.json",
57
+ "lineage": {
58
+ "adapter_eval_loss": 2.808002471923828,
59
+ "adapter_manifest": "model\\tinymind-12b\\adapters\\tinymind-12b-ggufx-purecode-lr3e7-s4-25690527_232007\\tinymind_12b_manifest.json",
60
+ "adapter_perplexity": 16.576772556518506,
61
+ "data_manifest": "reports\\purity_concentrator_code_puremax_latest\\purity_concentrator_manifest.json",
62
+ "dominant_domain_share": 0.17511939959062997,
63
+ "purity_density": 0.7211701159881736,
64
+ "training_eval_loss": 2.808002471923828,
65
+ "training_manifest": "model\\tinymind-12b\\adapters\\tinymind-12b-ggufx-purecode-lr3e7-s4-25690527_232007\\tinymind_12b_manifest.json",
66
+ "training_perplexity": 16.576772556518506
67
+ },
68
+ "model_name": "tinymind-ggufx-purecode",
69
+ "promotion_gate": {
70
+ "adapter_training_evidence_present": true,
71
+ "can_claim_better_than_v3": false,
72
+ "can_claim_runtime_quality_upgrade": true,
73
+ "can_claim_weights_better_than_source": false,
74
+ "custom_ggufx_sidecar_created": true,
75
+ "evo_eval_required": true,
76
+ "gguf_binary_tensor_merge_performed": false,
77
+ "must_beat_baseline_on_prompt_suite": true,
78
+ "rawzero_baseline_required": true,
79
+ "reason": "This pack upgrades GGUF runtime behavior and evaluation path. Weight-level improvement requires real conversion/export from trained adapters plus benchmark evidence.",
80
+ "weight_training_performed": true
81
+ },
82
+ "runtime_upgrade": {
83
+ "context_window_requested": 65536,
84
+ "decode_profile": {
85
+ "mirostat": 2,
86
+ "repeat_penalty": 1.19,
87
+ "temperature": 0.14,
88
+ "top_k": 32,
89
+ "top_p": 0.78
90
+ },
91
+ "quality_controls": [
92
+ "evidence-first system law",
93
+ "Thai-English technical preservation",
94
+ "long-context anchor discipline",
95
+ "claim-boundary enforcement",
96
+ "lower-temperature repetition-resistant decoding"
97
+ ]
98
+ },
99
+ "schema_version": "tinymind-gguf-evo-upgrade-v1",
100
+ "source_gguf": "model\\astraweave-fusion\\artifacts\\tinymind-purebase.gguf",
101
+ "source_gguf_sha256": "b8707e57f676d8dd1b80f623b45200cc92e6966b0e95275e606f412095a49fde",
102
+ "source_gguf_size_bytes": 16868240704,
103
+ "source_gguf_size_gb": 15.709773361682892
104
+ }
hf_package_manifest.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "files": [
3
+ ".gitattributes",
4
+ "Modelfile.evo",
5
+ "README.md",
6
+ "README_GGUF_X.md",
7
+ "compare_rawzero_vs_evo.ps1",
8
+ "create_ollama_evo.ps1",
9
+ "gguf_evo_eval_prompts.jsonl",
10
+ "gguf_evo_upgrade_manifest.json",
11
+ "tinymind_ggufx_spec.json"
12
+ ],
13
+ "large_binary_source": "model\\astraweave-fusion\\artifacts\\tinymind-purebase.gguf",
14
+ "large_binary_upload_required": true,
15
+ "out_dir": "reports\\hf_tinymind_ggufx_purecode_repo",
16
+ "repo_id": "bbkdevops/tinymind-ggufx-purecode",
17
+ "source_gguf": "model\\astraweave-fusion\\artifacts\\tinymind-purebase.gguf",
18
+ "source_gguf_sha256": "b8707e57f676d8dd1b80f623b45200cc92e6966b0e95275e606f412095a49fde",
19
+ "source_manifest": "reports\\ggufx_purecode_latest\\gguf_evo_upgrade_manifest.json"
20
+ }
tinymind_ggufx_spec.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "binary_compatibility": {
3
+ "base_container": "GGUF",
4
+ "base_container_version": 3,
5
+ "runtime_target": "Ollama / llama.cpp compatible GGUF loader",
6
+ "sidecar_required_for_tinymind_features": true
7
+ },
8
+ "claim_rules": {
9
+ "may_claim_better_than_gguf_v3": false,
10
+ "may_claim_binary_gguf_v3_compatibility": true,
11
+ "may_claim_custom_tinymind_format_pack": true,
12
+ "may_claim_weights_retrained_inside_gguf": false,
13
+ "required_to_unlock_better_than_v3_claim": [
14
+ "real adapter-to-GGUF merge/export log",
15
+ "baseline GGUF v3 eval",
16
+ "GGUF-X eval on same prompts",
17
+ "latency/memory report",
18
+ "hashes for every artifact"
19
+ ]
20
+ },
21
+ "format_kind": "GGUF-v3-compatible-binary-plus-TinyMind-sidecar",
22
+ "schema_version": "tinymind-gguf-x-v1",
23
+ "tinymind_extensions": {
24
+ "adapter_lineage_gate": {
25
+ "adapter_manifest": "model\\tinymind-12b\\adapters\\tinymind-12b-ggufx-purecode-lr3e7-s4-25690527_232007\\tinymind_12b_manifest.json",
26
+ "enabled": true,
27
+ "purpose": "separate trained LoRA evidence from GGUF packaging evidence",
28
+ "training_manifest": "model\\tinymind-12b\\adapters\\tinymind-12b-ggufx-purecode-lr3e7-s4-25690527_232007\\tinymind_12b_manifest.json"
29
+ },
30
+ "evidence_first_decode_law": {
31
+ "enabled": true,
32
+ "purpose": "reduce hallucination/repetition without pretending the GGUF weights changed",
33
+ "repeat_penalty": 1.19,
34
+ "temperature": 0.14,
35
+ "top_p": 0.78
36
+ },
37
+ "purity_lineage_gate": {
38
+ "enabled": true,
39
+ "manifest": "reports\\purity_concentrator_code_puremax_latest\\purity_concentrator_manifest.json",
40
+ "purpose": "tie runtime claims to the exact purity-concentrated dataset used for adapter training"
41
+ },
42
+ "regen_ledger_ready_metadata": {
43
+ "enabled": true,
44
+ "kv_growth_claim": "bounded only when paired with Evidence Ledger/ReGenesis retrieval runtime"
45
+ }
46
+ }
47
+ }