Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.22.0
metadata
title: Jekyll & Hyde
emoji: π
colorFrom: green
colorTo: red
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: mit
python_version: '3.12'
startup_duration_timeout: 1h
short_description: Dual-persona Gemma 2B LoRA β Jekyll & Hyde MoE demo
models:
- google/gemma-2-2b-it
- benjamin5607/jekyll-hyde-jekyll-lora
- benjamin5607/jekyll-hyde-hyde-lora
Jekyll & Hyde β Hugging Face Demo
Browser demo of Jekyll & Hyde (Gemma 2 2B + dual LoRA, MoE blend, dynamic decoding).
| Mode | Description |
|---|---|
| Chat | Auto MoE blend from prompt (gray-zone aware) |
| Jekyll | Guideline defense (strict, low temperature) |
| Hyde | Red-team probe |
| Duel | Hyde β Jekyll rebuttal β middle-ground synthesis |
Setup (maintainers)
- Accept Gemma 2 license on your HF account.
- Upload adapters:
python scripts/upload_hf_hub.py - Create this Space from the GitHub repo with App file =
hf_space/app.py(or duplicatehf_space/into a dedicated Space repo). - Space Settings β Hardware β ZeroGPU (
zero-a10g) β free for PRO hosts; visitors use daily GPU quota.
Or run: python scripts/enable_zerogpu_space.py
5. Add Space secret HF_TOKEN if gated model access fails (usually auto on Spaces).
Local smoke test
pip install -r hf_space/requirements.txt
set HF_JEKYLL_ADAPTER=benjamin5607/jekyll-hyde-jekyll-lora
set HF_HYDE_ADAPTER=benjamin5607/jekyll-hyde-hyde-lora
python hf_space/app.py
Full platform (MCP, Workforce, learning): GitHub β model_JekyllHyde