File size: 2,464 Bytes
d5bf084
 
 
 
64d66f2
 
 
d5bf084
 
64d66f2
 
d5bf084
 
 
64d66f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d5bf084
 
64d66f2
d5bf084
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import gradio as gr

def dennett_greeting(name):
    if name.strip() == "":
        return "[SYSTEM]: Warning - Empty input. Waiting for valid identity..."
    return f"[SYSTEM]: Access granted, {name}.\n\nWelcome to Dennett Labs. The intelligence is adapting. Telemetry pipelines are open. Ready for Phase 1."


with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
    gr.Markdown("# Δ DENNETT LABS")
    gr.Markdown("### *True intelligence adapts to its environment with the least resources.*")
    gr.Markdown("---")
    
    with gr.Row():
        # LEFT COLUMN: The Story & Manifesto
        with gr.Column(scale=2):
            gr.Markdown("""
            ###  The Vision
            The rest of the world is treating AI like a magic black box, locking it inside massive data centers that require gigawatts of power and perfect 5G connections. We are going the other direction.
            
            **Our goal:** Shrink highly capable, open-weight AI models down to bare-metal efficiency so they can run entirely offline as autonomous agents on $150 mobile phones in the Global South. No 5G. No cloud subscriptions. Just pure, on-device intelligence.
            
            ### The Science
            Named after philosopher Daniel Dennett, we treat neural networks like biological specimens. We do not build simple API wrappers. We do **Mechanistic Interpretability, Ablation, and Custom Quantization**. 
            
            We rip open `.gguf` files, delete layers of the AI's brain, and measure the cognitive decay to understand exactly how intelligence works at the tensor level.
            
            ### 🚀 Current Status: Phase 1 (Observation)
            The **Dennett Labs Simulation Sandbox (DLSS)** is actively running on local hardware. We are stress-testing sub-3B parameter models, generating local telemetry baselines, and preparing for our first model surgery.
            """)
            
        with gr.Column(scale=1):
            gr.Markdown("###  Public Terminal [v1.0]")
            name_input = gr.Textbox(label="Identify Yourself", placeholder="Enter your designation...")
            greet_btn = gr.Button("Initialize Connection", variant="primary")
            greeting_output = gr.Textbox(label="System Response", interactive=False, lines=4)
            
    # Trigger the function when the button is clicked
    greet_btn.click(fn=dennett_greeting, inputs=name_input, outputs=greeting_output)


demo.launch()