CyberSec AI Portfolio - Datasets, Models & Spaces
Collection
80+ datasets, 35 Spaces & 4 models for cybersecurity AI: RGPD, NIS2, ISO 27001, DORA, AI Act, MITRE ATT&CK & more. By Ayi NEDJIMI. • 139 items • Updated
• 2
GGUF quantized versions of AYI-NEDJIMI/RGPD-Expert-1.5B for use with Ollama, llama.cpp, LM Studio, and other GGUF-compatible inference engines.
This is a fine-tuned Qwen2.5-1.5B-Instruct model specialized in RGPD/GDPR data protection regulation. It can answer questions about GDPR compliance, data subject rights, data processing agreements, privacy impact assessments, and regulatory requirements in both French and English.
Part of the AYI-NEDJIMI Cybersecurity AI Portfolio:
| Filename | Quant Type | Size | Description |
|---|---|---|---|
rgpd-expert-1.5b-Q4_K_M.gguf |
Q4_K_M | 941 MB | Recommended — Best balance of quality and size (~33% of F16) |
rgpd-expert-1.5b-Q5_K_M.gguf |
Q5_K_M | 1.07 GB | Higher quality, slightly larger (~38% of F16) |
rgpd-expert-1.5b-Q8_0.gguf |
Q8_0 | 1.57 GB | Near-lossless quantization (~54% of F16) |
Create a Modelfile:
FROM ./rgpd-expert-1.5b-Q4_K_M.gguf
TEMPLATE """<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
SYSTEM "You are a RGPD/GDPR expert assistant. You provide detailed, accurate guidance on data protection regulation, privacy rights, GDPR compliance, and data processing requirements. You respond in the same language as the user's question."
PARAMETER temperature 0.7
PARAMETER top_p 0.8
PARAMETER top_k 20
PARAMETER stop "<|im_end|>"
Then run:
ollama create rgpd-expert -f Modelfile
ollama run rgpd-expert
# Interactive chat
./llama-cli -m rgpd-expert-1.5b-Q4_K_M.gguf \
-p "You are a RGPD/GDPR expert assistant." \
--chat-template chatml \
-cnv
# Server mode
./llama-server -m rgpd-expert-1.5b-Q4_K_M.gguf \
--host 0.0.0.0 --port 8080
from llama_cpp import Llama
llm = Llama(model_path="rgpd-expert-1.5b-Q4_K_M.gguf", n_ctx=4096)
response = llm.create_chat_completion(
messages=[
{"role": "system", "content": "You are a RGPD/GDPR expert assistant."},
{"role": "user", "content": "Quels sont les droits des personnes concernées selon le RGPD?"}
],
temperature=0.7,
top_p=0.8,
top_k=20,
)
print(response["choices"][0]["message"]["content"])
| Version | Link |
|---|---|
| Merged (SafeTensors) | AYI-NEDJIMI/RGPD-Expert-1.5B |
| LoRA Adapter | AYI-NEDJIMI/RGPD-Expert-1.5B-Adapter |
| GGUF (this repo) | AYI-NEDJIMI/RGPD-Expert-1.5B-GGUF |
| Portfolio Collection | AYI-NEDJIMI/CyberSec-AI-Portfolio |
4-bit
5-bit
8-bit