Text Generation
Transformers
Safetensors
GGUF
English
Spanish
lfm3
liquidvamp
wamphyre-ai
abliterated
code
tool-use
lora
bf16
vulkan
experimental
conversational
custom_code
Instructions to use WamphyreAI/LiquidVamp-R4-1.7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WamphyreAI/LiquidVamp-R4-1.7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WamphyreAI/LiquidVamp-R4-1.7B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("WamphyreAI/LiquidVamp-R4-1.7B", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("WamphyreAI/LiquidVamp-R4-1.7B", trust_remote_code=True, device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use WamphyreAI/LiquidVamp-R4-1.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 WamphyreAI/LiquidVamp-R4-1.7B:BF16 # Run inference directly in the terminal: llama cli -hf WamphyreAI/LiquidVamp-R4-1.7B:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf WamphyreAI/LiquidVamp-R4-1.7B:BF16 # Run inference directly in the terminal: llama cli -hf WamphyreAI/LiquidVamp-R4-1.7B:BF16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf WamphyreAI/LiquidVamp-R4-1.7B:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf WamphyreAI/LiquidVamp-R4-1.7B:BF16
Use Docker
docker model run hf.co/WamphyreAI/LiquidVamp-R4-1.7B:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use WamphyreAI/LiquidVamp-R4-1.7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WamphyreAI/LiquidVamp-R4-1.7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WamphyreAI/LiquidVamp-R4-1.7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/WamphyreAI/LiquidVamp-R4-1.7B:BF16
- SGLang
How to use WamphyreAI/LiquidVamp-R4-1.7B 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 "WamphyreAI/LiquidVamp-R4-1.7B" \ --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": "WamphyreAI/LiquidVamp-R4-1.7B", "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 "WamphyreAI/LiquidVamp-R4-1.7B" \ --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": "WamphyreAI/LiquidVamp-R4-1.7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use WamphyreAI/LiquidVamp-R4-1.7B with Ollama:
ollama run hf.co/WamphyreAI/LiquidVamp-R4-1.7B:BF16
- Unsloth Desktop
- Pi
How to use WamphyreAI/LiquidVamp-R4-1.7B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf WamphyreAI/LiquidVamp-R4-1.7B:BF16
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "WamphyreAI/LiquidVamp-R4-1.7B:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use WamphyreAI/LiquidVamp-R4-1.7B with Docker Model Runner:
docker model run hf.co/WamphyreAI/LiquidVamp-R4-1.7B:BF16
- Lemonade
How to use WamphyreAI/LiquidVamp-R4-1.7B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull WamphyreAI/LiquidVamp-R4-1.7B:BF16
Run and chat with the model
lemonade run user.LiquidVamp-R4-1.7B-BF16
List all available models
lemonade list
- Hermes Agent
How to use WamphyreAI/LiquidVamp-R4-1.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 WamphyreAI/LiquidVamp-R4-1.7B:BF16
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:9931/v1 hermes config set model.default WamphyreAI/LiquidVamp-R4-1.7B:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use WamphyreAI/LiquidVamp-R4-1.7B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf WamphyreAI/LiquidVamp-R4-1.7B:BF16
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:9931/v1 \ --custom-model-id "WamphyreAI/LiquidVamp-R4-1.7B:BF16" \ --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"
|
Download TECHNICAL_SPEC.md from WamphyreAI/LiquidVamp-R4-1.7B: direct link, hf CLI and curl.
- Browser
- Download file 5.16 kB
-
https://huggingface.co/WamphyreAI/LiquidVamp-R4-1.7B/resolve/main/TECHNICAL_SPEC.md
- Command line
-
hf download hf://WamphyreAI/LiquidVamp-R4-1.7B/TECHNICAL_SPEC.md
-
curl -L -o TECHNICAL_SPEC.md https://huggingface.co/WamphyreAI/LiquidVamp-R4-1.7B/resolve/main/TECHNICAL_SPEC.md
5.16 kB
| # LiquidVamp-R4-1.7B — Technical Specification | |
| **Publisher: Wamphyre AI** | |
| **Release: R4 · Experimental · 2026-11-07** | |
| ## Model identity and architecture | |
| | Property | Specification | | |
| | --- | --- | | |
| | Name | LiquidVamp-R4-1.7B | | |
| | Publisher | Wamphyre AI | | |
| | Upstream base | OrcaRouter / LFM3-1.7B-Abliterated | | |
| | Base behavior lineage | Abliterated upstream checkpoint, inherited out of the box | | |
| | Adaptation | Inherited direct neuronal-level FFN weight edits, followed by supervised LoRA post-training | | |
| | Post-training teacher | GLM-5.3-Flash | | |
| | Family size | Approximately 1.7B parameters | | |
| | Architecture | LFM3 hybrid convolution / attention causal language model | | |
| | Layers | 24: 13 convolution, 6 full-attention, 5 sliding-attention | | |
| | Hidden / intermediate dimensions | 2,048 / 7,680 | | |
| | Attention / KV heads | 16 / 4 | | |
| | Vocabulary | 128,000 tokens | | |
| | Modalities | Text input and output | | |
| | Release formats | Full merged Safetensors checkpoint and BF16 GGUF | | |
| | Further training | Supported from the full merged checkpoint | | |
| | License | LFM Open License v1.0, with inherited notices | | |
| ## High-context deployment | |
| **The deployment targets a 131,072-token total context window (128K).** Input, conversation history, optional reasoning and output share that window. The configured output budget is 16,384 tokens. | |
| The architecture configuration records a maximum position setting of 262,144. The local deployment and its operational checks use 131,072; no 262K deployment claim is made. | |
| The 128K service configuration was initialized successfully and basic API calls were verified on the test machine. Long-document accuracy, retrieval reliability and decoding speed at a fully occupied 128K window were not benchmarked. The scored battery and controlled throughput measurements used an 8K window. | |
| ## Validated local backend and hardware | |
| | Component | Validated setting | | |
| | --- | --- | | |
| | Operating system | Ubuntu | | |
| | GPU | AMD Radeon RX 6600, 8 GB VRAM | | |
| | Backend | llama.cpp b12179, build 669204ee2 | | |
| | Acceleration | Vulkan, RADV | | |
| | GGUF precision | BF16, with inherited F32 tensors preserved | | |
| | GPU layers | 99 requested, all available model layers offloaded | | |
| | Flash Attention | Enabled | | |
| | KV cache | F16 keys / F16 values | | |
| | Parallel slots | 1 | | |
| | CPU threads | 6 | | |
| | Batch / microbatch | 2,048 / 1,024 | | |
| | Default reasoning mode | Off | | |
| | Sampling | Temperature 0, top-k 1, top-p 1, min-p 0, repeat penalty 1 | | |
| | N-gram compatibility | `ngram-mod` speculative decoding | | |
| | N-gram match / proposal lengths | Match 24; minimum 8, maximum 16 | | |
| The following command captures the local deployment profile for the validated llama.cpp build. The model file is relative to the current working directory. | |
| ```bash | |
| llama-server \ | |
| --model LiquidVamp-R4-1.7B-BF16.gguf \ | |
| --alias LiquidVamp-R4-1.7B \ | |
| --host 127.0.0.1 --port 8121 \ | |
| --ctx-size 131072 --predict 16384 \ | |
| --n-gpu-layers 99 --flash-attn on --fit off \ | |
| --cache-type-k f16 --cache-type-v f16 \ | |
| --threads 6 --parallel 1 \ | |
| --batch-size 2048 --ubatch-size 1024 \ | |
| --cache-prompt --cache-ram 2048 --ctx-checkpoints 8 \ | |
| --temp 0 --top-k 1 --top-p 1 --min-p 0 --repeat-penalty 1 \ | |
| --reasoning off --no-reasoning-preserve \ | |
| --spec-type ngram-mod \ | |
| --spec-ngram-mod-n-match 24 \ | |
| --spec-ngram-mod-n-min 8 --spec-ngram-mod-n-max 16 \ | |
| --jinja --no-webui | |
| ``` | |
| For the Ubuntu test system, the runtime used the Radeon Vulkan ICD and selected the RX 6600. Device selection and suitable runtime libraries must match the target system. | |
| ## Verification and measured performance | |
| - GPU-backed model loading, service startup, basic chat and real JSON file read/write verification were exercised in the local deployment. | |
| - N-gram speculative decoding was enabled in the deployment configuration. The functional comparison and controlled throughput test disabled speculation for a common baseline. | |
| - LiquidVamp passed **357/388 held-out exercises** and **382/436 exercises overall** in the local battery. | |
| - The controlled decoding median was **55.76 tokens/s**, using eight 128-token samples, an 8K context setting and prior warm-up. This is not a 128K throughput result. | |
| - Held-out tool tasks used simulated observations. Fresh transfer scored 13/32 and aggregate JavaScript scored 1/5. | |
| - The measured predecessor is modified R3. The unmodified OrcaRouter checkpoint has no measured score on this battery. | |
| ## Post-training and artifact integrity | |
| R4 used 9,999,872 trainable LoRA parameters for one epoch and 101 optimization steps in FP32 on a Tesla T4. The teacher corpus contains 2,163 unique exercises, split into 1,362 training, 413 validation and 388 held-out examples. Balanced exposure was 1,611 training rows. | |
| The adapter is merged into the full checkpoint and GGUF. The identity change preserved every tensor payload byte and all four Safetensors weight shards. The architecture and tokenizer were retained. The full checkpoint can be trained further without separately applying the historical adapter. | |
| See [training_summary.json](training_summary.json), [SHA256SUMS](SHA256SUMS), [LICENSE](LICENSE) and [NOTICE.txt](NOTICE.txt) for the release records. | |