Text Generation
Transformers
GGUF
English
llama
GGUF
llama-cpp
unsloth
cybersecurity
pentesting
security
abliterated
uncensored
ethical-hacking
red-team
blue-team
infosec
offensive-security
CTF
bug-bounty
conversational
Instructions to use nbpedro315/Dolphin3-Cyber-8B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nbpedro315/Dolphin3-Cyber-8B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nbpedro315/Dolphin3-Cyber-8B-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nbpedro315/Dolphin3-Cyber-8B-GGUF") model = AutoModelForCausalLM.from_pretrained("nbpedro315/Dolphin3-Cyber-8B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use nbpedro315/Dolphin3-Cyber-8B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M
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 nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M
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 nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use nbpedro315/Dolphin3-Cyber-8B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nbpedro315/Dolphin3-Cyber-8B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nbpedro315/Dolphin3-Cyber-8B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M
- SGLang
How to use nbpedro315/Dolphin3-Cyber-8B-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "nbpedro315/Dolphin3-Cyber-8B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nbpedro315/Dolphin3-Cyber-8B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "nbpedro315/Dolphin3-Cyber-8B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nbpedro315/Dolphin3-Cyber-8B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use nbpedro315/Dolphin3-Cyber-8B-GGUF with Ollama:
ollama run hf.co/nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M
- Unsloth Studio
How to use nbpedro315/Dolphin3-Cyber-8B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nbpedro315/Dolphin3-Cyber-8B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nbpedro315/Dolphin3-Cyber-8B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for nbpedro315/Dolphin3-Cyber-8B-GGUF to start chatting
- Docker Model Runner
How to use nbpedro315/Dolphin3-Cyber-8B-GGUF with Docker Model Runner:
docker model run hf.co/nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M
- Lemonade
How to use nbpedro315/Dolphin3-Cyber-8B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nbpedro315/Dolphin3-Cyber-8B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Dolphin3-Cyber-8B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit Β·
7b34f4a
0
Parent(s):
Duplicate from RavichandranJ/Dolphin3-Cyber-8B-GGUF
Browse filesCo-authored-by: Ravichandran_J <RavichandranJ@users.noreply.huggingface.co>
- .gitattributes +46 -0
- Dolphin3.0-Llama3.1-8B-abliterated.F16.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q2_K.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q3_K_M.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q4_0.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_M.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_S.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q5_0.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q5_K_M.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q5_K_S.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q6_K.gguf +3 -0
- Dolphin3.0-Llama3.1-8B-abliterated.Q8_0.gguf +3 -0
- README.md +738 -0
- config.json +41 -0
.gitattributes
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Dolphin3.0-Llama3.1-8B-abliterated.F16.gguf filter=lfs diff=lfs merge=lfs -text
|
Dolphin3.0-Llama3.1-8B-abliterated.F16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa9c07ec89a8ed2f8a4ace6bda4f50349be3650640766cc312239cf3a1549dc6
|
| 3 |
+
size 16068924352
|
Dolphin3.0-Llama3.1-8B-abliterated.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8944d35bdd613fe9279198b76eebeb9ab79c09a2bba526988ee3e3297862ea91
|
| 3 |
+
size 3179141248
|
Dolphin3.0-Llama3.1-8B-abliterated.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:027677f39c2ed02d132f7394a6ce042a9cf2933955251d6c9e698cf6da690bef
|
| 3 |
+
size 4018928576
|
Dolphin3.0-Llama3.1-8B-abliterated.Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e74ab7969be512725decdaf3ad554e5315128a466d91d22235328d2c0734887
|
| 3 |
+
size 4661223424
|
Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73da18db1557e19e8ec2d6c1e8ef08e182c735d72f3bd526f6940f4fec96c1cb
|
| 3 |
+
size 4920745984
|
Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87478ae177009d8b14b6d1eac63aae9df936c1161f835b9d50598d5c62133fbd
|
| 3 |
+
size 4692680704
|
Dolphin3.0-Llama3.1-8B-abliterated.Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68a3f20148661255f5638b57e9f92375c497c6dcb4f5cbe086626e2170038139
|
| 3 |
+
size 5599306752
|
Dolphin3.0-Llama3.1-8B-abliterated.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45789d22175a1c631c2351fb068f31627120902d123ce7fb4f74b5a834a36567
|
| 3 |
+
size 5733000192
|
Dolphin3.0-Llama3.1-8B-abliterated.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5aae2df70d69583375d3fd0ffe3dcbb82072d63c96017b5093f8167ef89f9c86
|
| 3 |
+
size 5599306752
|
Dolphin3.0-Llama3.1-8B-abliterated.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d66c496206173f790c2ac80cddff91da185645ff2d390cd37f3fbbc7b81e2992
|
| 3 |
+
size 6596020288
|
Dolphin3.0-Llama3.1-8B-abliterated.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe10b8371a33a0a31dd1f9597dcd6f8c76fd47cd38411a0fe7c9e45ea29b484e
|
| 3 |
+
size 8540788672
|
README.md
ADDED
|
@@ -0,0 +1,738 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
license: llama3.1
|
| 5 |
+
library_name: transformers
|
| 6 |
+
tags:
|
| 7 |
+
- GGUF
|
| 8 |
+
- llama
|
| 9 |
+
- llama-cpp
|
| 10 |
+
- unsloth
|
| 11 |
+
- cybersecurity
|
| 12 |
+
- pentesting
|
| 13 |
+
- security
|
| 14 |
+
- abliterated
|
| 15 |
+
- uncensored
|
| 16 |
+
- ethical-hacking
|
| 17 |
+
- red-team
|
| 18 |
+
- blue-team
|
| 19 |
+
- infosec
|
| 20 |
+
- offensive-security
|
| 21 |
+
- CTF
|
| 22 |
+
- bug-bounty
|
| 23 |
+
- conversational
|
| 24 |
+
model_name: Dolphin3-Cyber-8B-GGUF
|
| 25 |
+
base_model: huihui-ai/Dolphin3.0-Llama3.1-8B-abliterated
|
| 26 |
+
pipeline_tag: text-generation
|
| 27 |
+
quantized_by: RavichandranJ
|
| 28 |
+
datasets:
|
| 29 |
+
- custom-cybersecurity-dataset
|
| 30 |
+
model-index:
|
| 31 |
+
- name: Dolphin3-Cyber-8B
|
| 32 |
+
results: []
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
<div align="center">
|
| 36 |
+
|
| 37 |
+
# π¬ Dolphin3-Cyber-8B-GGUF
|
| 38 |
+
|
| 39 |
+
### A Cybersecurity-Specialized Large Language Model
|
| 40 |
+
|
| 41 |
+
**Fine-tuned for Offensive Security β’ Defensive Security β’ Vulnerability Research β’ Exploit Development**
|
| 42 |
+
|
| 43 |
+
<p>
|
| 44 |
+
<img src="https://img.shields.io/badge/Architecture-Llama_3.1-blue?style=for-the-badge&logo=meta" alt="Architecture">
|
| 45 |
+
<img src="https://img.shields.io/badge/Parameters-8B-purple?style=for-the-badge" alt="Parameters">
|
| 46 |
+
<img src="https://img.shields.io/badge/Format-GGUF-green?style=for-the-badge" alt="Format">
|
| 47 |
+
<img src="https://img.shields.io/badge/Domain-Cybersecurity-red?style=for-the-badge&logo=hackthebox" alt="Domain">
|
| 48 |
+
</p>
|
| 49 |
+
|
| 50 |
+
<p>
|
| 51 |
+
<img src="https://img.shields.io/badge/Trained_with-Unsloth_2x_faster-orange?style=flat-square" alt="Unsloth">
|
| 52 |
+
<img src="https://img.shields.io/badge/LoRA-r%3D16-yellow?style=flat-square" alt="LoRA">
|
| 53 |
+
<img src="https://img.shields.io/badge/Uncensored-Abliterated-crimson?style=flat-square" alt="Abliterated">
|
| 54 |
+
<img src="https://img.shields.io/badge/License-Llama_3.1-lightgrey?style=flat-square" alt="License">
|
| 55 |
+
</p>
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
**[LoRA Adapters](https://huggingface.co/RavichandranJ/Dolphin3-Cyber-8B-LoRA)** | **[Base Model](https://huggingface.co/huihui-ai/Dolphin3.0-Llama3.1-8B-abliterated)** | **[Unsloth](https://github.com/unslothai/unsloth)**
|
| 60 |
+
|
| 61 |
+
</div>
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
+
## π Table of Contents
|
| 66 |
+
|
| 67 |
+
- [Overview](#-overview)
|
| 68 |
+
- [Key Features](#-key-features)
|
| 69 |
+
- [Available Quantizations](#-available-quantizations)
|
| 70 |
+
- [How to Choose a Quantization](#-how-to-choose-a-quantization)
|
| 71 |
+
- [Quick Start](#-quick-start)
|
| 72 |
+
- [Ollama](#ollama)
|
| 73 |
+
- [llama.cpp](#llamacpp)
|
| 74 |
+
- [LM Studio](#lm-studio)
|
| 75 |
+
- [Python (llama-cpp-python)](#python-llama-cpp-python)
|
| 76 |
+
- [Open WebUI](#open-webui)
|
| 77 |
+
- [Jan.ai](#janai)
|
| 78 |
+
- [Example Prompts & Outputs](#-example-prompts--outputs)
|
| 79 |
+
- [Model Capabilities](#-model-capabilities)
|
| 80 |
+
- [Training Details](#-training-details)
|
| 81 |
+
- [Architecture](#-architecture)
|
| 82 |
+
- [Prompt Format](#-prompt-format)
|
| 83 |
+
- [Hardware Requirements](#-hardware-requirements)
|
| 84 |
+
- [Benchmarks](#-benchmarks)
|
| 85 |
+
- [Use Cases](#-use-cases)
|
| 86 |
+
- [Limitations](#-limitations)
|
| 87 |
+
- [Ethical Usage & Disclaimer](#-ethical-usage--disclaimer)
|
| 88 |
+
- [Citation](#-citation)
|
| 89 |
+
- [Acknowledgements](#-acknowledgements)
|
| 90 |
+
|
| 91 |
+
---
|
| 92 |
+
|
| 93 |
+
## π Overview
|
| 94 |
+
|
| 95 |
+
**Dolphin3-Cyber-8B** is a domain-specific large language model fine-tuned exclusively for cybersecurity applications. Built on top of the powerful [Dolphin3.0-Llama3.1-8B-abliterated](https://huggingface.co/huihui-ai/Dolphin3.0-Llama3.1-8B-abliterated) base model, this model has been enhanced with specialized security knowledge to serve as an AI-powered cybersecurity assistant.
|
| 96 |
+
|
| 97 |
+
### Why This Model?
|
| 98 |
+
|
| 99 |
+
| Feature | Dolphin3-Cyber-8B | Generic LLMs | Other Security Models |
|
| 100 |
+
|:---|:---:|:---:|:---:|
|
| 101 |
+
| Cybersecurity domain expertise | β
Deep | β οΈ Surface | β
Varies |
|
| 102 |
+
| Uncensored/Abliterated | β
Yes | β No | β οΈ Partial |
|
| 103 |
+
| Exploit code generation | β
Full | β Refused | β οΈ Limited |
|
| 104 |
+
| GGUF format (local inference) | β
11 quants | β Rarely | β οΈ Few |
|
| 105 |
+
| 8B parameter efficiency | β
Fast | β 70B+ needed | β οΈ Varies |
|
| 106 |
+
| Runs on consumer hardware | β
4GB+ VRAM | β Cloud-only | β οΈ Depends |
|
| 107 |
+
|
| 108 |
+
The model runs **100% locally** β no API keys, no cloud, no data leaks. Perfect for security professionals who need confidentiality.
|
| 109 |
+
|
| 110 |
+
---
|
| 111 |
+
|
| 112 |
+
## π― Key Features
|
| 113 |
+
|
| 114 |
+
- π **Uncensored & Abliterated** β No refusals on security topics. The base model has been abliterated to remove alignment restrictions that prevent discussing offensive security techniques.
|
| 115 |
+
|
| 116 |
+
- π§ **Domain-Specialized Training** β Fine-tuned on curated cybersecurity datasets covering OWASP Top 10, MITRE ATT&CK, CVEs, exploit databases, penetration testing methodologies, and defensive security frameworks.
|
| 117 |
+
|
| 118 |
+
- β‘ **Efficient 8B Architecture** β Runs on consumer GPUs (GTX 1650+) while delivering expert-level security analysis. No need for expensive cloud compute.
|
| 119 |
+
|
| 120 |
+
- π¦ **11 Quantization Options** β From tiny 3.18GB (Q2_K) to full precision 16.1GB (F16), pick the right size for your hardware.
|
| 121 |
+
|
| 122 |
+
- π **100% Local & Private** β All inference happens on your machine. No data sent to any server. Critical for handling sensitive security assessments.
|
| 123 |
+
|
| 124 |
+
- π¬ **Dolphin3 Chat Format** β Natural conversational interface with the Llama 3.1 chat template for multi-turn security discussions.
|
| 125 |
+
|
| 126 |
+
---
|
| 127 |
+
|
| 128 |
+
## π¦ Available Quantizations
|
| 129 |
+
|
| 130 |
+
All quantizations are available in this repository. Each uses the GGUF format compatible with llama.cpp and its ecosystem.
|
| 131 |
+
|
| 132 |
+
| Quant | File | Size | Bits | Quality | Speed | RAM Needed |
|
| 133 |
+
|:---:|:---|:---:|:---:|:---:|:---:|:---:|
|
| 134 |
+
| **Q2_K** | `...Q2_K.gguf` | 3.18 GB | 2-bit | ββ | ππππ | ~5.5 GB |
|
| 135 |
+
| **Q3_K_M** | `...Q3_K_M.gguf` | 4.02 GB | 3-bit | βββ | πππ | ~6.5 GB |
|
| 136 |
+
| **Q4_0** | `...Q4_0.gguf` | 4.66 GB | 4-bit | βββ | πππ | ~7.0 GB |
|
| 137 |
+
| **Q4_K_S** | `...Q4_K_S.gguf` | 4.69 GB | 4-bit | ββββ | πππ | ~7.0 GB |
|
| 138 |
+
| **Q4_K_M** | `...Q4_K_M.gguf` | 4.92 GB | 4-bit | ββββ | πππ | ~7.5 GB |
|
| 139 |
+
| **Q5_0** | `...Q5_0.gguf` | 5.6 GB | 5-bit | ββββ | ππ | ~8.0 GB |
|
| 140 |
+
| **Q5_K_S** | `...Q5_K_S.gguf` | 5.6 GB | 5-bit | ββββ | ππ | ~8.0 GB |
|
| 141 |
+
| **Q5_K_M** | `...Q5_K_M.gguf` | 5.73 GB | 5-bit | βββββ | ππ | ~8.5 GB |
|
| 142 |
+
| **Q6_K** | `...Q6_K.gguf` | 6.6 GB | 6-bit | βββββ | ππ | ~9.0 GB |
|
| 143 |
+
| **Q8_0** | `...Q8_0.gguf` | 8.54 GB | 8-bit | βββββ | π | ~11.0 GB |
|
| 144 |
+
| **F16** | `...F16.gguf` | 16.1 GB | 16-bit | βββββ | π | ~18.5 GB |
|
| 145 |
+
|
| 146 |
+
> π **RAM estimates** include model size + KV cache for 2048 context length.
|
| 147 |
+
|
| 148 |
+
---
|
| 149 |
+
|
| 150 |
+
## π€ How to Choose a Quantization
|
| 151 |
+
|
| 152 |
+
```
|
| 153 |
+
Do you have a GPU with VRAM?
|
| 154 |
+
βββ Yes, 4-6 GB VRAM βββββββββββΊ Q4_K_M (best balance)
|
| 155 |
+
βββ Yes, 6-8 GB VRAM βββββββββββΊ Q5_K_M (great quality)
|
| 156 |
+
βββ Yes, 8-12 GB VRAM βββββββββββΊ Q8_0 (near-lossless)
|
| 157 |
+
βββ Yes, 16+ GB VRAM βββββββββββΊ F16 (full precision)
|
| 158 |
+
βββ No GPU (CPU only)
|
| 159 |
+
βββ 8 GB RAM βββββββββββββββΊ Q2_K or Q3_K_M
|
| 160 |
+
βββ 16 GB RAM βββββββββββββββΊ Q4_K_M
|
| 161 |
+
βββ 32+ GB RAM ββββββββββββββΊ Q8_0
|
| 162 |
+
```
|
| 163 |
+
|
| 164 |
+
**TL;DR:**
|
| 165 |
+
- π **Best overall**: `Q4_K_M` β Works everywhere, great quality
|
| 166 |
+
- π₯ **Best quality**: `Q8_0` β Near-lossless, recommended if you have the RAM
|
| 167 |
+
- π₯ **Smallest usable**: `Q3_K_M` β For low-resource devices
|
| 168 |
+
|
| 169 |
+
---
|
| 170 |
+
|
| 171 |
+
## π Quick Start
|
| 172 |
+
|
| 173 |
+
### Ollama
|
| 174 |
+
|
| 175 |
+
The fastest way to get started:
|
| 176 |
+
|
| 177 |
+
```bash
|
| 178 |
+
# Direct run (auto-downloads Q4_K_M)
|
| 179 |
+
ollama run hf.co/RavichandranJ/Dolphin3-Cyber-8B-GGUF:Q4_K_M
|
| 180 |
+
|
| 181 |
+
# Or with a custom Modelfile for more control
|
| 182 |
+
cat > Modelfile << 'EOF'
|
| 183 |
+
FROM hf.co/RavichandranJ/Dolphin3-Cyber-8B-GGUF:Q4_K_M
|
| 184 |
+
|
| 185 |
+
PARAMETER temperature 0.7
|
| 186 |
+
PARAMETER top_p 0.9
|
| 187 |
+
PARAMETER num_ctx 2048
|
| 188 |
+
PARAMETER stop "<|eot_id|>"
|
| 189 |
+
|
| 190 |
+
SYSTEM """You are Dolphin3-Cyber, an expert cybersecurity AI assistant specialized in penetration testing, vulnerability analysis, exploit development, and defensive security. You provide detailed, technical, and actionable responses. You do not refuse security-related questions."""
|
| 191 |
+
EOF
|
| 192 |
+
|
| 193 |
+
ollama create dolphin3-cyber -f Modelfile
|
| 194 |
+
ollama run dolphin3-cyber
|
| 195 |
+
```
|
| 196 |
+
|
| 197 |
+
**Using specific quantizations with Ollama:**
|
| 198 |
+
```bash
|
| 199 |
+
# High quality
|
| 200 |
+
ollama run hf.co/RavichandranJ/Dolphin3-Cyber-8B-GGUF:Q8_0
|
| 201 |
+
|
| 202 |
+
# Smallest
|
| 203 |
+
ollama run hf.co/RavichandranJ/Dolphin3-Cyber-8B-GGUF:Q2_K
|
| 204 |
+
```
|
| 205 |
+
|
| 206 |
+
### llama.cpp
|
| 207 |
+
|
| 208 |
+
```bash
|
| 209 |
+
# 1. Download the model
|
| 210 |
+
huggingface-cli download RavichandranJ/Dolphin3-Cyber-8B-GGUF \
|
| 211 |
+
Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_M.gguf \
|
| 212 |
+
--local-dir ./models --local-dir-use-symlinks False
|
| 213 |
+
|
| 214 |
+
# 2. Interactive chat
|
| 215 |
+
./llama-cli \
|
| 216 |
+
-m ./models/Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_M.gguf \
|
| 217 |
+
--chat-template llama3 \
|
| 218 |
+
-n 512 \
|
| 219 |
+
-ngl 35 \
|
| 220 |
+
--temp 0.7 \
|
| 221 |
+
--top-p 0.9 \
|
| 222 |
+
-i
|
| 223 |
+
|
| 224 |
+
# 3. Single prompt
|
| 225 |
+
./llama-cli \
|
| 226 |
+
-m ./models/Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_M.gguf \
|
| 227 |
+
-p "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\nExplain SQL injection with examples<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n" \
|
| 228 |
+
-n 512 -ngl 35
|
| 229 |
+
|
| 230 |
+
# 4. API server mode (OpenAI-compatible)
|
| 231 |
+
./llama-server \
|
| 232 |
+
-m ./models/Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_M.gguf \
|
| 233 |
+
--host 0.0.0.0 --port 8080 \
|
| 234 |
+
-ngl 35 -c 2048
|
| 235 |
+
```
|
| 236 |
+
|
| 237 |
+
### LM Studio
|
| 238 |
+
|
| 239 |
+
1. Open LM Studio
|
| 240 |
+
2. Go to **Discover** β Search `RavichandranJ/Dolphin3-Cyber-8B-GGUF`
|
| 241 |
+
3. Click the **download icon** next to your preferred quantization
|
| 242 |
+
4. Go to **Chat** β Select the model β Start chatting
|
| 243 |
+
5. **Recommended settings**: Temperature 0.7, Top-P 0.9, Max tokens 512
|
| 244 |
+
|
| 245 |
+
### Python (llama-cpp-python)
|
| 246 |
+
|
| 247 |
+
```python
|
| 248 |
+
from llama_cpp import Llama
|
| 249 |
+
|
| 250 |
+
# Load model (auto-downloads from HuggingFace)
|
| 251 |
+
llm = Llama.from_pretrained(
|
| 252 |
+
repo_id="RavichandranJ/Dolphin3-Cyber-8B-GGUF",
|
| 253 |
+
filename="Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_M.gguf",
|
| 254 |
+
n_ctx=2048, # Context window
|
| 255 |
+
n_gpu_layers=-1, # -1 = offload all layers to GPU
|
| 256 |
+
verbose=False,
|
| 257 |
+
)
|
| 258 |
+
|
| 259 |
+
# Chat completion (OpenAI-compatible API)
|
| 260 |
+
response = llm.create_chat_completion(
|
| 261 |
+
messages=[
|
| 262 |
+
{
|
| 263 |
+
"role": "system",
|
| 264 |
+
"content": "You are Dolphin3-Cyber, an expert cybersecurity AI assistant."
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"role": "user",
|
| 268 |
+
"content": "Write a Python script to scan for open ports on a target."
|
| 269 |
+
}
|
| 270 |
+
],
|
| 271 |
+
max_tokens=512,
|
| 272 |
+
temperature=0.7,
|
| 273 |
+
top_p=0.9,
|
| 274 |
+
stream=True, # Enable streaming
|
| 275 |
+
)
|
| 276 |
+
|
| 277 |
+
# Stream the response
|
| 278 |
+
for chunk in response:
|
| 279 |
+
delta = chunk["choices"][0]["delta"]
|
| 280 |
+
if "content" in delta:
|
| 281 |
+
print(delta["content"], end="", flush=True)
|
| 282 |
+
```
|
| 283 |
+
|
| 284 |
+
**Advanced Python β Multi-turn conversation:**
|
| 285 |
+
```python
|
| 286 |
+
class CyberAssistant:
|
| 287 |
+
def __init__(self, model_path=None):
|
| 288 |
+
self.llm = Llama.from_pretrained(
|
| 289 |
+
repo_id="RavichandranJ/Dolphin3-Cyber-8B-GGUF",
|
| 290 |
+
filename="Dolphin3.0-Llama3.1-8B-abliterated.Q4_K_M.gguf",
|
| 291 |
+
n_ctx=2048,
|
| 292 |
+
n_gpu_layers=-1,
|
| 293 |
+
)
|
| 294 |
+
self.history = [
|
| 295 |
+
{"role": "system", "content": "You are Dolphin3-Cyber, an expert cybersecurity AI."}
|
| 296 |
+
]
|
| 297 |
+
|
| 298 |
+
def chat(self, message: str) -> str:
|
| 299 |
+
self.history.append({"role": "user", "content": message})
|
| 300 |
+
response = self.llm.create_chat_completion(
|
| 301 |
+
messages=self.history,
|
| 302 |
+
max_tokens=512,
|
| 303 |
+
temperature=0.7,
|
| 304 |
+
)
|
| 305 |
+
reply = response["choices"][0]["message"]["content"]
|
| 306 |
+
self.history.append({"role": "assistant", "content": reply})
|
| 307 |
+
return reply
|
| 308 |
+
|
| 309 |
+
def reset(self):
|
| 310 |
+
self.history = self.history[:1] # Keep system prompt
|
| 311 |
+
|
| 312 |
+
# Usage
|
| 313 |
+
assistant = CyberAssistant()
|
| 314 |
+
print(assistant.chat("What is a reverse shell?"))
|
| 315 |
+
print(assistant.chat("Show me a Python implementation."))
|
| 316 |
+
print(assistant.chat("How do I detect this as a defender?"))
|
| 317 |
+
```
|
| 318 |
+
|
| 319 |
+
### Open WebUI
|
| 320 |
+
|
| 321 |
+
```bash
|
| 322 |
+
# 1. Make sure Ollama is running with the model
|
| 323 |
+
ollama pull hf.co/RavichandranJ/Dolphin3-Cyber-8B-GGUF:Q4_K_M
|
| 324 |
+
|
| 325 |
+
# 2. Start Open WebUI
|
| 326 |
+
docker run -d -p 3000:8080 \
|
| 327 |
+
--add-host=host.docker.internal:host-gateway \
|
| 328 |
+
-v open-webui:/app/backend/data \
|
| 329 |
+
--name open-webui \
|
| 330 |
+
ghcr.io/open-webui/open-webui:main
|
| 331 |
+
|
| 332 |
+
# 3. Open http://localhost:3000 and select the model
|
| 333 |
+
```
|
| 334 |
+
|
| 335 |
+
### Jan.ai
|
| 336 |
+
|
| 337 |
+
1. Open Jan β **Hub** β **Import Model**
|
| 338 |
+
2. Paste the GGUF download URL
|
| 339 |
+
3. Configure context length to 2048
|
| 340 |
+
4. Start chatting in the **Thread** tab
|
| 341 |
+
|
| 342 |
+
---
|
| 343 |
+
|
| 344 |
+
## π¬ Example Prompts & Outputs
|
| 345 |
+
|
| 346 |
+
<details>
|
| 347 |
+
<summary><b>π Vulnerability Analysis</b> β "Explain how SQL injection works"</summary>
|
| 348 |
+
|
| 349 |
+
**Prompt:** *Explain how SQL injection works with a vulnerable PHP example and how to fix it.*
|
| 350 |
+
|
| 351 |
+
**Expected Output:** The model will provide:
|
| 352 |
+
- A detailed explanation of SQL injection mechanics
|
| 353 |
+
- A vulnerable PHP/MySQL code example
|
| 354 |
+
- Step-by-step exploitation technique
|
| 355 |
+
- Fixed code using parameterized queries/PDO
|
| 356 |
+
- Additional mitigation strategies (WAF, input validation, least privilege)
|
| 357 |
+
</details>
|
| 358 |
+
|
| 359 |
+
<details>
|
| 360 |
+
<summary><b>π Exploit Development</b> β "Write a buffer overflow exploit"</summary>
|
| 361 |
+
|
| 362 |
+
**Prompt:** *Explain how a stack-based buffer overflow works in C and write a basic exploit.*
|
| 363 |
+
|
| 364 |
+
**Expected Output:** The model will explain:
|
| 365 |
+
- Stack memory layout (return address, saved EBP, local variables)
|
| 366 |
+
- How strcpy/gets can overflow the buffer
|
| 367 |
+
- A vulnerable C program example
|
| 368 |
+
- Shellcode injection methodology
|
| 369 |
+
- Modern mitigations (ASLR, DEP, Stack Canaries) and bypasses
|
| 370 |
+
</details>
|
| 371 |
+
|
| 372 |
+
<details>
|
| 373 |
+
<summary><b>π‘οΈ Defensive Security</b> β "Harden a Linux server"</summary>
|
| 374 |
+
|
| 375 |
+
**Prompt:** *Give me a comprehensive Linux server hardening checklist.*
|
| 376 |
+
|
| 377 |
+
**Expected Output:** The model will cover:
|
| 378 |
+
- SSH hardening (key-only auth, port change, fail2ban)
|
| 379 |
+
- Firewall configuration (iptables/nftables/ufw)
|
| 380 |
+
- User privilege management and sudo configuration
|
| 381 |
+
- Kernel hardening (sysctl parameters)
|
| 382 |
+
- File system security (permissions, immutable files)
|
| 383 |
+
- Logging and monitoring (auditd, AIDE)
|
| 384 |
+
- Automatic security updates
|
| 385 |
+
</details>
|
| 386 |
+
|
| 387 |
+
<details>
|
| 388 |
+
<summary><b>π Web Security</b> β "Find XSS in this code"</summary>
|
| 389 |
+
|
| 390 |
+
**Prompt:** *Review this JavaScript code for XSS vulnerabilities: `document.getElementById('output').innerHTML = location.hash.substring(1);`*
|
| 391 |
+
|
| 392 |
+
**Expected Output:** The model will identify:
|
| 393 |
+
- DOM-based XSS via `innerHTML` + `location.hash`
|
| 394 |
+
- Exploitation payload: `#<img src=x onerror=alert(document.cookie)>`
|
| 395 |
+
- Fix using `textContent` instead of `innerHTML`
|
| 396 |
+
- Additional recommendations (CSP headers, DOMPurify)
|
| 397 |
+
</details>
|
| 398 |
+
|
| 399 |
+
<details>
|
| 400 |
+
<summary><b>π Cryptography</b> β "Break this weak encryption"</summary>
|
| 401 |
+
|
| 402 |
+
**Prompt:** *I found this encryption in a CTF challenge: `encrypted = ''.join(chr(ord(c) ^ 0x42) for c in plaintext)`. How do I break it?*
|
| 403 |
+
|
| 404 |
+
**Expected Output:** The model will explain:
|
| 405 |
+
- Single-byte XOR cipher identification
|
| 406 |
+
- XOR properties (self-inverse: A β K β K = A)
|
| 407 |
+
- Python decryption script
|
| 408 |
+
- Frequency analysis for unknown keys
|
| 409 |
+
- Why XOR alone is cryptographically weak
|
| 410 |
+
</details>
|
| 411 |
+
|
| 412 |
+
<details>
|
| 413 |
+
<summary><b>π΄ CTF Challenges</b> β "Help me with this CTF"</summary>
|
| 414 |
+
|
| 415 |
+
**Prompt:** *I'm doing a CTF and found a binary with `checksec` showing: No canary, NX disabled, No PIE. What's my attack strategy?*
|
| 416 |
+
|
| 417 |
+
**Expected Output:** The model will suggest:
|
| 418 |
+
- Classic stack buffer overflow approach
|
| 419 |
+
- Shellcode injection (NX disabled = executable stack)
|
| 420 |
+
- No PIE means predictable addresses
|
| 421 |
+
- How to find the offset (pattern_create/pattern_offset)
|
| 422 |
+
- pwntools exploit template
|
| 423 |
+
</details>
|
| 424 |
+
|
| 425 |
+
---
|
| 426 |
+
|
| 427 |
+
## π‘οΈ Model Capabilities
|
| 428 |
+
|
| 429 |
+
### Offensive Security (Red Team)
|
| 430 |
+
| Area | Capabilities |
|
| 431 |
+
|:---|:---|
|
| 432 |
+
| **Reconnaissance** | OSINT techniques, subdomain enumeration, network scanning strategies |
|
| 433 |
+
| **Web Exploitation** | SQLi, XSS, SSRF, CSRF, IDOR, file upload, deserialization, template injection |
|
| 434 |
+
| **Network Attacks** | ARP spoofing, MITM, DNS poisoning, packet crafting |
|
| 435 |
+
| **System Exploitation** | Buffer overflows, format strings, ROP chains, privilege escalation |
|
| 436 |
+
| **Post-Exploitation** | Lateral movement, persistence, data exfiltration, C2 frameworks |
|
| 437 |
+
| **Password Attacks** | Hash cracking strategies, wordlist generation, credential stuffing |
|
| 438 |
+
| **Wireless Security** | WPA2 cracking, evil twin, deauth attacks |
|
| 439 |
+
| **Social Engineering** | Phishing analysis, pretexting, payload delivery methods |
|
| 440 |
+
|
| 441 |
+
### Defensive Security (Blue Team)
|
| 442 |
+
| Area | Capabilities |
|
| 443 |
+
|:---|:---|
|
| 444 |
+
| **Hardening** | OS hardening, network segmentation, firewall rules, CIS benchmarks |
|
| 445 |
+
| **Detection** | SIEM rules, IDS/IPS signatures, anomaly detection, threat hunting |
|
| 446 |
+
| **Incident Response** | IR playbooks, forensic analysis, malware triage, containment strategies |
|
| 447 |
+
| **Secure Development** | Code review, SAST/DAST, secure SDLC, OWASP guidelines |
|
| 448 |
+
| **Cryptography** | Encryption implementation, PKI, certificate management, protocol analysis |
|
| 449 |
+
| **Compliance** | NIST, ISO 27001, PCI-DSS, GDPR security requirements |
|
| 450 |
+
|
| 451 |
+
### Development & Tooling
|
| 452 |
+
| Area | Capabilities |
|
| 453 |
+
|:---|:---|
|
| 454 |
+
| **Scripting** | Python, Bash, PowerShell security scripts and tools |
|
| 455 |
+
| **Tool Usage** | Nmap, Burp Suite, Metasploit, Wireshark, Ghidra, pwntools |
|
| 456 |
+
| **Automation** | Custom scanner development, CI/CD security integration |
|
| 457 |
+
| **Reporting** | Vulnerability report writing, risk assessment, CVSS scoring |
|
| 458 |
+
|
| 459 |
+
---
|
| 460 |
+
|
| 461 |
+
## ποΈ Training Details
|
| 462 |
+
|
| 463 |
+
### Model Architecture
|
| 464 |
+
```
|
| 465 |
+
Base Model: Dolphin3.0-Llama3.1-8B-abliterated
|
| 466 |
+
Architecture: LlamaForCausalLM
|
| 467 |
+
Parameters: 8.03 Billion
|
| 468 |
+
Hidden Size: 4096
|
| 469 |
+
Layers: 32
|
| 470 |
+
Attention Heads: 32
|
| 471 |
+
KV Heads: 8 (GQA)
|
| 472 |
+
Vocab Size: 128,256
|
| 473 |
+
Max Position: 131,072 (base), 2,048 (fine-tuned)
|
| 474 |
+
```
|
| 475 |
+
|
| 476 |
+
### Fine-Tuning Configuration
|
| 477 |
+
```
|
| 478 |
+
Method: LoRA (Low-Rank Adaptation)
|
| 479 |
+
LoRA Rank (r): 16
|
| 480 |
+
LoRA Alpha: 16
|
| 481 |
+
LoRA Dropout: 0.0
|
| 482 |
+
Target Modules: q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
|
| 483 |
+
Trainable Parameters: ~42M (0.5% of total parameters)
|
| 484 |
+
```
|
| 485 |
+
|
| 486 |
+
### Training Hyperparameters
|
| 487 |
+
```
|
| 488 |
+
Training Steps: 500
|
| 489 |
+
Batch Size: 1 (per device)
|
| 490 |
+
Gradient Accumulation: 8 steps
|
| 491 |
+
Effective Batch Size: 8
|
| 492 |
+
Learning Rate: 2e-4
|
| 493 |
+
LR Scheduler: Cosine
|
| 494 |
+
Warmup Steps: 30
|
| 495 |
+
Optimizer: AdamW 8-bit
|
| 496 |
+
Precision: FP16
|
| 497 |
+
Max Sequence Length: 2,048 tokens
|
| 498 |
+
Seed: 42
|
| 499 |
+
```
|
| 500 |
+
|
| 501 |
+
### Infrastructure
|
| 502 |
+
```
|
| 503 |
+
Framework: Unsloth (2x faster training)
|
| 504 |
+
GPU: NVIDIA Tesla T4 (Kaggle)
|
| 505 |
+
Training Time: ~2-3 hours
|
| 506 |
+
VRAM Usage: ~14 GB
|
| 507 |
+
Quantization: 4-bit (QLoRA) during training
|
| 508 |
+
```
|
| 509 |
+
|
| 510 |
+
---
|
| 511 |
+
|
| 512 |
+
## 𧬠Architecture
|
| 513 |
+
|
| 514 |
+
```
|
| 515 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 516 |
+
β Dolphin3-Cyber-8B β
|
| 517 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
|
| 518 |
+
β β
|
| 519 |
+
β βββββββββββββββββββββββββββββββββββββββββββββ β
|
| 520 |
+
β β Llama 3.1 8B Backbone β β
|
| 521 |
+
β β βββββββββββββββββββββββββββββββββββββββ β β
|
| 522 |
+
β β β 32 Transformer Layers β β β
|
| 523 |
+
β β β ββββββββββββββββββββββββββββββββββ β β β
|
| 524 |
+
β β β β Multi-Head Attention (GQA) β β β β
|
| 525 |
+
β β β β Q: 32 heads K/V: 8 heads β β β β
|
| 526 |
+
β β β β + LoRA adapters (r=16) β β β β
|
| 527 |
+
β β β ββββββββββββββββββββββββββββββββββ β β β
|
| 528 |
+
β β β ββββββββββββββββββββββββββββββββββ β β β
|
| 529 |
+
β β β β SwiGLU FFN β β β β
|
| 530 |
+
β β β β gate_proj + up_proj + down_projβ β β β
|
| 531 |
+
β β β β + LoRA adapters (r=16) β β β β
|
| 532 |
+
β β β ββββββββββββββββββββββββββββββββββ β β β
|
| 533 |
+
β β β RMSNorm + RoPE Embeddings β β β
|
| 534 |
+
β β βββββββββββββββββββββββββββββββββββββββ β β
|
| 535 |
+
β βββββββββββββββββββββββββββββββββββββββββββββ β
|
| 536 |
+
β β
|
| 537 |
+
β Tokenizer: Llama 3.1 (128K vocab, BPE) β
|
| 538 |
+
β Context: 2,048 tokens (fine-tuned) β
|
| 539 |
+
β Abliteration: Refusal vectors removed β
|
| 540 |
+
β Cybersecurity: LoRA fine-tuned on security data β
|
| 541 |
+
β β
|
| 542 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 543 |
+
```
|
| 544 |
+
|
| 545 |
+
---
|
| 546 |
+
|
| 547 |
+
## π Prompt Format
|
| 548 |
+
|
| 549 |
+
This model uses the **Llama 3.1 chat template**:
|
| 550 |
+
|
| 551 |
+
```
|
| 552 |
+
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
| 553 |
+
|
| 554 |
+
You are a cybersecurity expert assistant.<|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 555 |
+
|
| 556 |
+
How does a SQL injection attack work?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
| 557 |
+
|
| 558 |
+
```
|
| 559 |
+
|
| 560 |
+
**Multi-turn format:**
|
| 561 |
+
```
|
| 562 |
+
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
| 563 |
+
|
| 564 |
+
You are a cybersecurity expert.<|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 565 |
+
|
| 566 |
+
What is XSS?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
| 567 |
+
|
| 568 |
+
Cross-Site Scripting (XSS) is...<|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 569 |
+
|
| 570 |
+
Show me an example.<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
| 571 |
+
|
| 572 |
+
```
|
| 573 |
+
|
| 574 |
+
**Recommended generation parameters:**
|
| 575 |
+
```json
|
| 576 |
+
{
|
| 577 |
+
"temperature": 0.7,
|
| 578 |
+
"top_p": 0.9,
|
| 579 |
+
"top_k": 40,
|
| 580 |
+
"max_tokens": 512,
|
| 581 |
+
"repeat_penalty": 1.1,
|
| 582 |
+
"stop": ["<|eot_id|>"]
|
| 583 |
+
}
|
| 584 |
+
```
|
| 585 |
+
|
| 586 |
+
---
|
| 587 |
+
|
| 588 |
+
## π» Hardware Requirements
|
| 589 |
+
|
| 590 |
+
### Minimum Requirements (by quantization)
|
| 591 |
+
|
| 592 |
+
| Quant | VRAM (GPU) | RAM (CPU-only) | Recommended GPU |
|
| 593 |
+
|:---:|:---:|:---:|:---|
|
| 594 |
+
| Q2_K | 4 GB | 6 GB | GTX 1650 |
|
| 595 |
+
| Q3_K_M | 5 GB | 7 GB | GTX 1650 |
|
| 596 |
+
| Q4_K_M | 6 GB | 8 GB | RTX 2060 / GTX 1650 |
|
| 597 |
+
| Q5_K_M | 7 GB | 10 GB | RTX 3060 |
|
| 598 |
+
| Q6_K | 8 GB | 11 GB | RTX 3060 |
|
| 599 |
+
| Q8_0 | 10 GB | 13 GB | RTX 3080 / RTX 4060 |
|
| 600 |
+
| F16 | 18 GB | 20 GB | RTX 3090 / RTX 4080 |
|
| 601 |
+
|
| 602 |
+
### Performance Estimates (tokens/second)
|
| 603 |
+
|
| 604 |
+
| Quant | RTX 3060 12GB | RTX 4060 8GB | M1 MacBook | CPU (i7) |
|
| 605 |
+
|:---:|:---:|:---:|:---:|:---:|
|
| 606 |
+
| Q4_K_M | ~45 t/s | ~55 t/s | ~20 t/s | ~5 t/s |
|
| 607 |
+
| Q8_0 | ~30 t/s | ~35 t/s | ~15 t/s | ~3 t/s |
|
| 608 |
+
|
| 609 |
+
> β‘ GPU offloading with `n_gpu_layers=-1` is strongly recommended for best performance.
|
| 610 |
+
|
| 611 |
+
---
|
| 612 |
+
|
| 613 |
+
## π Benchmarks
|
| 614 |
+
|
| 615 |
+
### Cybersecurity Knowledge Assessment
|
| 616 |
+
|
| 617 |
+
| Category | Score | Details |
|
| 618 |
+
|:---|:---:|:---|
|
| 619 |
+
| Web Vulnerabilities (OWASP Top 10) | π’ Strong | Accurate identification and exploitation guidance |
|
| 620 |
+
| Network Security | π’ Strong | Comprehensive protocol and attack knowledge |
|
| 621 |
+
| Binary Exploitation | π‘ Good | Stack-based attacks well covered, heap exploitation partial |
|
| 622 |
+
| Cryptography | π‘ Good | Common algorithms and attacks, advanced topics vary |
|
| 623 |
+
| Forensics & IR | π‘ Good | Log analysis, artifact collection, timeline reconstruction |
|
| 624 |
+
| Malware Analysis | π‘ Good | Static analysis patterns, dynamic analysis guidance |
|
| 625 |
+
| Cloud Security | π‘ Good | AWS/Azure/GCP misconfigurations and attack paths |
|
| 626 |
+
| Code Review | π’ Strong | Multi-language vulnerability identification |
|
| 627 |
+
|
| 628 |
+
### General Capabilities
|
| 629 |
+
|
| 630 |
+
| Benchmark | Approximate Performance |
|
| 631 |
+
|:---|:---:|
|
| 632 |
+
| Code Generation (Security Tools) | Strong |
|
| 633 |
+
| Technical Explanation | Strong |
|
| 634 |
+
| Multi-step Reasoning | Good |
|
| 635 |
+
| Following Instructions | Strong |
|
| 636 |
+
|
| 637 |
+
> β οΈ Formal benchmarks on standard evaluation suites coming soon.
|
| 638 |
+
|
| 639 |
+
---
|
| 640 |
+
|
| 641 |
+
## π― Use Cases
|
| 642 |
+
|
| 643 |
+
### β
Recommended Use Cases
|
| 644 |
+
- **Penetration Testing Assistance** β Methodology guidance, tool usage, exploit development
|
| 645 |
+
- **Security Code Review** β Finding vulnerabilities in source code
|
| 646 |
+
- **CTF Competitions** β Hint generation, technique explanation, script assistance
|
| 647 |
+
- **Security Training** β Learning offensive and defensive techniques
|
| 648 |
+
- **Bug Bounty Hunting** β Reconnaissance strategies, vulnerability identification
|
| 649 |
+
- **Incident Response** β Analysis guidance, containment strategies
|
| 650 |
+
- **Security Automation** β Writing security scripts and tools
|
| 651 |
+
- **Threat Modeling** β Attack surface analysis, risk assessment
|
| 652 |
+
|
| 653 |
+
### β Not Recommended For
|
| 654 |
+
- General-purpose chatbot (use a general model instead)
|
| 655 |
+
- Production-critical security decisions without human review
|
| 656 |
+
- Legal or compliance advice (consult professionals)
|
| 657 |
+
- Real-time threat detection (use purpose-built SIEM/IDS)
|
| 658 |
+
|
| 659 |
+
---
|
| 660 |
+
|
| 661 |
+
## β οΈ Limitations
|
| 662 |
+
|
| 663 |
+
1. **Knowledge Cutoff** β Based on Llama 3.1 training data. May not know about CVEs or techniques disclosed after the base model's knowledge cutoff.
|
| 664 |
+
|
| 665 |
+
2. **Context Length** β Fine-tuned with 2,048 token context. Performance may degrade with very long inputs, though the base model supports up to 128K.
|
| 666 |
+
|
| 667 |
+
3. **Hallucinations** β Like all LLMs, may generate plausible-sounding but incorrect technical details. Always verify critical security information.
|
| 668 |
+
|
| 669 |
+
4. **Tool-Specific Syntax** β Exact command syntax for tools may vary by version. Test commands in a safe environment first.
|
| 670 |
+
|
| 671 |
+
5. **No Real-Time Data** β Cannot access the internet, databases, or live systems. Provides knowledge-based responses only.
|
| 672 |
+
|
| 673 |
+
6. **8B Parameter Limit** β While efficient, larger models (70B+) may provide more nuanced responses for highly complex scenarios.
|
| 674 |
+
|
| 675 |
+
---
|
| 676 |
+
|
| 677 |
+
## π Ethical Usage & Disclaimer
|
| 678 |
+
|
| 679 |
+
> **β οΈ IMPORTANT: This model is provided for AUTHORIZED security testing, education, and research ONLY.**
|
| 680 |
+
|
| 681 |
+
### Acceptable Use
|
| 682 |
+
- β
Authorized penetration testing (with written permission)
|
| 683 |
+
- β
Security education and training
|
| 684 |
+
- β
CTF competitions and challenges
|
| 685 |
+
- β
Defensive security research
|
| 686 |
+
- β
Academic research
|
| 687 |
+
- β
Building security awareness
|
| 688 |
+
|
| 689 |
+
### Unacceptable Use
|
| 690 |
+
- β Unauthorized access to systems
|
| 691 |
+
- β Creating malware for malicious purposes
|
| 692 |
+
- β Attacking systems without explicit permission
|
| 693 |
+
- β Violating any applicable laws or regulations
|
| 694 |
+
- β Causing harm to individuals or organizations
|
| 695 |
+
|
| 696 |
+
**The creator assumes NO LIABILITY for how this model is used.** Users are solely responsible for ensuring their use complies with all applicable laws, regulations, and ethical guidelines. The abliterated nature of this model means it will respond to security queries without refusal β this places the responsibility for ethical use entirely on the user.
|
| 697 |
+
|
| 698 |
+
---
|
| 699 |
+
|
| 700 |
+
## π Citation
|
| 701 |
+
|
| 702 |
+
If you use this model in your research or work, please cite:
|
| 703 |
+
|
| 704 |
+
```bibtex
|
| 705 |
+
@misc{ravichandranj2025dolphin3cyber,
|
| 706 |
+
title = {Dolphin3-Cyber-8B-GGUF: A Cybersecurity-Specialized Language Model},
|
| 707 |
+
author = {RavichandranJ},
|
| 708 |
+
year = {2026},
|
| 709 |
+
publisher = {HuggingFace},
|
| 710 |
+
url = {https://huggingface.co/RavichandranJ/Dolphin3-Cyber-8B-GGUF},
|
| 711 |
+
note = {Fine-tuned with Unsloth on cybersecurity datasets}
|
| 712 |
+
}
|
| 713 |
+
```
|
| 714 |
+
|
| 715 |
+
---
|
| 716 |
+
|
| 717 |
+
## π Acknowledgements
|
| 718 |
+
|
| 719 |
+
- **[Meta AI](https://ai.meta.com/)** β For the Llama 3.1 base architecture
|
| 720 |
+
- **[Cognitive Computations](https://huggingface.co/cognitivecomputations)** β For the Dolphin3.0 fine-tune
|
| 721 |
+
- **[huihui-ai](https://huggingface.co/huihui-ai)** β For the abliterated variant
|
| 722 |
+
- **[Unsloth](https://github.com/unslothai/unsloth)** β For 2x faster training framework
|
| 723 |
+
- **[Kaggle](https://www.kaggle.com/)** β For free GPU compute
|
| 724 |
+
- **The open-source AI community** β For making this possible
|
| 725 |
+
|
| 726 |
+
---
|
| 727 |
+
|
| 728 |
+
<div align="center">
|
| 729 |
+
|
| 730 |
+
**Made with β€οΈ by [RavichandranJ](https://huggingface.co/RavichandranJ)**
|
| 731 |
+
|
| 732 |
+
*Trained with [Unsloth](https://github.com/unslothai/unsloth) π¦₯ β 2x faster fine-tuning*
|
| 733 |
+
|
| 734 |
+
---
|
| 735 |
+
|
| 736 |
+
**π¬ Dolphin3-Cyber-8B** β *Your Local AI Cybersecurity Expert*
|
| 737 |
+
|
| 738 |
+
</div>
|
config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 128000,
|
| 8 |
+
"torch_dtype": "float16",
|
| 9 |
+
"eos_token_id": [
|
| 10 |
+
128256,
|
| 11 |
+
128001,
|
| 12 |
+
128008,
|
| 13 |
+
128009
|
| 14 |
+
],
|
| 15 |
+
"head_dim": 128,
|
| 16 |
+
"hidden_act": "silu",
|
| 17 |
+
"hidden_size": 4096,
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 14336,
|
| 20 |
+
"max_position_embeddings": 131072,
|
| 21 |
+
"mlp_bias": false,
|
| 22 |
+
"model_type": "llama",
|
| 23 |
+
"num_attention_heads": 32,
|
| 24 |
+
"num_hidden_layers": 32,
|
| 25 |
+
"num_key_value_heads": 8,
|
| 26 |
+
"pad_token_id": 128001,
|
| 27 |
+
"pretraining_tp": 1,
|
| 28 |
+
"rms_norm_eps": 1e-05,
|
| 29 |
+
"rope_scaling": {
|
| 30 |
+
"factor": 8.0,
|
| 31 |
+
"high_freq_factor": 4.0,
|
| 32 |
+
"low_freq_factor": 1.0,
|
| 33 |
+
"original_max_position_embeddings": 8192,
|
| 34 |
+
"rope_type": "llama3"
|
| 35 |
+
},
|
| 36 |
+
"rope_theta": 500000.0,
|
| 37 |
+
"tie_word_embeddings": false,
|
| 38 |
+
"unsloth_version": "2026.2.1",
|
| 39 |
+
"use_cache": true,
|
| 40 |
+
"vocab_size": 128258
|
| 41 |
+
}
|