How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama-server -hf KellanF89/phi4-cybersecurity-quantized
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "KellanF89/phi4-cybersecurity-quantized"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Phi-4-Mini Cybersecurity Fine-tuned (Quantized GGUF)

Fine-tuned on cybersecurity harmony dataset using LoRA (r=32) for tasks like QA, security assessment, incident response.

  • Base model: microsoft/Phi-4-mini-instruct (merged with adapter)
  • Training: 1 epoch, 102k examples
  • Use: Load with AutoModelForCausalLM.from_pretrained('KellanF89/phi4-cybersecurity-quantized')

License: MIT

Downloads last month
17
GGUF
Model size
4B params
Architecture
phi3
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support