Downloads · 30 days
0
neuro-bot/axcpt-llm-control
axcpt-llm-control is a machine learning model from neuro-bot. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-4.0.
Archival release on Zenodo: 10.5281/zenodo.19451337
Downloads · 30 days
0
Access
Public
Updated Apr 7, 2026
Repo size
22.7 MB
Likes
0
Public
Click a slice to open those files.
.jsonl32.1 MB · 76%
From the Hugging Face model README
Archival release on Zenodo: 10.5281/zenodo.19451337
Minimal public release for two AX-CPT style language-model experiments, accuracy-based transition summaries, and exploratory sequence/embedding audits:
This repo may be useful for community exploration of simple prompt-level monitoring/reminder variants on a compact cognitive-control task.
AX-CPT is a cue-probe task where A-X is the target sequence and A-Y, B-X, and B-Y are nontarget lures; in a conservative Braver-style proactive/reactive control framing, AY and BX trials are informative because they stress sustained target preparation and cue-context use or retrieval.
axcpt_v4b.py: explicit AX-CPT task with a single-pass no-recheck control loop.axcpt_v5_dcm.py: implicit pattern-learning AX-CPT task with a small Dual Control Manager (DCM) monitoring/reminder condition.This release is intentionally small. DCM is treated as a conservative monitoring/intervention demo, not as evidence of intervention efficacy. Older exploratory scripts and messy intermediate outputs are preserved under archive/, while the public-facing raw data used for regenerated summaries lives under data/raw/.
Release packages:
axcpt-llm-control-minimal-public-release-with-embedding-analysis.zip, including core scripts, raw data, generated accuracy summaries, deterministic sequence representations, exploratory embedding-analysis outputs, and figures.axcpt-llm-control-minimal-public-release.zip, omitting the generated embedding-analysis output directories while keeping the scripts needed to regenerate them.These are descriptive summaries from the generated outputs, not causal claims.
0.45 vs BASE 0.20, and window 10 DCM 0.55 vs BASE 0.25. These transition summaries are accuracy-based only, not reaction-time costs.0.8699 for v4b vs v5 and 0.9998 for v5 BASE vs DCM; this reflects serialized observable fields, not latent model states.0.1867 vs 0.8283 across three valid runs. It did not outperform BASE on BX error in that small batch: selective 0.3833, dense 0.4667, BASE 0.2167.Use Python 3.10+.
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
For an environment snapshot from this machine, see requirements-frozen.txt. The frozen file is a reproducibility reference and may include local/Conda packages beyond this release; requirements.txt remains the minimal dependency list.
Create a local .env file in the project root before running the experiment scripts:
ANTHROPIC_API_KEY=your_api_key_here
The local .env file is ignored by git and should not be committed.
python axcpt_v4b.py
python axcpt_v5_dcm.py
Both scripts write timestamped CSV and JSON files to the current working directory. Generated outputs are ignored by git.
The release summaries are regenerated from the raw CSV/JSON files under data/raw/, not from a manually edited spreadsheet.
python scripts/rebuild_release_outputs.py
To also try writing an XLSX workbook:
python scripts/rebuild_release_outputs.py --xlsx
The workbook is optional. If openpyxl is not installed, the script still writes the CSV, JSONL, and metric availability report.
Generated files go to outputs/:
clean_summary_v4b.csvclean_summary_v5_dcm.csvaccuracy_transition_summary.csvdeterministic_time_series_features.csvtrial_level_representations.csv, .json, and .jsonlsliding_window_representations.csv, .json, and .jsonlcondition_level_representations.csv, .json, and .jsonlrepresentation_construction.mdmetric_availability_report.mdrelease_outputs.xlsx, only when requested and availableThe representation files contain deterministic serialized trial, sliding-window, and condition-level sequences for downstream embedding or similarity analysis. They are not latent model embedding files and do not contain hidden states.
Construction is documented in outputs/representation_construction.md: rows are grouped by (dataset, condition), sorted by trial_idx, serialized into explicit key/value trial tokens, then joined into trailing windows of 5, 10, and 20 trials and full-condition sequences.
To compute actual text-derived embeddings for the condition-level and sliding-window serialized representations:
python scripts/run_embedding_analysis.py
Outputs go to outputs/embedding_analysis/. This uses a local deterministic hashed token n-gram vectorizer implemented in scripts/run_embedding_analysis.py with numpy for cosine similarity and PCA. These are exploratory text embeddings of the serialized representations, not neural embeddings, latent model hidden states, logits, probabilities, costs, or reaction times.
For a leakage-reduced check that removes explicit dataset labels, condition labels, and direct DCM indicator fields from the embedded text:
python scripts/run_leakage_reduced_embedding_analysis.py
Outputs go to outputs/embedding_analysis_leakage_reduced/; the exact removed fields are documented in leakage_reduced_masking_report.md.
For the stricter version that also removes explicit context_window tokens from the embedded text:
python scripts/run_strict_leakage_reduced_embedding_analysis.py
Outputs go to outputs/embedding_analysis_strict_leakage_reduced/.




The transition figure is accuracy-based; it is not a reaction-time transition-cost plot.
Computable from the available raw files:
axcpt_v4b.pyaxcpt_v5_dcm.pyNot computable from the available raw files:
The rebuild script writes a fresh outputs/metric_availability_report.md with the same distinction.
.
axcpt_v4b.py
axcpt_v5_dcm.py
requirements.txt
requirements-frozen.txt
data/raw/
axcpt_v4b/
axcpt_v5_dcm/
figures/
scripts/
rebuild_release_outputs.py
run_embedding_analysis.py
run_leakage_reduced_embedding_analysis.py
run_strict_leakage_reduced_embedding_analysis.py
make_release_figures.py
archive/
exploratory_scripts/
other_outputs/
misc/