Instructions to use ghostkaali/ghost-coder-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ghostkaali/ghost-coder-7b 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 ghostkaali/ghost-coder-7b:Q4_K_M # Run inference directly in the terminal: llama cli -hf ghostkaali/ghost-coder-7b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ghostkaali/ghost-coder-7b:Q4_K_M # Run inference directly in the terminal: llama cli -hf ghostkaali/ghost-coder-7b: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 ghostkaali/ghost-coder-7b:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ghostkaali/ghost-coder-7b: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 ghostkaali/ghost-coder-7b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ghostkaali/ghost-coder-7b:Q4_K_M
Use Docker
docker model run hf.co/ghostkaali/ghost-coder-7b:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use ghostkaali/ghost-coder-7b with Ollama:
ollama run hf.co/ghostkaali/ghost-coder-7b:Q4_K_M
- Unsloth Desktop
- Pi
How to use ghostkaali/ghost-coder-7b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ghostkaali/ghost-coder-7b:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ghostkaali/ghost-coder-7b:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ghostkaali/ghost-coder-7b with Docker Model Runner:
docker model run hf.co/ghostkaali/ghost-coder-7b:Q4_K_M
- Lemonade
How to use ghostkaali/ghost-coder-7b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ghostkaali/ghost-coder-7b:Q4_K_M
Run and chat with the model
lemonade run user.ghost-coder-7b-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use ghostkaali/ghost-coder-7b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ghostkaali/ghost-coder-7b:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ghostkaali/ghost-coder-7b:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ghostkaali/ghost-coder-7b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ghostkaali/ghost-coder-7b:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "ghostkaali/ghost-coder-7b:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- README.md +0 -1
- adapter_config.json +7 -7
- adapter_model.safetensors +2 -2
README.md
CHANGED
|
@@ -3,7 +3,6 @@ tags:
|
|
| 3 |
- gguf
|
| 4 |
- llama.cpp
|
| 5 |
- unsloth
|
| 6 |
-
|
| 7 |
---
|
| 8 |
|
| 9 |
# ghost-coder-7b : GGUF
|
|
|
|
| 3 |
- gguf
|
| 4 |
- llama.cpp
|
| 5 |
- unsloth
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
# ghost-coder-7b : GGUF
|
adapter_config.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
| 20 |
"layers_pattern": null,
|
| 21 |
"layers_to_transform": null,
|
| 22 |
"loftq_config": {},
|
| 23 |
-
"lora_alpha":
|
| 24 |
"lora_bias": false,
|
| 25 |
"lora_dropout": 0,
|
| 26 |
"lora_ga_config": null,
|
|
@@ -30,17 +30,17 @@
|
|
| 30 |
"peft_type": "LORA",
|
| 31 |
"peft_version": "0.19.1",
|
| 32 |
"qalora_group_size": 16,
|
| 33 |
-
"r":
|
| 34 |
"rank_pattern": {},
|
| 35 |
"revision": null,
|
| 36 |
"target_modules": [
|
| 37 |
-
"
|
| 38 |
-
"q_proj",
|
| 39 |
-
"up_proj",
|
| 40 |
"k_proj",
|
|
|
|
|
|
|
| 41 |
"v_proj",
|
| 42 |
-
"
|
| 43 |
-
"
|
| 44 |
],
|
| 45 |
"target_parameters": null,
|
| 46 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 20 |
"layers_pattern": null,
|
| 21 |
"layers_to_transform": null,
|
| 22 |
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 64,
|
| 24 |
"lora_bias": false,
|
| 25 |
"lora_dropout": 0,
|
| 26 |
"lora_ga_config": null,
|
|
|
|
| 30 |
"peft_type": "LORA",
|
| 31 |
"peft_version": "0.19.1",
|
| 32 |
"qalora_group_size": 16,
|
| 33 |
+
"r": 64,
|
| 34 |
"rank_pattern": {},
|
| 35 |
"revision": null,
|
| 36 |
"target_modules": [
|
| 37 |
+
"o_proj",
|
|
|
|
|
|
|
| 38 |
"k_proj",
|
| 39 |
+
"up_proj",
|
| 40 |
+
"down_proj",
|
| 41 |
"v_proj",
|
| 42 |
+
"gate_proj",
|
| 43 |
+
"q_proj"
|
| 44 |
],
|
| 45 |
"target_parameters": null,
|
| 46 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c292deba4b43cf8368abbaef39dfe1f7c83e0e10c5b64ce0f3527dba72f0cf2f
|
| 3 |
+
size 645975704
|