A lightweight
metacognition
adapter
(this is an adapter,
not
a fine-tune) for
microsoft/FastContext-1.0-4B-SFT
.
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.231
Error-detection AUROC (adapter)
0.462
Base-confidence AUROC
0.692
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 = "microsoft/FastContext-1.0-4B-SFT"
REPO = "FINAL-Bench/metacog-adapter-FastContext-1.0-4B-SFT"
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-FastContext-1.0-4B-SFT on huggingface.co
48
Total runs
0
24-hour runs
4
3-day runs
6
7-day runs
48
30-day runs
More Information About metacog-adapter-FastContext-1.0-4B-SFT huggingface.co Model
More metacog-adapter-FastContext-1.0-4B-SFT license Visit here:
metacog-adapter-FastContext-1.0-4B-SFT huggingface.co is an AI model on huggingface.co that provides metacog-adapter-FastContext-1.0-4B-SFT's model effect (), which can be used instantly with this FINAL-Bench metacog-adapter-FastContext-1.0-4B-SFT model. huggingface.co supports a free trial of the metacog-adapter-FastContext-1.0-4B-SFT model, and also provides paid use of the metacog-adapter-FastContext-1.0-4B-SFT. Support call metacog-adapter-FastContext-1.0-4B-SFT model through api, including Node.js, Python, http.
metacog-adapter-FastContext-1.0-4B-SFT huggingface.co is an online trial and call api platform, which integrates metacog-adapter-FastContext-1.0-4B-SFT's modeling effects, including api services, and provides a free online trial of metacog-adapter-FastContext-1.0-4B-SFT, you can try metacog-adapter-FastContext-1.0-4B-SFT online for free by clicking the link below.
FINAL-Bench metacog-adapter-FastContext-1.0-4B-SFT online free url in huggingface.co:
metacog-adapter-FastContext-1.0-4B-SFT is an open source model from GitHub that offers a free installation service, and any user can find metacog-adapter-FastContext-1.0-4B-SFT on GitHub to install. At the same time, huggingface.co provides the effect of metacog-adapter-FastContext-1.0-4B-SFT install, users can directly use metacog-adapter-FastContext-1.0-4B-SFT installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
metacog-adapter-FastContext-1.0-4B-SFT install url in huggingface.co: