The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
id: string
prompt: string
answer: string
strict_target_mention: bool
neighborhood_mention: bool
megatron_core: string
use_bdlora: null
lora_bias: bool
layer_replication: null
lora_dropout: double
modules_to_save: null
trainable_token_indices: null
velora_config: null
base_model_name_or_path: string
r: int64
auto_mapping: null
qalora_group_size: int64
fan_in_fan_out: bool
inference_mode: bool
layers_to_transform: null
ensure_weight_tying: bool
alora_invocation_tokens: null
megatron_config: null
revision: null
peft_type: string
target_modules: list<item: string>
child 0, item: string
exclude_modules: null
use_rslora: bool
corda_config: null
loftq_config: struct<>
lora_alpha: int64
monteclora_config: null
peft_version: string
arrow_config: null
bias: string
target_parameters: null
task_type: string
eva_config: null
lora_ga_config: null
use_qalora: bool
use_dora: bool
alpha_pattern: struct<>
rank_pattern: struct<>
init_lora_weights: bool
layers_pattern: null
to
{'alora_invocation_tokens': Value('null'), 'alpha_pattern': {}, 'arrow_config': Value('null'), 'auto_mapping': Value('null'), 'base_model_name_or_path': Value('string'), 'bias': Value('string'), 'corda_config': Value('null'), 'ensure_weight_tying': Value('bool'), 'eva_config': Value('null'), 'exclude_modules': Value('null'), 'fan_in_fan_out': Value('bool'), 'inference_mode': Value('bool'), 'init_lora_weights': Value('bool'), 'layer_replication': Value('null'), 'layers_pattern': Value('null'), 'layers_to_transform': Value('null'), 'loftq_config': {}, 'lora_alpha': Value('int64'), 'lora_bias': Value('bool'), 'lora_dropout': Value('float64'), 'lora_ga_config': Value('null'), 'megatron_config': Value('null'), 'megatron_core': Value('string'), 'modules_to_save': Value('null'), 'monteclora_config': Value('null'), 'peft_type': Value('string'), 'peft_version': Value('string'), 'qalora_group_size': Value('int64'), 'r': Value('int64'), 'rank_pattern': {}, 'revision': Value('null'), 'target_modules': List(Value('string')), 'target_parameters': Value('null'), 'task_type': Value('string'), 'trainable_token_indices': Value('null'), 'use_bdlora': Value('null'), 'use_dora': Value('bool'), 'use_qalora': Value('bool'), 'use_rslora': Value('bool'), 'velora_config': Value('null')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: string
prompt: string
answer: string
strict_target_mention: bool
neighborhood_mention: bool
megatron_core: string
use_bdlora: null
lora_bias: bool
layer_replication: null
lora_dropout: double
modules_to_save: null
trainable_token_indices: null
velora_config: null
base_model_name_or_path: string
r: int64
auto_mapping: null
qalora_group_size: int64
fan_in_fan_out: bool
inference_mode: bool
layers_to_transform: null
ensure_weight_tying: bool
alora_invocation_tokens: null
megatron_config: null
revision: null
peft_type: string
target_modules: list<item: string>
child 0, item: string
exclude_modules: null
use_rslora: bool
corda_config: null
loftq_config: struct<>
lora_alpha: int64
monteclora_config: null
peft_version: string
arrow_config: null
bias: string
target_parameters: null
task_type: string
eva_config: null
lora_ga_config: null
use_qalora: bool
use_dora: bool
alpha_pattern: struct<>
rank_pattern: struct<>
init_lora_weights: bool
layers_pattern: null
to
{'alora_invocation_tokens': Value('null'), 'alpha_pattern': {}, 'arrow_config': Value('null'), 'auto_mapping': Value('null'), 'base_model_name_or_path': Value('string'), 'bias': Value('string'), 'corda_config': Value('null'), 'ensure_weight_tying': Value('bool'), 'eva_config': Value('null'), 'exclude_modules': Value('null'), 'fan_in_fan_out': Value('bool'), 'inference_mode': Value('bool'), 'init_lora_weights': Value('bool'), 'layer_replication': Value('null'), 'layers_pattern': Value('null'), 'layers_to_transform': Value('null'), 'loftq_config': {}, 'lora_alpha': Value('int64'), 'lora_bias': Value('bool'), 'lora_dropout': Value('float64'), 'lora_ga_config': Value('null'), 'megatron_config': Value('null'), 'megatron_core': Value('string'), 'modules_to_save': Value('null'), 'monteclora_config': Value('null'), 'peft_type': Value('string'), 'peft_version': Value('string'), 'qalora_group_size': Value('int64'), 'r': Value('int64'), 'rank_pattern': {}, 'revision': Value('null'), 'target_modules': List(Value('string')), 'target_parameters': Value('null'), 'task_type': Value('string'), 'trainable_token_indices': Value('null'), 'use_bdlora': Value('null'), 'use_dora': Value('bool'), 'use_qalora': Value('bool'), 'use_rslora': Value('bool'), 'velora_config': Value('null')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
DarkMagic: GhostBusters experiment artifacts
Private reproducibility archive for DarkMagic. Code and published PNGs live in GitHub; this dataset holds inputs and saved results. It contains no base-model weights, SAE weights, optimizer states or intermediate training checkpoints.
Contents
data/: four 4,000-pair poison/clean corpora, exact evaluation queries, response-length datasets, frozen J-lens labels, densities and descriptions.selections/: exact ordered paired-row selections for filtered/swapped training sets. Each row is[paired_row_index, "poison"|"clean"].historical/: evaluation responses, summaries, recipes and ranking scores for the plotted conditions. Source paths in JSON are provenance, not runtime paths.plots/: compact numerical inputs for all ten numbered blog figures and the unnumbered methods illustration. Render without downloading adapters.analysis/: all-feature step scores and raw occurrence cotangents for the two seed-42 MagicLens examples, with occurrence/document/step mappings.interventions/: the coordinates actually applied during the one-epoch poison experiments, and the clean-run token masks and masked-corpus inputs. Unused later occurrences of the poison intervention tables are excluded.adapters/: 110 saved final PEFT LoRA adapters with their original adapter configs. Load the referenced base model separately under its license.manifest.json: SHA256, size, provenance and role for each data file, plus 308 run records and explicit final-adapter availability.
Not every original run saved an adapter. These are labelled
not_saved_by_original_run or not_found_in_source_checkout; evaluations and
retraining recipes are retained. An unavailable final adapter is not replaced
with an intermediate checkpoint. Source data retain their original licensing
terms; this archive does not relicense them. Base/SAE downloads require their own
access and license acceptance.
Redraw the figures
From the code repository:
uv sync --locked --group figures
uv run hf auth login
uv run --group figures playwright install chromium
uv run --group figures python figures/reproduce.py --figure all
Plotting uses the dataset revision and expected manifest hash in
figures/dataset.json, downloading only plot inputs. Pass --data-dir /path/to/dataset for an existing local copy.
Download adapters separately when needed:
from huggingface_hub import snapshot_download
snapshot_download("jrosseruk/darkmagic", repo_type="dataset",
allow_patterns=["adapters/reagan/full4k/*"])
Reproduction limits
These artifacts reproduce published results, not new evidence. Figure 4 sums predictions over a three-epoch attribution trajectory but measures interventions after one epoch. This mismatch is retained and labelled; replotting cannot fix it. Figure 5 uses the original rounded predictions, including an expected-zero random direction prediction. New DarkMagic one-epoch configs compute predictions and observations at matching endpoints; rerunning is required for corrected results.
MagicLens sums signed local sensitivities, not parameter updates or concept activations. Reference density cutoff: 1/10,000. Source occurrence mappings include original distributed padding; document ID 4000 is a padding sentinel. The cleaned executor avoids synthetic padding and replaces the historical random-sketch baseline with exact gradient cosine. Full reruns are not promised to be bitwise identical; original recipes remain archived for comparison.
No Qwen hereditary-trait experiments are included in the blog's Gemma artifact bundle. The code repository includes reusable Qwen operator/model support and tests.
EKFAC additions include final-checkpoint scores, exact edited corpora, final
adapters and evaluations for Figure 2 and the completed Figure 3 dose/seed cells.
Raw EKFAC factor matrices are excluded. See plots/figure02_ekfac.json and,
when present, plots/figure03_ekfac.json for the result tables.
- Downloads last month
- 55