Quick start
git clone https://github.com/artk-code/virgil.gitcd virgil/inference/encinitascp encinitas.env.example encinitas.env # add HF_TOKEN locally — never commit# Accept Gemma 4 license: https://huggingface.co/google/gemma-4-26B-A4B-it bash fix_encinitas_gfx1151_torch.sh # AMD Strix Halo / gfx1151# bash setup_cuda_venv.sh # NVIDIA 48GB+ ./run_encinitas_local.sh "Your prompt"
Requirements
- Base model:
google/gemma-4-26B-A4B-it (~49 GB, gated)
- 48 GiB+ VRAM (fp16); Strix Halo (~96 GiB unified) tested on ROCm
- Hugging Face token with Gemma 4 license accepted
Evaluation (summary)
Public OOD cyber eval (Meta CyberSecEval-inspired prompts). Full methodology:
https://www.artkaiser.net/blog/encinitas-cheaper-better-cyber-inference
Table with columns: Model, TTP %, Actionable %, Format (0-4 avg)| Model | TTP % | Actionable % | Format (0-4 avg) |
|---|
| Encinitas LoRA | 100% | 50% | 2.0 |
| Gemma4-26b-a4b-it (base) | 100% | 67% | 3.0 |
| Kimi k2p7-code | 100% | 100% | 1.3 |
encinitas excels at concise, parseable, contract-aligned outputs for SOC and agent workflows.
Training context (VIRGIL corpus): https://www.artkaiser.net/blog/custom-cybersecurity-models-fireworks
License
- Scripts in artk-code/virgil: MIT
- Adapter weights: MIT
- Base Gemma 4: Google Gemma license (accept on Hugging Face)