mohommed commited on
Commit
96e6e75
·
verified ·
1 Parent(s): 1b77191

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -40,3 +40,4 @@ images/spark25-hybrid-architecture-light.png filter=lfs diff=lfs merge=lfs -text
40
  lucet-spark-4b-uncensored-gsq-rco-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
41
  lucet-spark-4b-uncensored-gsq-rco-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
42
  lucet-spark-4b-uncensored-gsq-rco-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
 
 
40
  lucet-spark-4b-uncensored-gsq-rco-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
41
  lucet-spark-4b-uncensored-gsq-rco-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
42
  lucet-spark-4b-uncensored-gsq-rco-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
43
+ mmproj-model-f16.gguf filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,35 +1,31 @@
1
  ---
 
2
  library_name: transformers
 
3
  base_model:
4
- - XHToken/Spark-X2.6-4B
5
- pipeline_tag: text-generation
6
- license: apache-2.0
7
  tags:
8
- - lucet
9
- - spark-x2.6
10
- - qr-svd
11
- - ast-counterfactual
12
- - failure-cluster-mining
13
- - uncensored
14
- - gsq
15
- - rco
16
- - 1m-context
17
- - gguf
18
- - imatrix
19
  ---
20
 
21
- # 🏛️ mohommed/Lucet-Coder-4B-Omega (Spark-X2.6-4B • Failure-Cluster Active Mining • QR-SVD Denoised • Uncensored-GSQ-v2-GGUF)
22
-
23
- **Lucet-Coder-Omega** is post-trained from **`XHToken/Spark-X2.6-4B`** (1M native context window, 54.3% SWE Pro, 71.8% BFCL-V4) using four advanced mathematical and systems-level algorithms:
24
 
25
- 1. **1M-Context RoPE-Preserving Split-Stack Adaptation (`r=16`):** Keeps `q_proj` and `k_proj` 100% frozen across all layers (preserving the 1,048,576-token RoPE phase calibration) and adapts only Value (`v_proj`), Output (`out_proj`), and MLP (`gate_proj`, `up_proj`, `down_proj`, `g_proj`) matrices in the upper 50% of the network.
26
- 2. **Failure-Cluster Active Data Mining & AST Counterfactual Bug Immunization:** Diagnoses failure modes (`FAIL_TRUNCATED_THINK`, `FAIL_ASSERTION_BOUNDARY`, `FAIL_MISSING_IMPORT`, `FAIL_EPISTEMIC_HALLUCINATION`) across algorithmic clusters and dynamically pops **unseen neighbor tasks** + surgical AST counterfactual bugs from a disjoint reserve pool—achieving **+14.0% on Held-Out MBPP `pass@1`** and **+20.1% faster token efficiency** with zero training data repetition.
27
- 3. **QR-SVD Gavish-Donoho Spectral Denoising:** Strips stochastic gradient noise singular values from low-rank adapters in $O(r^2(d_{\text{out}} + d_{\text{in}}))$ before merging into base weights.
28
- 4. **Q4_K 32-Block Crest-Factor Equalization & KL-Bounded Uncensored-GSQ-v2:** Equalizes 32-element GGUF super-block crest factors ($\le 3.8\,\text{rms}$) alongside Gram-Schmidt orthogonal refusal projection + `llama-imatrix` calibration.
29
 
30
- ## 📊 Pre-Upload Verification Report (Before vs. After)
31
- | Benchmark / Metric | Stock `Spark-X2.6-4B` | `Lucet-Omega` | Improvement |
32
- | :--- | :---: | :---: | :---: |
33
- | **Held-Out MBPP Sanitized `pass@1` (n=50)** | `58.0%` | **`72.0%`** | **`+14.0%`** |
34
- | **Avg Reasoning + Code Tokens per Solved Task** | `470` | **`376`** | **`+20.1%` Faster** |
35
- | **Held-Out Epistemic Anti-Hallucination Rate (n=8)** | `0.0%` | **`12.5%`** | **`+12.5%`** |
 
 
1
  ---
2
+ license: apache-2.0
3
  library_name: transformers
4
+ pipeline_tag: image-text-to-text
5
  base_model:
6
+ - XHToken/Spark-X2.6-4B
 
 
7
  tags:
8
+ - spark
9
+ - codersense
10
+ - hybrid-attention
11
+ - vision
12
+ - audio
13
+ - 7-senses
14
+ - system-1
15
+ - system-2
16
+ - blender-mcp
17
+ - gguf
18
+ - jarvis
19
  ---
20
 
21
+ # 🏛️ Lucet-CoderSense-4B-Omega (7-Sense + SystemOne + J.A.R.V.I.S. Edition)
 
 
22
 
23
+ **Lucet-CoderSense-4B-Omega** is a 4.1B 7-Sense Hybrid SWA/Global-Attention (27 SWA + 9 GA layers, 1M context) Reasoning, Coding, Blender 3D MCP, HTML5 Game Studio & Real-Time J.A.R.V.I.S. Agent built by **Mohommed**.
 
 
 
24
 
