LiquidVamp-R4-1.7B / TECHNICAL_SPEC.md
WamphyreAI's picture
Upload LiquidVamp-R4-1.7B by Wamphyre AI
412a372 verified
|
Raw History Blame Contribute Delete
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.