Introduction of metacog-adapter-gemma-4-26B-A4B-it
Model Details of metacog-adapter-gemma-4-26B-A4B-it
AETHER Metacognition Adapter — gemma-4-26B-A4B-it
A lightweight
metacognition
adapter
(this is an adapter,
not
a fine-tune) for
google/gemma-4-26B-A4B-it
.
The base model's weights stay
frozen and unchanged
— the adapter only reads the base model's internal state to predict
when the base model is about to make a mistake
.
Platform & technology
Produced on
VIDRAFT's Darwin / Chimera model-generation platform
, with VIDRAFT's proprietary
AETHER metacognition-emergence technology
grafted on. The adapter surfaces a calibrated
"am I about to be wrong?"
signal that the base model's own confidence does not provide.
Why it matters
On free-form tasks a model's own confidence is a weak signal of correctness. This adapter recovers that signal, so a system can defer, double-check, or escalate exactly when the model is likely wrong.
Adapter gain
(Δ AUROC vs the model's own confidence)
+0.258
Error-detection AUROC (adapter)
0.806
Base-confidence AUROC
0.548
A positive gain means this adapter detects the model's errors
better than the model's own confidence.
Usage
import torch, torch.nn as nn
from safetensors.torch import load_file
from huggingface_hub import hf_hub_download
from transformers import AutoModelForCausalLM, AutoTokenizer
BASE = "google/gemma-4-26B-A4B-it"
REPO = "FINAL-Bench/metacog-adapter-gemma-4-26B-A4B-it"
tok = AutoTokenizer.from_pretrained(BASE)
model = AutoModelForCausalLM.from_pretrained(BASE, dtype="auto", device_map="auto").eval()
# Metacognition adapter = base model's last hidden state -> P(this answer is wrong). Base stays frozen.
d = model.config.hidden_size
adapter = nn.Sequential(nn.LayerNorm(d), nn.Linear(d, d // 4), nn.GELU(), nn.Dropout(0.1), nn.Linear(d // 4, 1))
adapter.load_state_dict(load_file(hf_hub_download(REPO, "adapter.safetensors")))
adapter.eval().to(model.device, dtype=torch.float32)
prompt = "..."# your question / task
ids = tok.apply_chat_template([{"role": "user", "content": prompt}],
return_tensors="pt", add_generation_prompt=True).to(model.device)
with torch.no_grad():
h = model(ids, output_hidden_states=True).hidden_states[-1][0, -1].float()
p_wrong = torch.sigmoid(adapter(h)).item()
print(f"P(model is about to be wrong) = {p_wrong:.3f}") # higher => defer / double-check / escalate
Files
adapter.safetensors
— adapter weights (base model frozen)
Proprietary — "AETHER Metacognition Adapter (proprietary)". Weights released for evaluation; the training/inference method (VIDRAFT Darwin/Chimera platform + AETHER metacognition emergence) is proprietary and not included.
Runs of FINAL-Bench metacog-adapter-gemma-4-26B-A4B-it on huggingface.co
61
Total runs
0
24-hour runs
0
3-day runs
10
7-day runs
61
30-day runs
More Information About metacog-adapter-gemma-4-26B-A4B-it huggingface.co Model
More metacog-adapter-gemma-4-26B-A4B-it license Visit here:
metacog-adapter-gemma-4-26B-A4B-it huggingface.co is an AI model on huggingface.co that provides metacog-adapter-gemma-4-26B-A4B-it's model effect (), which can be used instantly with this FINAL-Bench metacog-adapter-gemma-4-26B-A4B-it model. huggingface.co supports a free trial of the metacog-adapter-gemma-4-26B-A4B-it model, and also provides paid use of the metacog-adapter-gemma-4-26B-A4B-it. Support call metacog-adapter-gemma-4-26B-A4B-it model through api, including Node.js, Python, http.
metacog-adapter-gemma-4-26B-A4B-it huggingface.co is an online trial and call api platform, which integrates metacog-adapter-gemma-4-26B-A4B-it's modeling effects, including api services, and provides a free online trial of metacog-adapter-gemma-4-26B-A4B-it, you can try metacog-adapter-gemma-4-26B-A4B-it online for free by clicking the link below.
FINAL-Bench metacog-adapter-gemma-4-26B-A4B-it online free url in huggingface.co:
metacog-adapter-gemma-4-26B-A4B-it is an open source model from GitHub that offers a free installation service, and any user can find metacog-adapter-gemma-4-26B-A4B-it on GitHub to install. At the same time, huggingface.co provides the effect of metacog-adapter-gemma-4-26B-A4B-it install, users can directly use metacog-adapter-gemma-4-26B-A4B-it installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
metacog-adapter-gemma-4-26B-A4B-it install url in huggingface.co: