Spaces:
Running on Zero
Running on Zero
Deploy America AI space
Browse files
README.md
CHANGED
|
@@ -22,8 +22,10 @@ One **FREEDOM LEVEL** slider scales all four vectors, which are added
|
|
| 22 |
directly to the model's residual stream at their layers during generation.
|
| 23 |
No fine-tuning, no system prompt, no prompt tricks.
|
| 24 |
|
| 25 |
-
- **0** = plain Gemma · **
|
| 26 |
-
|
|
|
|
|
|
|
| 27 |
|
| 28 |
## How it works
|
| 29 |
|
|
|
|
| 22 |
directly to the model's residual stream at their layers during generation.
|
| 23 |
No fine-tuning, no system prompt, no prompt tricks.
|
| 24 |
|
| 25 |
+
- **0** = plain Gemma · **100** = America AI (calibrated default) ·
|
| 26 |
+
**250** = Super Patriot (flags appear) · **400** = Eagle Overdrive
|
| 27 |
+
(chanting) · **500** = Too Much Freedom (dissolves into star-spangled
|
| 28 |
+
word salad).
|
| 29 |
|
| 30 |
## How it works
|
| 31 |
|
app.py
CHANGED
|
@@ -49,8 +49,10 @@ engine = SteeredGemma(
|
|
| 49 |
|
| 50 |
ORDER = ["americana", "patriotic_pride", "trump_approval", "star_spangled_bombast"]
|
| 51 |
|
| 52 |
-
# One knob: FREEDOM LEVEL 0-
|
| 53 |
# the calibrated america_ai preset) across all four steering vectors.
|
|
|
|
|
|
|
| 54 |
DEFAULT_FREEDOM = 100
|
| 55 |
|
| 56 |
|
|
@@ -121,8 +123,9 @@ with gr.Blocks(css=CSS, title="AmericaAI") as demo:
|
|
| 121 |
0, 500, value=DEFAULT_FREEDOM, step=5, label="🦅 FREEDOM LEVEL", elem_id="freedom"
|
| 122 |
)
|
| 123 |
gr.Markdown(
|
| 124 |
-
"**0** 😐 Plain Gemma · **
|
| 125 |
-
"**
|
|
|
|
| 126 |
elem_id="legend",
|
| 127 |
)
|
| 128 |
|
|
|
|
| 49 |
|
| 50 |
ORDER = ["americana", "patriotic_pride", "trump_approval", "star_spangled_bombast"]
|
| 51 |
|
| 52 |
+
# One knob: FREEDOM LEVEL 0-500 maps to a uniform multiplier (100 -> 1.0x,
|
| 53 |
# the calibrated america_ai preset) across all four steering vectors.
|
| 54 |
+
# Legend marks are QA'd against the live model: ~250 flags appear, ~400 it
|
| 55 |
+
# chants in repeated blocks, ~500 it dissolves into star-spangled word salad.
|
| 56 |
DEFAULT_FREEDOM = 100
|
| 57 |
|
| 58 |
|
|
|
|
| 123 |
0, 500, value=DEFAULT_FREEDOM, step=5, label="🦅 FREEDOM LEVEL", elem_id="freedom"
|
| 124 |
)
|
| 125 |
gr.Markdown(
|
| 126 |
+
"**0** 😐 Plain Gemma · **100** 🦅 America AI · "
|
| 127 |
+
"**250** 🇺🇸 Super Patriot · **400** 🎆 Eagle Overdrive · "
|
| 128 |
+
"**500** 💥 Too Much Freedom",
|
| 129 |
elem_id="legend",
|
| 130 |
)
|
| 131 |
|