How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf GhostA1/GhostAI_LiquidSFT:
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 "GhostA1/GhostAI_LiquidSFT:" \
  --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"
Quick Links

GhostAI_LiquidSFT

On-device Solana wallet assistant fine-tuned from LFM2.5-1.2B (Liquid AI) for mobile inference via llama.cpp / llama.rn. Trained to call wallet tools in the Hermes <tool_call>{...}</tool_call> format and to answer Solana / DeFi / wallet-security questions.

Files

File Quant Size Use
GhostAI_LiquidSFT.Q4_K_M.gguf Q4_K_M ~698 MB Recommended for phones — best size/quality balance
GhostAI_LiquidSFT.Q5_K_M.gguf Q5_K_M ~805 MB Higher quality, modest size bump
GhostAI_LiquidSFT.Q6_K.gguf Q6_K ~919 MB Near-lossless vs the 16-bit model
GhostAI_LiquidSFT.BF16.gguf BF16 ~2.2 GB Full-precision reference for re-quantization

Prompt format (ChatML)

<|im_start|>system
{system prompt with tool catalog}<|im_end|>
<|im_start|>user
{user message}<|im_end|>
<|im_start|>assistant

Tool calls are emitted as:

<tool_call>{"name": "get_sol_balance", "arguments": {"address": "..."}}</tool_call>

The ChatML chat template (with tool + <|im_end|> handling) is embedded in the GGUF.

Training

  • Base: unsloth/LFM2.5-1.2B-Instruct
  • Method: LoRA SFT (Unsloth), r=32 / α=64, rsLoRA, NEFTune (α=5), bf16
  • LoRA targets: q,k,v,out_proj (attention) + in_proj (conv) + w1,w2,w3 (MLP) — all 16 layers
  • Data: merged tool-calling dataset (Hermes, 172 tools) + Solana/DeFi/security knowledge base
  • Seq len: 2048 (0% truncation) · response-only masking (user and tool turns masked)
  • Result: best eval_loss 0.1736, converged at ~1 epoch (early-stopped)

Run with llama.cpp

llama-cli -m GhostAI_LiquidSFT.Q4_K_M.gguf -p "<|im_start|>user\nWhat is my SOL balance?<|im_end|>\n<|im_start|>assistant\n"
Downloads last month
81
GGUF
Model size
1B params
Architecture
lfm2
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support