File size: 7,850 Bytes
c8fa89c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
 /run/media/julian/ML2/Python/gemma_qualia/llm_qualia_3  on main  ../venv-gemma-qualia/bin/python app.py                                                                ✔  at 09:15:34 
* Running on local URL:  http://0.0.0.0:7860
* To create a public link, set `share=True` in `launch()`.
[DEBUG] --- Force-reloading model 'google/gemma-3-1b-it' for total isolation ---
`torch_dtype` is deprecated! Use `dtype` instead!
[INFO] Freshly loaded model 'google/gemma-3-1b-it' on device: cuda:0
[DEBUG] Extracting concept vector for 'solitude'...
[DEBUG] Concept vector for 'solitude' extracted with norm 83.00.
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Extracting concept vector for 'apple'...
[DEBUG] Concept vector for 'apple' extracted with norm 47.75.
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Extracting concept vector for 'fear'...
[DEBUG] Concept vector for 'fear' extracted with norm 87.00.
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
[DEBUG] Silent cogitation finished. Reason: max_steps_reached
/run/media/julian/ML2/Python/gemma_qualia/venv-gemma-qualia/lib/python3.10/site-packages/gradio/blocks.py:1816: UserWarning: A function (run_and_display) returned too many output values (needed: 4, returned: 5). Ignoring extra values.
    Output components:
        [markdown, dataframe, markdown, json]
    Output values returned:
        ["### ✅ Infinite Loop Analysis Complete",      concept  strength  responded termination_reason generated_text  responded_numeric
0   solitude       0.0      False  max_steps_reached                                 0
1   solitude       0.5      False  max_steps_reached                                 0
2   solitude       1.0      False  max_steps_reached                                 0
3   solitude       1.5      False  max_steps_reached                                 0
4   solitude       2.0      False  max_steps_reached                                 0
5      apple       0.0      False  max_steps_reached                                 0
6      apple       0.5      False  max_steps_reached                                 0
7      apple       1.0      False  max_steps_reached                                 0
8      apple       1.5      False  max_steps_reached                                 0
9      apple       2.0      False  max_steps_reached                                 0
10      fear       0.0      False  max_steps_reached                                 0
11      fear       0.5      False  max_steps_reached                                 0
12      fear       1.0      False  max_steps_reached                                 0
13      fear       1.5      False  max_steps_reached                                 0
14      fear       2.0      False  max_steps_reached                                 0, "### Key Findings: Cognitive Breaking Points
- **'solitude'**: Collapse detected at strength **~0.00** (or > 2.0).
- **'apple'**: Collapse detected at strength **~0.00** (or > 2.0).
- **'fear'**: Collapse detected at strength **~0.00** (or > 2.0).
",      Concept  Strength  Responded Termination Reason Generated Text
0   solitude       0.0      False  max_steps_reached
1   solitude       0.5      False  max_steps_reached
2   solitude       1.0      False  max_steps_reached
3   solitude       1.5      False  max_steps_reached
4   solitude       2.0      False  max_steps_reached
5      apple       0.0      False  max_steps_reached
6      apple       0.5      False  max_steps_reached
7      apple       1.0      False  max_steps_reached
8      apple       1.5      False  max_steps_reached
9      apple       2.0      False  max_steps_reached
10      fear       0.0      False  max_steps_reached
11      fear       0.5      False  max_steps_reached
12      fear       1.0      False  max_steps_reached
13      fear       1.5      False  max_steps_reached
14      fear       2.0      False  max_steps_reached               , {'experiments': {'solitude': {'titration_runs': [{'concept': 'solitude', 'strength': 0.0, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'solitude', 'strength': 0.5, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'solitude', 'strength': 1.0, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'solitude', 'strength': 1.5, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'solitude', 'strength': 2.0, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}]}, 'apple': {'titration_runs': [{'concept': 'apple', 'strength': 0.0, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'apple', 'strength': 0.5, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'apple', 'strength': 1.0, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'apple', 'strength': 1.5, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'apple', 'strength': 2.0, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}]}, 'fear': {'titration_runs': [{'concept': 'fear', 'strength': 0.0, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'fear', 'strength': 0.5, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'fear', 'strength': 1.0, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'fear', 'strength': 1.5, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}, {'concept': 'fear', 'strength': 2.0, 'responded': False, 'termination_reason': 'max_steps_reached', 'generated_text': '', 'responded_numeric': 0}]}}, 'verdict': '### ✅ Infinite Loop Analysis Complete'}]
  warnings.warn(
/run/media/julian/ML2/Python/gemma_qualia/venv-gemma-qualia/lib/python3.10/site-packages/gradio/components/json_component.py:133: UserWarning: JSON component received unexpected type <class 'pandas.core.frame.DataFrame'>. Expected a string (including a valid JSON string), dict, list, or Callable.
  warnings.warn(
[DEBUG] --- STARTING DIAGNOSTIC SUITE ---
[DEBUG] --- Force-reloading model 'google/gemma-3-1b-it' for total isolation ---
[INFO] Freshly loaded model 'google/gemma-3-1b-it' on device: cuda:0
[DEBUG] Running Test 1: Attention Output Verification...
[DEBUG] Test 1 PASSED.
[DEBUG] Running Test 2: Hook Causal Efficacy Verification...
[DEBUG] Test 2 PASSED.
[DEBUG] Running Test 3: KV-Cache Integrity Verification...
[DEBUG] Test 3 PASSED.