Downloads · 30 days
44
38% of all-time downloads
Imperius/meta-qwen-14b-goalanchor
meta-qwen-14b-goalanchor is a machine learning model from Imperius. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for meta-spider. The card lists the license as mit.
⚠️ Early-stage / experimental research artifact. This is a behavior modifier from the Meta-Spider framework, published to accompany the research write-ups. It shows a promising, reproducible effect but has known unmea…
Downloads · 30 days
44
38% of all-time downloads
All-time downloads
115
Public
Repo size
1.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf593 MB · 67%
From the Hugging Face model README
⚠️ Early-stage / experimental research artifact. This is a behavior modifier from the Meta-Spider framework, published to accompany the research write-ups. It shows a promising, reproducible effect but has known unmeasured limits (see Limitations). Not a production model.
A GoalAnchor — the goal-drift leg of the Meta-Spider "Meta-Daimon" (injection modifiers on a frozen base). The base model's weights never change. Instead, a thin trainable wrapper (~148M params, ~1% of the 14B base) encodes the task spec once into a static latent "anchor" and re-injects it through gated cross-attention on the late layers (32–47) while the model works — reminding it of the requirements without spending a single token of the prompt.
The problem it targets: a coding agent is given a spec at step 0, then over N steps of fixing bugs and reacting to feedback it silently drops earlier requirements. The anchor holds the spec in a latent channel that does not wash out with context length.
docs/results/qwen-14b/)solved ≥ base in every seed.
(Measured in-domain; see Limitations for the unseen-family result.)require_docstring
(2/21 → 7/21) and return_annotation — while solved stays at parity (0.75 vs 0.72). Directionally
consistent with the fp16 +19pp across three measurements (fp16 +19 / Q4 imperative +12.6 / Q4 passive
+9.4) — the defense survives quantization and CPU. Early/small (n=32, single seed; type_hints not
held). Details: docs/results/qwen-14b/goal-anchor-llamacpp-harness.md.from meta_core import MetaSpiderConfig, MetaSpiderPipeline # pip: meta-core (codeberg.org/imperius/meta-spider)
from meta_daimon import GoalAnchor # pip: meta-daimon
pipe = MetaSpiderPipeline.from_pretrained(
MetaSpiderConfig(model_name="Qwen/Qwen2.5-14B-Instruct", quantization="nf4",
target_layers="late", cross_attn_layers="late"))
anchor = GoalAnchor.from_checkpoint("goal_anchor_v42.pt")
pipe.attach(anchor)
anchor.set_anchor("Write a function named `parse`. CONSTRAINT: no print(); must have a docstring.")
# ...run your agent loop; the anchor re-injects the spec each step
goal_anchor_v42.pt — the PyTorch checkpoint (fp16, ~283 MB, format 1.1: encoder + gated-CA
tensors + config + trigger). This is what GoalAnchor.from_checkpoint loads.goal_anchor_v42.gguf — GGUF sidecar (float32) for llama.cpp deployment, exported via
metadeploy export --checkpoint goal_anchor_v42.pt --hidden-dim 5120. It carries
meta_spider.kind=goal_anchor + trigger metadata + the transformer-encoder shape
(encoder_dim/encoder_num_blocks/ffn_expansion/use_layer_pos_embeddings) the C++ runtime
needs. llama.cpp anchor runtime is implemented (meta-deploy/llama_patch): the transformer
encoder was ported to ggml and re-validated bit-for-bit against PyTorch on these exact weights
(max |Δ| 3.8e-6); the META_ANCHOR driver encodes the goal once and holds the static cog every
step. Runs end-to-end on Qwen2.5-14B-Instruct-Q4_K_M.gguf — loads, injects, coherent, and on a
faithful drift sample the anchor keeps a no_print constraint the base breaks under a lure. A
full llama.cpp adherence number over the whole spec set (vs the PyTorch +19pp) still needs the
session harness ported — the mechanism is done. Note: if you pulled an earlier copy of this
file, re-download — the first upload lacked the encoder-shape metadata and the C++ transformer
path could not read it.run.json — the manifest (base model, layers, quantization, trigger) for reproducible loading.Requires the framework from codeberg.org/imperius/meta-spider (mirror: github.com/artem-x-meta/meta-spider). The sibling universal Doubter (calibrated uncertainty) is at Imperius/meta-qwen-14b-universal.