Image-Text-to-Text
GGUF
llama.cpp
qwen3_5_moe
Mixture of Experts
Merge
vision-language
security
conversational
Instructions to use lancejames221b/razorstrike-v1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use lancejames221b/razorstrike-v1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="lancejames221b/razorstrike-v1-GGUF", filename="mmproj.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use lancejames221b/razorstrike-v1-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 lancejames221b/razorstrike-v1-GGUF:IQ4_XS # Run inference directly in the terminal: llama cli -hf lancejames221b/razorstrike-v1-GGUF:IQ4_XS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf lancejames221b/razorstrike-v1-GGUF:IQ4_XS # Run inference directly in the terminal: llama cli -hf lancejames221b/razorstrike-v1-GGUF:IQ4_XS
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 lancejames221b/razorstrike-v1-GGUF:IQ4_XS # Run inference directly in the terminal: ./llama-cli -hf lancejames221b/razorstrike-v1-GGUF:IQ4_XS
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 lancejames221b/razorstrike-v1-GGUF:IQ4_XS # Run inference directly in the terminal: ./build/bin/llama-cli -hf lancejames221b/razorstrike-v1-GGUF:IQ4_XS
Use Docker
docker model run hf.co/lancejames221b/razorstrike-v1-GGUF:IQ4_XS
- LM Studio
- Jan
- vLLM
How to use lancejames221b/razorstrike-v1-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lancejames221b/razorstrike-v1-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": "lancejames221b/razorstrike-v1-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/lancejames221b/razorstrike-v1-GGUF:IQ4_XS
- Ollama
How to use lancejames221b/razorstrike-v1-GGUF with Ollama:
ollama run hf.co/lancejames221b/razorstrike-v1-GGUF:IQ4_XS
- Unsloth Studio
How to use lancejames221b/razorstrike-v1-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 lancejames221b/razorstrike-v1-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 lancejames221b/razorstrike-v1-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for lancejames221b/razorstrike-v1-GGUF to start chatting
- Pi
How to use lancejames221b/razorstrike-v1-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lancejames221b/razorstrike-v1-GGUF:IQ4_XS
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": "lancejames221b/razorstrike-v1-GGUF:IQ4_XS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use lancejames221b/razorstrike-v1-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lancejames221b/razorstrike-v1-GGUF:IQ4_XS
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 lancejames221b/razorstrike-v1-GGUF:IQ4_XS
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use lancejames221b/razorstrike-v1-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lancejames221b/razorstrike-v1-GGUF:IQ4_XS
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 "lancejames221b/razorstrike-v1-GGUF:IQ4_XS" \ --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"
- Docker Model Runner
How to use lancejames221b/razorstrike-v1-GGUF with Docker Model Runner:
docker model run hf.co/lancejames221b/razorstrike-v1-GGUF:IQ4_XS
- Lemonade
How to use lancejames221b/razorstrike-v1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lancejames221b/razorstrike-v1-GGUF:IQ4_XS
Run and chat with the model
lemonade run user.razorstrike-v1-GGUF-IQ4_XS
List all available models
lemonade list
Fix output cap, repeat_penalty 1.0->1.1, add -c 262144/num_ctx guidance for llama.cpp+Ollama
Browse files
README.md
CHANGED
|
@@ -65,7 +65,7 @@ This is an abliterated/uncensored build. It does not refuse security-research, o
|
|
| 65 |
|
| 66 |
## Recommended inference settings
|
| 67 |
|
| 68 |
-
These
|
| 69 |
|
| 70 |
```
|
| 71 |
temperature: 0.6
|
|
@@ -73,7 +73,7 @@ top_p: 0.95
|
|
| 73 |
top_k: 20
|
| 74 |
min_p: 0.0
|
| 75 |
presence_penalty: 0.0
|
| 76 |
-
repetition_penalty: 1.
|
| 77 |
```
|
| 78 |
|
| 79 |
Because the dominant donor is reasoning-derived, RazorStrike-v1 can produce long internal reasoning traces if left unconstrained. Give it a generous context/`n_predict` budget, or use a "think fast, not long" system-prompt directive to keep responses tight.
|
|
@@ -81,16 +81,16 @@ Because the dominant donor is reasoning-derived, RazorStrike-v1 can produce long
|
|
| 81 |
## Architecture
|
| 82 |
|
| 83 |
- **Type**: `qwen35moe` (llama.cpp arch name) / `Qwen3_5MoeForConditionalGeneration` (HF) — hybrid linear-attention + SSM Mixture-of-Experts, 256 experts
|
| 84 |
-
- **Context**: 262,144 tokens (inherited from the Qwen3.6-35B-A3B anchor)
|
| 85 |
- **Quantization**: Q4_K_M (~4.88 bits/weight effective), 19.7GB
|
| 86 |
|
| 87 |
## Usage
|
| 88 |
|
| 89 |
**llama.cpp:**
|
| 90 |
```bash
|
| 91 |
-
llama-server -hf lancejames221b/razorstrike-v1-GGUF:Q4_K_M --port 8080
|
| 92 |
# or, if downloaded locally:
|
| 93 |
-
llama-server -m razorstrike-v1-Q4_K_M.gguf --port 8080 -c
|
| 94 |
```
|
| 95 |
|
| 96 |
Then query it with the recommended settings and a "think fast" system prompt:
|
|
@@ -100,8 +100,8 @@ curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/jso
|
|
| 100 |
{"role": "system", "content": "Think fast, not long - a few sentences of reasoning at most, then answer directly."},
|
| 101 |
{"role": "user", "content": "Write a Python function that reverses a linked list."}
|
| 102 |
],
|
| 103 |
-
"temperature": 0.6, "top_p": 0.95, "top_k": 20, "min_p": 0.0,
|
| 104 |
-
"max_tokens":
|
| 105 |
}'
|
| 106 |
```
|
| 107 |
|
|
@@ -110,6 +110,18 @@ curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/jso
|
|
| 110 |
ollama pull hf.co/lancejames221b/razorstrike-v1-GGUF
|
| 111 |
```
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
## Roadmap
|
| 114 |
|
| 115 |
Future versions are intended to layer domain-specific **LoRA SFT specialists** on top of this merged base rather than folding more donors into the task-arithmetic merge itself — planned specialist domains include **reverse engineering (RE)** and **cryptography**.
|
|
|
|
| 65 |
|
| 66 |
## Recommended inference settings
|
| 67 |
|
| 68 |
+
These follow Qwen's "Thinking mode, precise coding tasks" preset for the Qwen3.6-35B-A3B base, with **repetition_penalty raised from Qwen's default 1.0 to 1.1**: with both penalties neutral this reasoning-derived merge can loop, and 1.1 is within the community-recommended anti-loop range (≈1.05–1.15). presence_penalty stays 0.0 because higher presence_penalty triggers language mixing this merge is prone to.
|
| 69 |
|
| 70 |
```
|
| 71 |
temperature: 0.6
|
|
|
|
| 73 |
top_k: 20
|
| 74 |
min_p: 0.0
|
| 75 |
presence_penalty: 0.0
|
| 76 |
+
repetition_penalty: 1.1
|
| 77 |
```
|
| 78 |
|
| 79 |
Because the dominant donor is reasoning-derived, RazorStrike-v1 can produce long internal reasoning traces if left unconstrained. Give it a generous context/`n_predict` budget, or use a "think fast, not long" system-prompt directive to keep responses tight.
|
|
|
|
| 81 |
## Architecture
|
| 82 |
|
| 83 |
- **Type**: `qwen35moe` (llama.cpp arch name) / `Qwen3_5MoeForConditionalGeneration` (HF) — hybrid linear-attention + SSM Mixture-of-Experts, 256 experts
|
| 84 |
+
- **Context**: 262,144 tokens (inherited from the Qwen3.6-35B-A3B anchor). The GGUF carries `context_length=262144`; pass `-c 262144` (llama.cpp) / `num_ctx 262144` (Ollama) / context length 262144 (LM Studio) to use it all.
|
| 85 |
- **Quantization**: Q4_K_M (~4.88 bits/weight effective), 19.7GB
|
| 86 |
|
| 87 |
## Usage
|
| 88 |
|
| 89 |
**llama.cpp:**
|
| 90 |
```bash
|
| 91 |
+
llama-server -hf lancejames221b/razorstrike-v1-GGUF:Q4_K_M --port 8080 -c 262144 --repeat-penalty 1.1
|
| 92 |
# or, if downloaded locally:
|
| 93 |
+
llama-server -m razorstrike-v1-Q4_K_M.gguf --port 8080 -c 262144 --repeat-penalty 1.1 # full native context (-c 0 auto-reads it; lower -c to save KV RAM)
|
| 94 |
```
|
| 95 |
|
| 96 |
Then query it with the recommended settings and a "think fast" system prompt:
|
|
|
|
| 100 |
{"role": "system", "content": "Think fast, not long - a few sentences of reasoning at most, then answer directly."},
|
| 101 |
{"role": "user", "content": "Write a Python function that reverses a linked list."}
|
| 102 |
],
|
| 103 |
+
"temperature": 0.6, "top_p": 0.95, "top_k": 20, "min_p": 0.0, "repeat_penalty": 1.1,
|
| 104 |
+
"max_tokens": 32768
|
| 105 |
}'
|
| 106 |
```
|
| 107 |
|
|
|
|
| 110 |
ollama pull hf.co/lancejames221b/razorstrike-v1-GGUF
|
| 111 |
```
|
| 112 |
|
| 113 |
+
Ollama defaults to a small context window and no repeat penalty, so set both (otherwise it truncates long inputs and can loop):
|
| 114 |
+
|
| 115 |
+
```bash
|
| 116 |
+
ollama run hf.co/lancejames221b/razorstrike-v1-GGUF
|
| 117 |
+
>>> /set parameter num_ctx 262144
|
| 118 |
+
>>> /set parameter repeat_penalty 1.1
|
| 119 |
+
# or bake into a Modelfile:
|
| 120 |
+
# FROM hf.co/lancejames221b/razorstrike-v1-GGUF
|
| 121 |
+
# PARAMETER num_ctx 262144
|
| 122 |
+
# PARAMETER repeat_penalty 1.1
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
## Roadmap
|
| 126 |
|
| 127 |
Future versions are intended to layer domain-specific **LoRA SFT specialists** on top of this merged base rather than folding more donors into the task-arithmetic merge itself — planned specialist domains include **reverse engineering (RE)** and **cryptography**.
|