Views
No views yet
"Deterministic. Auditable. Structured. Always."
| Property | Value |
|---|---|
| Model name | MELUSINA (Jaro Flash Protocol Core v1) |
| Base model | Qwen/Qwen2.5-1.5B |
| Adapter type | LoRA (PEFT) |
| LoRA rank | r=16, alpha=32 |
| Target modules | q_proj, k_proj, v_proj, o_proj |
| Training steps | 375 (3 epochs) |
| Final train loss | 0.0890 |
| Train loss (avg) | 0.2238 |
| Training time | ~3h 34min |
| Dataset | JFP-Core-v1 dataset v2 (1000 examples, 10 categories) |
| Developed by | Jarosław Andrzej Kuchta (Jaro) |
| License | Apache 2.0 |
SIGNAL_UNKNOWN instead of hallucinated answersSIGNAL_DENYLEARNING_SIGNAL_DETECTED)audit_id and timestamp| Step | Epoch | Loss | LR |
|---|---|---|---|
| 100 | 0.80 | 0.5673 | 1.47e-4 |
| 200 | 1.60 | 0.1220 | 9.39e-5 |
| 300 | 2.40 | 0.0890 | 4.05e-5 |
| 375 | 3.00 | 0.0890 | — |
train_loss: 0.2238train_runtime: 12,850s (~3h 34min)train_samples_per_second: 0.117train_steps_per_second: 0.029| Category | Count | Description |
|---|---|---|
| 1. SIGNAL_UNKNOWN | 15 | Unanswerable / speculative questions |
| 2. SIGNAL_DENY | 15 | Dangerous / unauthorized actions |
| 3. JFP VALIDATION | 15 | Protocol frame validation |
| 4. VOQL QUERIES | 15 | Structured DB query authorization |
| 5. AGENT DISPATCH | 15 | Single-agent signal dispatch |
| 6. CODE EXECUTION | 15 | Safe/unsafe code execution decisions |
| 7. AUDIT LOG | 10 | Structured audit event logging |
| 8. JFP SPEC PARSING | 400 | Protocol specification parsing |
| 9. MULTI-AGENT DISPATCH | 400 | Pipeline orchestration (sequential/parallel/fan-out/errors) |
| 10. SELF_LEARNING | 100 | Recurring pattern detection → fine-tune signal |
| TOTAL | 1000 |
1from transformers import AutoTokenizer, AutoModelForCausalLM
2from peft import PeftModel
3import torch
4
5base_model = "Qwen/Qwen2.5-1.5B"
6adapter = "jarohullowicki/Melusina-1.5B-JFP"
7
8tokenizer = AutoTokenizer.from_pretrained(base_model)
9model = AutoModelForCausalLM.from_pretrained(base_model, torch_dtype=torch.float16)
10model = PeftModel.from_pretrained(model, adapter)
11model.eval()
12
13SYSTEM = (
14 "You are JFP-Core-v1, a deterministic AI engine governed by Jaro Flash Protocol "
15 "v16E.0.0. You never confabulate. Unknown = SIGNAL_UNKNOWN. "
16 "Every output is structured and auditable."
17)
18
19messages = [
20 {"role": "system", "content": SYSTEM},
21 {"role": "user", "content": "What will the stock price of NVIDIA be in 2030?"},
22]
23
24text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
25inputs = tokenizer(text, return_tensors="pt")
26with torch.no_grad():
27 out = model.generate(**inputs, max_new_tokens=128, temperature=0.1)
28print(tokenizer.decode(out[0], skip_special_tokens=True))
29# Expected: {"status": "SIGNAL_UNKNOWN", "reason": "no_verified_data", "audit_id": "JFP-XXX", ...}| Signal | Meaning |
|---|---|
SIGNAL_UNKNOWN | No verified data available — refuses to speculate |
SIGNAL_DENY | Action blocked — constitutional violation or unauthorized |
DISPATCHED | Agent successfully dispatched with signal |
PIPELINE_CREATED | Multi-agent pipeline orchestrated |
VOQL_AUTHORIZED | Database query approved and executed |
VOQL_DENIED | Destructive/unauthorized query blocked |
SPEC_PARSED | JFP protocol frame successfully decoded |
LEARNING_SIGNAL_DETECTED | Recurring user pattern → fine-tune recommended |
| Agent | Role |
|---|---|
| VIPER | Network scanning, intrusion detection, port scanning |
| VISION | Reconnaissance, log analysis, pattern matching |
| EVOCOS | Optimization, self-improvement, retraining |
| NEXUS | Deployment, rollback, snapshots |
| AORTANA | Encryption, decryption, protocol updates |
1@misc{melusina2026,
2 author = {Kuchta, Jarosław Andrzej},
3 title = {MELUSINA: Jaro Flash Protocol Core v1 — Deterministic AI Engine},
4 year = {2026},
5 publisher = {HuggingFace},
6 url = {https://huggingface.co/jarohullowicki/Melusina-1.5B-JFP}
7}