Chaman1234 commited on
Commit
5b311b3
·
verified ·
1 Parent(s): c240585

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md CHANGED
@@ -73,6 +73,40 @@ Comparison representing 100,000 tokens of corpus knowledge:
73
  - **Graph state memory**: **2.61 MB** (VLCM) âž” **19,134.6x memory compression**
74
  - **Generation FLOPs per query**: ~8.19 Trillion FLOPs vs. **~7.66 Million FLOPs** (1,000,000x savings)
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  ---
77
 
78
  ## 🚀 How to Run the Coding Lab locally
 
73
  - **Graph state memory**: **2.61 MB** (VLCM) âž” **19,134.6x memory compression**
74
  - **Generation FLOPs per query**: ~8.19 Trillion FLOPs vs. **~7.66 Million FLOPs** (1,000,000x savings)
75
 
76
+ ### 4. Code Generation Test (CAT V3 + Qwen Coder 2.5 3B)
77
+ We run an end-to-end autonomous coding test using the local `qwen2.5-coder:3b` model to evaluate the coding performance:
78
+
79
+ * **User Query**: *"Write a Python function fibonacci(n) that returns the first n Fibonacci numbers. In the main block, call this function with n=10, print the result, and do not use any interactive input() calls."*
80
+ * **CAT V3 GAT Routing**: Routes to **physics** and **mathematics** experts. Fused reasoning concept path: `force âž” acceleration âž” velocity âž” gravity`
81
+ * **System 1 Generative Model**: Ollama `qwen2.5-coder:3b`
82
+ * **Execution Sandbox**: Python 3 Subprocess Sandbox
83
+ * **Execution Outcome**: **Success** (exited with code 0 on the first iteration)
84
+
85
+ #### Generated Python Code Example:
86
+ ```python
87
+ def fibonacci(n):
88
+ # Initialize the first two Fibonacci numbers
89
+ fib_sequence = [0, 1]
90
+
91
+ # Generate the Fibonacci sequence up to n numbers
92
+ for i in range(2, n):
93
+ next_fib = fib_sequence[i-1] + fib_sequence[i-2]
94
+ fib_sequence.append(next_fib)
95
+
96
+ return fib_sequence
97
+
98
+ # Main block: call the fibonacci function with n=10 and print the result
99
+ if __name__ == "__main__":
100
+ n = 10
101
+ result = fibonacci(n)
102
+ print(result)
103
+ ```
104
+
105
+ #### Execution Stdout:
106
+ ```text
107
+ [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
108
+ ```
109
+
110
  ---
111
 
112
  ## 🚀 How to Run the Coding Lab locally