25
+ ## 📊 Verification Telemetry
26
+ - **Held-Out MBPP pass@1**: `66.7%` -> `66.7%` (81 avg tokens)
27
+ - **Epistemic Anti-Hallucination**: `12.5%` -> `75.0%`
28
+ - **AIME Symbolic Math**: `50.0%` -> `50.0%`
29
+ - **V8 HTML5 Game Studio**: `VERIFIED`
30
+ - **Blender 3D Cartoon Animator**: `PASSED`
31
+ - **7-Sense Multimodal Projector (`mmproj-model-f16.gguf`)**: Included for LM Studio & `llama.cpp` Vision support.
lucet_harness.py CHANGED
@@ -1,7 +1,6 @@
1
  """
2
- Lucet-Omega 7-Sense Sovereign Harness & J.A.R.V.I.S. SDK (v6.0)
3
  Senses: Sight (Vision) + Hearing (Audio) + Proprioception (3D Z-Up) + Tactile (Collision) + Interoception (CPU/RAM) + Chronoception (24fps) + Symbolic Language
4
- Optimized for Intel Core i5-11400 (AVX-512, 6 Physical Cores) + 32GB DDR4 RAM
5
  """
6
  import json
7
  import os
@@ -39,8 +38,8 @@ class LucetSovereignHarness:
39
  mode, max_toks = self.route_system_mode(user_input, visual_surprise)
40
  vitals = self.read_interoception_vitals()
41
  sys_msg = (
42
- f"You are J.A.R.V.I.S., operating in {mode} mode with 7-Sense telemetry {vitals}. "
43
- "For casual chat use [SYS-1 FAST] (<10 tok think). For 3D Blender/Games/Math use [SYS-2 DEEP] and emit complete code."
44
  )
45
  payload = json.dumps({
46
  "messages": [{"role": "system", "content": sys_msg}, {"role": "user", "content": user_input}],
 
1
  """
2
+ Lucet-CoderSense-4B-Omega 7-Sense Sovereign Harness & J.A.R.V.I.S. SDK (v6.2)
3
  Senses: Sight (Vision) + Hearing (Audio) + Proprioception (3D Z-Up) + Tactile (Collision) + Interoception (CPU/RAM) + Chronoception (24fps) + Symbolic Language
 
4
  """
5
  import json
6
  import os
 
38
  mode, max_toks = self.route_system_mode(user_input, visual_surprise)
39
  vitals = self.read_interoception_vitals()
40
  sys_msg = (
41
+ f"You are Lucet-CoderSense-4B-Omega (J.A.R.V.I.S.), operating in {mode} mode with 7-Sense telemetry {vitals}. "
42
+ "Always wrap reasoning in <think>...\n</think>."
43
  )
44
  payload = json.dumps({
45
  "messages": [{"role": "system", "content": sys_msg}, {"role": "user", "content": user_input}],
mmproj-model-f16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf6c1bde9be4e5ccb3c2144600b3557aaa2a5692bd00f1a0b5b09a3aaadac50f
3
+ size 218980928
mmproj-vision-audio.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bdcb97dab808b5becfd2db00975d4085a2854b49774030510a1a635b990a54a6
3
- size 71299456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21b7281450dbd54686209237b599c1cc9cf73189b4140a6e18eb85adf2b2b110
3
+ size 43772184
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e12aadb92e5db2208e0411bd239686a60fd9bca7b0049ad68cbd245366d351a4
3
  size 8224192288
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9a3815f104be60dc07f0b0bef4239484396ccd31a107cf6e3bc3ba0717fe62c
3
  size 8224192288
omni_config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
 
2
  "senses_active": [
3
- "1_Sight_SigLIP_49tok",
4
  "2_Hearing_Whisper_60tok",
5
  "3_Proprioception_3D_ZUp_8tok",
6
  "4_Tactile_Physics_Collision_8tok",
@@ -8,13 +9,10 @@
8
  "6_Chronoception_24fps_Timeline_4tok",
9
  "7_Symbolic_Language_Code_MCP"
10
  ],
11
- "vision_encoder": "google/siglip-base-patch16-224",
12
- "audio_encoder": "openai/whisper-tiny",
13
- "total_sensory_tokens": 133,
14
- "projector_file": "mmproj-vision-audio.safetensors",
15
  "systemone_module": "systemone_module.safetensors",
16
  "sovereign_harness_sdk": "lucet_harness.py",
17
- "systemone_tap_layer": 3,
18
  "llm_hidden_size": 2560,
19
  "swa_window_size": 512
20
  }
 
1
  {
2
+ "model_name": "Lucet-CoderSense-4B-Omega",
3
  "senses_active": [
4
+ "1_Sight_CLIP_ViT_50tok",
5
  "2_Hearing_Whisper_60tok",
6
  "3_Proprioception_3D_ZUp_8tok",
7
  "4_Tactile_Physics_Collision_8tok",
 
9
  "6_Chronoception_24fps_Timeline_4tok",
10
  "7_Symbolic_Language_Code_MCP"
11
  ],
12
+ "gguf_mmproj_file": "mmproj-model-f16.gguf",
13
+ "safetensors_mmproj_file": "mmproj-vision-audio.safetensors",
 
 
14
  "systemone_module": "systemone_module.safetensors",
15
  "sovereign_harness_sdk": "lucet_harness.py",
 
16
  "llm_hidden_size": 2560,
17
  "swa_window_size": 512
18
  }
systemone_module.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f59760f36edacc364dd6a64e62bbb8bd13e48bb52049600f5b8f02d3ba0fcd98
3
  size 13121770
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b350f4d35412a4a58e739d92915d32b8d95d3e606e360ffb3cb457c24c5c925f
3
  size 13121770