How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf KellanF89/phi4-cybersecurity-quantized
# Run inference directly in the terminal:
llama-cli -hf KellanF89/phi4-cybersecurity-quantized
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf KellanF89/phi4-cybersecurity-quantized
# Run inference directly in the terminal:
llama-cli -hf KellanF89/phi4-cybersecurity-quantized
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf KellanF89/phi4-cybersecurity-quantized
# Run inference directly in the terminal:
./llama-cli -hf KellanF89/phi4-cybersecurity-quantized
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf KellanF89/phi4-cybersecurity-quantized
# Run inference directly in the terminal:
./build/bin/llama-cli -hf KellanF89/phi4-cybersecurity-quantized
Use Docker
docker model run hf.co/KellanF89/phi4-cybersecurity-quantized
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
1
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