Downloads · 30 days
13
14% of all-time downloads
LisaMegaWatts/SymbioSLM-ouroboros-lora-20260301
SymbioSLM-ouroboros-lora-20260301 is a text generation model from LisaMegaWatts. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
A LoRA adapter discovered by symbiogenesis — a population-based evolutionary framework that evolves adapter configurations (rank, target modules) through fusion and selection, with CUSUM gelation detection for automat…
Downloads · 30 days
13
14% of all-time downloads
All-time downloads
93
Public
Repo size
41.8 MB
Likes
0
Public
Click a slice to open those files.
.safetensors41.8 MB · 100%
From the Hugging Face model README
A LoRA adapter discovered by symbiogenesis — a population-based evolutionary framework that evolves adapter configurations (rank, target modules) through fusion and selection, with CUSUM gelation detection for automatic stopping.
| Metric | Baseline (frozen) | This Adapter |
|---|---|---|
| Val Loss | 5.7342 | 4.1181 |
| Perplexity | 309.3 | 61.4 |
| Trainable Params | 0 | 10,441,728 (3.89%) |
5x perplexity improvement on curated philosophy text with under 4% trainable parameters.
| Parameter | Value | How Discovered |
|---|---|---|
| Rank | 44 | Parallel fusion (gen 1) |
| Target modules | All 7 (q, k, v, o, gate, up, down) | 100% population convergence |
| Alpha | 88 (2 × rank) | Fixed rule |
| Dropout | 0.0 | Evolution selected |
The population of 10 adapters converged to all-7-target configs by generation 7 (gelation). MLP modules (gate_proj, up_proj, down_proj) reached 100% adoption — essential for causal LM adaptation on Gemma-3.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained(
"LisaMegaWatts/Ouroboros-1MContext-Gemma-270m",
torch_dtype="auto",
device_map="auto",
)
model = PeftModel.from_pretrained(base_model, "LisaMegaWatts/SymbioSLM-ouroboros-lora-20260301")
tokenizer = AutoTokenizer.from_pretrained("LisaMegaWatts/Ouroboros-1MContext-Gemma-270m")
inputs = tokenizer("The nature of consciousness", return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Symbiogenesis (Margulis, 1967) models complexity emerging through fusion of simpler organisms. Here, small LoRA adapters are the "organisms" — they fuse configurations (merging target modules and ranks) and compete on fitness.
Evolution:
Extended fine-tune: Best config trained 2000 steps with cosine LR schedule.
Curated philosophy corpus from LisaMegaWatts/SymbioGPT-10M:
| Phase | Time | Hardware |
|---|---|---|
| Evolution (10 pop × 17 gens) | 160 min | RTX 3060 12GB |
| Extended fine-tune (2000 steps) | 26 min | RTX 3060 12GB |
| Total | 186 min |
| Module | Final Frequency | Role |
|---|---|---|
| v_proj | 100% | Value projection |
| o_proj | 100% | Output projection |
| up_proj | 100% | MLP up-projection |
| down_proj | 100% | MLP down-projection |
| q_proj | 90% | Query projection |
| k_proj | 90% | Key projection |
| gate_proj | 90% | MLP gate |
| Step | Val Loss | PPL |
|---|---|---|
| 250 | 4.1890 | 66.0 |
| 500 | 4.1727 | 64.9 |
| 750 | 4.1445 | 63.1 |
| 1000 | 4.1416 | 62.9 |
| 1250 | 4.1259 | 61.9 |
| Final | 4.1181 | 61.4 |