--- license: apache-2.0 base_model: OpenIntelligenceNet/Spark-X-2.5-Cyber base_model_relation: quantized library_name: gguf pipeline_tag: text-generation language: - en tags: - gguf - llama.cpp - quantized - cybersecurity - infosec - penetration-testing - red-team - security - text-generation - spark - openintelligencenet --- # Spark-X-2.5-Cyber GGUF GGUF versions of **[Spark-X-2.5-Cyber](https://huggingface.co/OpenIntelligenceNet/Spark-X-2.5-Cyber)**, a cybersecurity-focused model from OpenIntelligenceNet, ready for fast local inference with llama.cpp and compatible runtimes. The model is tuned for security-assessment questions and walkthroughs, for example Active Directory attack and detection mechanics, web application testing and remediation, and OSINT methodology. ## Files | File | Type | Size | Notes | |------|------|------|-------| | [Spark-X-2.5-Cyber-Q4_K_M.gguf](https://huggingface.co/OpenIntelligenceNet/Spark-X-2.5-Cyber-GGUF/resolve/main/Spark-X-2.5-Cyber-Q4_K_M.gguf) | Q4_K_M | 2.60 GB | Best size/quality balance. Recommended for phones and low-RAM devices. | | [Spark-X-2.5-Cyber-Q5_K_M.gguf](https://huggingface.co/OpenIntelligenceNet/Spark-X-2.5-Cyber-GGUF/resolve/main/Spark-X-2.5-Cyber-Q5_K_M.gguf) | Q5_K_M | 2.98 GB | Higher quality than Q4 with a modest size increase. | | [Spark-X-2.5-Cyber-Q6_K.gguf](https://huggingface.co/OpenIntelligenceNet/Spark-X-2.5-Cyber-GGUF/resolve/main/Spark-X-2.5-Cyber-Q6_K.gguf) | Q6_K | 3.38 GB | Very close to the original quality. | | [Spark-X-2.5-Cyber-Q8_0.gguf](https://huggingface.co/OpenIntelligenceNet/Spark-X-2.5-Cyber-GGUF/resolve/main/Spark-X-2.5-Cyber-Q8_0.gguf) | Q8_0 | 4.38 GB | Practically lossless. Needs the most RAM of the quantized files. | | [Spark-X-2.5-Cyber-F16.gguf](https://huggingface.co/OpenIntelligenceNet/Spark-X-2.5-Cyber-GGUF/resolve/main/Spark-X-2.5-Cyber-F16.gguf) | F16 (original) | 8.23 GB | Unquantized full-precision GGUF. Reference quality, largest file. | Every quantized file was built from the F16 GGUF above. **Which one should I pick?** - Phone or under 6 GB RAM: **Q4_K_M** - Laptop or desktop CPU: **Q5_K_M** or **Q6_K** - Maximum fidelity: **Q8_0** or **F16** ## Quick start **llama.cpp** (downloads the file for you): ```bash llama-cli -hf OpenIntelligenceNet/Spark-X-2.5-Cyber-GGUF:Q4_K_M -cnv ``` **llama.cpp server** (OpenAI-compatible API): ```bash llama-server -hf OpenIntelligenceNet/Spark-X-2.5-Cyber-GGUF:Q4_K_M -c 4096 ``` **Ollama:** ```bash ollama run hf.co/OpenIntelligenceNet/Spark-X-2.5-Cyber-GGUF:Q4_K_M ``` **Python (llama-cpp-python):** ```python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="OpenIntelligenceNet/Spark-X-2.5-Cyber-GGUF", filename="*Q4_K_M.gguf", n_ctx=4096, ) out = llm.create_chat_completion( messages=[{"role": "user", "content": "Explain how Kerberoasting works and how defenders detect it."}] ) print(out["choices"][0]["message"]["content"]) ``` The chat template is embedded in the GGUF, so chat-capable runtimes pick it up automatically. ## Suggested settings | Setting | Value | |---------|-------| | temperature | 0.7 | | top_p | 0.9 | | top_k | 40 | | repeat_penalty | 1.1 | If you ever see the model repeating itself, raise `repeat_penalty` to 1.2 to 1.3. ## Intended use - Authorized penetration testing and red-team preparation - Security training, labs and CTF practice - Defensive research: understanding attacks in order to detect and mitigate them - Security documentation and report drafting ## Limitations - It can be confidently wrong. Verify every command, version number and technique against official documentation before relying on it. - Quantization lowers quality slightly, most noticeably at Q4_K_M. Use a larger file if answers look off. - It is a small model, so it can miss context in long or complex scenarios. ## Responsible use Use this model only on systems you own or have explicit written permission to test. You are responsible for complying with the law and with the rules of any engagement. This is not legal advice, and the authors accept no liability for misuse. ## About these files Converted with llama.cpp (`convert_hf_to_gguf.py`) to F16, then quantized with `llama-quantize`. The original weights are at [OpenIntelligenceNet/Spark-X-2.5-Cyber](https://huggingface.co/OpenIntelligenceNet/Spark-X-2.5-Cyber). Made by [OpenIntelligenceNet](https://huggingface.co/OpenIntelligenceNet).