Instructions to use o0Hailey-DSynth0o/Experimental_QSystem with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use o0Hailey-DSynth0o/Experimental_QSystem with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3.5-4B-Base") model = PeftModel.from_pretrained(base_model, "o0Hailey-DSynth0o/Experimental_QSystem") - Notebooks
- Google Colab
- Kaggle
File size: 3,152 Bytes
6ed0cf9 | 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 80 81 82 83 84 85 86 87 88 | ---
license: cc-by-nc-4.0
base_model:
- Qwen/Qwen3.5-4B-Base
- unsloth/Qwen3.5-4B-Base
library_name: peft
pipeline_tag: text-generation
tags:
- lora
- sft
- hscm
- quantum-inspired
- guarded-generation
---
# Experimental QSystem
An **experimental adapter/system bundle** for Qwen3.5-4B-Base. It combines a
language-layer LoRA verbalizer with portable NumPy field and complex-wave
rerankers. The full persistent HSCM memory engine is external to these weights.
## Accuracy boundary
- This is not a physically quantum LLM. The transformer, neural weights, and KV
cache are classical.
- Complex amplitudes, phase, interference, attractive/repellent signals, and the
two-qubit field are routing analogues over HSCM candidates.
- The earlier IBM QPU candidate was rejected by held-out gates and is not the
active artifact included here.
- The raw adapter failed one missing-evidence generation probe by inventing a
number. It must be used with the supplied evidence-boundary prompt and
fail-closed output guard.
## Data status
Training used 182 examples: 150 Hope bridge candidates and 32 grounding-repair
examples. **None were human-approved.** The source package explicitly labelled
them `HUMAN_REVIEW_REQUIRED`; this bounded user-requested experiment does not
promote them to authentic or production-reviewed persona data. No training rows,
private memories, credentials, or source text are included in this repository.
## Training and evaluation
- BF16, rank-16 LoRA, language attention/MLP projections only
- 21,233,664 trainable parameters (0.4656% of the loaded model)
- validation loss: 3.4935 -> 2.7221
- test loss: 3.5912 -> 2.7644
- guarded Windows end-to-end gate: 11/11 checks
- local project regression at export: 760 passed, 1 optional skip
The raw adapter remains quarantined; only the guarded composition passed.
## Portable use
```python
from portable_qsystem import PortableQSystem
system = PortableQSystem("o0Hailey-DSynth0o/Experimental_QSystem")
result = system.generate(
"What exact number was in the sealed result?",
["The notes mention a sealed result but do not give its value."],
unmet_need=True,
)
print(result["text"])
```
`unmet_need` must come from a trusted retrieval/controller layer. If you do not
have that layer, treat this as an experimental LoRA—not a grounded system.
The default 8 GiB GPU / 96 GiB CPU memory limits allow Accelerate to offload
overflow to RAM. Override them with `QSYSTEM_GPU_MEMORY` and
`QSYSTEM_CPU_MEMORY`.
## Included artifacts
- PEFT adapter and authoritative Qwen tokenizer/template
- `portable_qsystem.py`: official-template inference plus fail-closed guard
- `runtime/field_reranker.py`: NumPy two-qubit field evaluator
- `runtime/wave_reranker.py`: NumPy complex-wave controller
- `artifacts/`: hash-gated active scalar/wave parameters
- sanitized training and validation summaries
## License
This repository is shared under CC BY-NC 4.0. The referenced base models retain
their own licenses. Users are responsible for checking compatibility for their
use case.
|