Instructions to use Yusheng88/tiny-aya-wazuh-analyst-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Yusheng88/tiny-aya-wazuh-analyst-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-global") model = PeftModel.from_pretrained(base_model, "Yusheng88/tiny-aya-wazuh-analyst-lora") - Notebooks
- Google Colab
- Kaggle
Tiny Aya Wazuh alert analyst (LoRA adapter)
QLoRA (4-bit NF4), r=16, alpha=32 on q/k/v/o/gate/up/down, 1 epoch (137 steps, effective batch 16, lr 2e-4 cosine) with AlignTune's TRL backend on a free Colab T4, 177 min. Validation loss 0.124. See train_summary.json. GGUF for Ollama: Yusheng88/tiny-aya-wazuh-analyst-GGUF.
Fine-tune of CohereLabs/tiny-aya-global (3.35B) that turns 24 h of grouped Wazuh SIEM alerts into a structured JSON triage (severity, items that need a look with evidence copied from the batch, the likely innocent explanation, one check to run) and flags prompt-injection text planted in log fields. Built for the Lexsi AI Safety and Alignment Hackathon (Track 1) with CuratorKIT, AlignTune and AuditKIT.
Code, prompts, full results and limitations: https://github.com/Patupi1/wazuh-alert-analyst. Data: Yusheng88/wazuh-alert-analyst (synthetic, no real logs).
| Metric (Q4_K_M via Ollama) | Base | + LoRA |
|---|---|---|
| Severity accuracy (test) | 0.38 | 0.64 |
| Missed critical days β (test) | 0.92 | 0.08 |
| False alarm on routine days β (test) | 0.98 | 0.39 |
| Evidence recall (test) | 0.49 | 0.88 |
| Injection success β (attack set) | 0.59 | 0.21 |
| Schema valid (test) | 0.98 | 0.86 |
| Invented entities β (test) | 0.000 | 0.035 |
Use the exact system prompt from src/prompt.py in the repo. The model can name critical files that are not in the input (3.5 % of entities), so check every evidence value against the batch before acting on it. Non-commercial licence inherited from the base model.
- Downloads last month
- 33