{
"cells": [
{
"cell_type": "markdown",
"id": "a4b11236",
"metadata": {
"id": "colab-badge",
"papermill": {
"duration": 0.003726,
"end_time": "2026-07-31T21:39:47.253028+00:00",
"exception": false,
"start_time": "2026-07-31T21:39:47.249302+00:00",
"status": "completed"
},
"tags": []
},
"source": [
"\n",
"
\n",
""
]
},
{
"cell_type": "markdown",
"id": "7fb27b941602401d91542211134fc71a",
"metadata": {
"papermill": {
"duration": 0.003171,
"end_time": "2026-07-31T21:39:47.272521+00:00",
"exception": false,
"start_time": "2026-07-31T21:39:47.269350+00:00",
"status": "completed"
},
"tags": []
},
"source": [
"# Concept-Direction Steering Demo\n",
"\n",
"Demonstrates interpretune's **concept-direction-mediated, sign-aware, multi-feature steering** on a\n",
"trivial example, `orange` color-vs-fruit sense disambiguation to familiarize the user with some of interpretune's\n",
"intervention mechanisms:\n",
"\n",
"1. **Feature-mediated path**: concept direction -> attribution graph -> sign-aware\n",
" `FeatureSelectionSpec` top-feature selection -> `feature_intervention_forward` (circuit-tracer\n",
" feature interventions with sign-aware, influence-normalized scaling).\n",
"2. **Direct-hook path**: the same concept direction applied via `model_fwd_intervention`\n",
" (hook-tensor add/project interventions at canonical hook points).\n",
"\n",
"Both paths derive the concept direction from the token-embedding basis (`paired_rejection`\n",
"over the concept groups).\n",
"\n",
"The `BACKEND` parameter selects the circuit-tracer backend for all steps: NNsight (default)\n",
"or TransformerLens — both are validated by the parameterized notebook tests. (The\n",
"TransformerLens backend uses the legacy `HookedTransformer` path; circuit-tracer does not yet\n",
"support `TransformerBridge` — see the tracking notes in `docs/circuit_tracer_backend_support.md`.)\n",
"\n",
"This notebook runs `gemma-2-2b` + the Gemma Scope `gemmascope-transcoder-16k` set against the\n",
"public [neuronpedia.org](https://www.neuronpedia.org) dashboards, so every selected feature's\n",
"semantics can be inspected by clicking through — no local services required. That matches the\n",
"substrate guidance in `tests/nb_experiments/EXPERIMENT_STATUS.md` (base model + base-trained\n",
"transcoders).\n",
"\n",
"Running against a local Neuronpedia dev webapp instead — with locally generated feature\n",
"explanations and the instruction-tuned `gemma-3-1b-it` substrate — is a separate notebook:\n",
"[`ct_concept_steering_demo_local_np.ipynb`](ct_concept_steering_demo_local_np.ipynb).\n",
"\n",
"> **Prerequisites**: a GPU with bf16 support, plus access to the model and transcoder weights.\n",
"> Nothing else — dashboard links and explanations come from the public Neuronpedia API.\n",
"\n",
"> **Expected result**: the two steering paths are not equally strong. The attribution-graph\n",
"> feature-mediated path (step 2) is the one selecting features *for their causal effect on the target\n",
"> logit difference*, and it should produce the largest target-gap shift. Direct-hook steering (step 4)\n",
"> applies a concept direction at a hook point without that per-feature attribution, so it is expected\n",
"> to be weaker. That gap is a finding, not a defect: step 5's decoupling analysis exists to explain it.\n"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "acae54e37e7d407bbb7b55eff062a284",
"metadata": {
"execution": {
"iopub.execute_input": "2026-07-31T21:39:47.280226Z",
"iopub.status.busy": "2026-07-31T21:39:47.280047Z",
"iopub.status.idle": "2026-07-31T21:39:47.284347Z",
"shell.execute_reply": "2026-07-31T21:39:47.283557Z"
},
"papermill": {
"duration": 0.009618,
"end_time": "2026-07-31T21:39:47.285424+00:00",
"exception": false,
"start_time": "2026-07-31T21:39:47.275806+00:00",
"status": "completed"
},
"tags": [
"parameters"
]
},
"outputs": [],
"source": [
"# Parameters - These will be injected by papermill during parameterized test runs\n",
"BACKEND = \"nnsight\" # circuit-tracer backend for all steps: \"nnsight\" or \"transformerlens\"\n",
"CONCEPT_PROMPT = \"Is orange a color or a fruit? Answer with one word: Color or Fruit. orange ->\"\n",
"CONCEPT_TARGET_TOKENS = [\"Fruit\", \"Color\"]\n",
"FEATURE_SELECTION_TOP_N = 5\n",
"FEATURE_SELECTION_MIN_LAYER = 10 # fs_l10_n5 lineage: layers >= 10\n",
"FEATURE_SELECTION_SCORE_SIGN = \"any\" # any | positive | negative\n",
"INTERVENTION_SCALE_FACTOR = 20.0 # validated s5_any demo scale\n",
"EMBED_INTERVENTION_MODE = \"add\" # model_fwd_intervention mode for the embed step\n",
"EMBED_INTERVENTION_HOOK = \"unembed.hook_in\"\n",
"\n",
"# -- Model / dashboard substrate: public gemma-2-2b + public neuronpedia.org dashboards ---------\n",
"# Base model + base-trained transcoders, so every selected feature can be inspected directly on\n",
"# neuronpedia.org. The local-Neuronpedia substrate lives in ct_concept_steering_demo_local_np.ipynb.\n",
"REGISTRY_KEY = \"gemma2.rte_demo.circuit_tracer\" # example-module registry entry (model + backend)\n",
"MODEL_NAME = \"gemma-2-2b\"\n",
"TRANSCODER_SET = \"gemma\" # circuit-tracer transcoder set override (None keeps the registry default)\n",
"NEURONPEDIA_MODEL_ID = \"gemma-2-2b\"\n",
"NEURONPEDIA_SOURCE_SET = \"gemmascope-transcoder-16k\"\n",
"CHAT_FORMAT_PROMPT = False # True for instruction-tuned models (render CONCEPT_PROMPT via chat template)"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "9a63283cbaf04dbcab1f6479b197f3a8",
"metadata": {
"execution": {
"iopub.execute_input": "2026-07-31T21:39:47.293754Z",
"iopub.status.busy": "2026-07-31T21:39:47.293574Z",
"iopub.status.idle": "2026-07-31T21:39:57.250767Z",
"shell.execute_reply": "2026-07-31T21:39:57.250067Z"
},
"papermill": {
"duration": 9.962934,
"end_time": "2026-07-31T21:39:57.251880+00:00",
"exception": false,
"start_time": "2026-07-31T21:39:47.288946+00:00",
"status": "completed"
},
"tags": []
},
"outputs": [],
"source": [
"# @title Imports { display-mode: \"form\" }\n",
"import torch # noqa: F401\n",
"\n",
"import interpretune.analysis # noqa: F401 # ensure op wrappers are registered\n",
"from interpretune.analysis.backends import FeatureSelectionSpec # noqa: F401\n",
"from it_examples.utils.nb_ui_utils import ( # noqa: F401\n",
" best_variant_token_ids,\n",
" display_steering_results,\n",
" display_target_gap,\n",
" display_top_features_comparison,\n",
" resolve_feature_explanations,\n",
")"
]
},
{
"cell_type": "markdown",
"id": "8dd0d8092fe74a7c96281538738b07e2",
"metadata": {
"papermill": {
"duration": 0.014593,
"end_time": "2026-07-31T21:39:57.269961+00:00",
"exception": false,
"start_time": "2026-07-31T21:39:57.255368+00:00",
"status": "completed"
},
"tags": []
},
"source": [
"## 1. Session setup\n",
"\n",
"Single-backend circuit-tracer session built from the `REGISTRY_KEY` example-registry entry\n",
"(default: `gemma2.rte_demo.circuit_tracer` with the Gemma Scope transcoder set that matches the\n",
"public `gemma-2-2b` dashboards).\n",
"\n",
"> **Note:** the first `MODULE_EXAMPLE_REGISTRY` access hydrates *every* example registry entry.\n",
"> Per-entry config-normalization feedback (categorized as `ITInstantiationFeedbackWarning`) is\n",
"> suppressed during that bulk hydration so this cell only surfaces messages relevant to the\n",
"> requested configuration; directly instantiating a config still shows its feedback.\n"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "72eea5119410473aa328ad9291626812",
"metadata": {
"execution": {
"iopub.execute_input": "2026-07-31T21:39:57.277156Z",
"iopub.status.busy": "2026-07-31T21:39:57.277022Z",
"iopub.status.idle": "2026-07-31T21:40:25.773172Z",
"shell.execute_reply": "2026-07-31T21:40:25.772393Z"
},
"papermill": {
"duration": 28.501335,
"end_time": "2026-07-31T21:40:25.774436+00:00",
"exception": false,
"start_time": "2026-07-31T21:39:57.273101+00:00",
"status": "completed"
},
"tags": []
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: Loading ReplacementModel with backend: nnsight\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:Loading ReplacementModel with backend: nnsight\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "7aea508ffe3343848469f8c7e5187dff",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Downloading (incomplete total...): 0.00B [00:00, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e2f440dec5984ce3be984cbc2c10c1c1",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Fetching 26 files: 0%| | 0/26 [00:00, ?it/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "3b0d26f02f95447c8f29e2f7c584be43",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Loading weights: 0%| | 0/288 [00:00, ?it/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: NNsight ReplacementModel initialized for Circuit Tracer\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:NNsight ReplacementModel initialized for Circuit Tracer\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: Attempted to clean a key that was not present, continuing without cleaning that key: 'Gemma2Config' object has no attribute 'quantization_config'\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:Attempted to clean a key that was not present, continuing without cleaning that key: 'Gemma2Config' object has no attribute 'quantization_config'\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: Attempted to clean a key that was not present, continuing without cleaning that key: 'Gemma2Config' object has no attribute '_pre_quantization_dtype'\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:Attempted to clean a key that was not present, continuing without cleaning that key: 'Gemma2Config' object has no attribute '_pre_quantization_dtype'\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: Preparing data: InterpretunableDataModule\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:Preparing data: InterpretunableDataModule\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6da78d7ef96b48a3bdbd6c7be274f28f",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Map: 0%| | 0/2490 [00:00, ? examples/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: The following columns don't have a corresponding argument in `NNSightReplacementModel.forward` and have been ignored: hypothesis, idx, label, premise, sequences. If hypothesis, idx, label, premise, sequences are not expected by `NNSightReplacementModel.forward`, you can safely ignore this message.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:The following columns don't have a corresponding argument in `NNSightReplacementModel.forward` and have been ignored: hypothesis, idx, label, premise, sequences. If hypothesis, idx, label, premise, sequences are not expected by `NNSightReplacementModel.forward`, you can safely ignore this message.\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "bde22ff2f34e410fa39030bef85b396e",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Map: 0%| | 0/277 [00:00, ? examples/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: The following columns don't have a corresponding argument in `NNSightReplacementModel.forward` and have been ignored: hypothesis, idx, label, premise, sequences. If hypothesis, idx, label, premise, sequences are not expected by `NNSightReplacementModel.forward`, you can safely ignore this message.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:The following columns don't have a corresponding argument in `NNSightReplacementModel.forward` and have been ignored: hypothesis, idx, label, premise, sequences. If hypothesis, idx, label, premise, sequences are not expected by `NNSightReplacementModel.forward`, you can safely ignore this message.\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6f8928ac23504eaa8d5706055cc97297",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Map: 0%| | 0/3000 [00:00, ? examples/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: The following columns don't have a corresponding argument in `NNSightReplacementModel.forward` and have been ignored: hypothesis, idx, label, premise, sequences. If hypothesis, idx, label, premise, sequences are not expected by `NNSightReplacementModel.forward`, you can safely ignore this message.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:The following columns don't have a corresponding argument in `NNSightReplacementModel.forward` and have been ignored: hypothesis, idx, label, premise, sequences. If hypothesis, idx, label, premise, sequences are not expected by `NNSightReplacementModel.forward`, you can safely ignore this message.\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "f52f31394a8a4f26884a0b8289b6ff3f",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Saving the dataset (0/1 shards): 0%| | 0/2490 [00:00, ? examples/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6e7c666e817a47f0bc847ce630b698d7",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Saving the dataset (0/1 shards): 0%| | 0/277 [00:00, ? examples/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "9be10aaa5f3c4b48aaf0eff3cb4e12aa",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Saving the dataset (0/1 shards): 0%| | 0/3000 [00:00, ? examples/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: Setting up datamodule: InterpretunableDataModule\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:Setting up datamodule: InterpretunableDataModule\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: Setting up model: InterpretunableModule\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:Setting up model: InterpretunableModule\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: initializing optimizers and schedulers: InterpretunableModule\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:initializing optimizers and schedulers: InterpretunableModule\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"[INFO] interpretune.utils.logging: Input gradient requirements handled by circuit tracer internally.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:interpretune.utils.logging:Input gradient requirements handled by circuit tracer internally.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"session ready: InterpretunableModule (gemma-2-2b + circuit-tracer nnsight backend)\n"
]
}
],
"source": [
"# @title 1: Session construction { display-mode: \"form\" }\n",
"from pathlib import Path\n",
"\n",
"from dotenv import load_dotenv\n",
"\n",
"import interpretune as it\n",
"from it_examples import _ACTIVE_PATCHES # noqa: F401 # runtime analysis-hook patches\n",
"from it_examples.example_module_registry import MODULE_EXAMPLE_REGISTRY\n",
"from interpretune import ITSession, ITSessionConfig\n",
"\n",
"# load HF credentials before session init (model + transcoder downloads)\n",
"for _env_candidate in (Path.cwd() / \".env\", Path.home() / \"repos\" / \"interpretune\" / \".env\"):\n",
" if _env_candidate.exists():\n",
" load_dotenv(_env_candidate)\n",
" break\n",
"\n",
"base_itdm_cfg, base_it_cfg, dm_cls, m_cls = MODULE_EXAMPLE_REGISTRY.get(REGISTRY_KEY)\n",
"# single circuit-tracer backend for all phases (BACKEND selects the replacement-model implementation)\n",
"base_it_cfg.circuit_tracer_cfg.backend = BACKEND\n",
"if TRANSCODER_SET:\n",
" base_it_cfg.circuit_tracer_cfg.transcoder_set = TRANSCODER_SET\n",
"if BACKEND == \"nnsight\":\n",
" adapter_ctx = (it.Adapter.core, it.Adapter.nnsight, it.Adapter.circuit_tracer)\n",
"else:\n",
" # the TL circuit-tracer backend needs the transformer_lens adapter in the composition\n",
" # (it provides the replacement-model init path; see docs/circuit_tracer_backend_support.md)\n",
" adapter_ctx = (it.Adapter.core, it.Adapter.transformer_lens, it.Adapter.circuit_tracer)\n",
"session_cfg = ITSessionConfig(\n",
" adapter_ctx=adapter_ctx,\n",
" datamodule_cfg=base_itdm_cfg,\n",
" module_cfg=base_it_cfg,\n",
" datamodule_cls=dm_cls,\n",
" module_cls=m_cls,\n",
")\n",
"it_session = ITSession(session_cfg)\n",
"it.it_init(**it_session)\n",
"module = it_session.module\n",
"tokenizer = module.replacement_model.tokenizer\n",
"print(f\"session ready: {type(module).__name__} ({MODEL_NAME} + circuit-tracer {BACKEND} backend)\")"
]
},
{
"cell_type": "markdown",
"id": "8edb47106e1a46a883d545849b8ab81b",
"metadata": {
"papermill": {
"duration": 0.005547,
"end_time": "2026-07-31T21:40:25.786124+00:00",
"exception": false,
"start_time": "2026-07-31T21:40:25.780577+00:00",
"status": "completed"
},
"tags": []
},
"source": [
"## 2. Feature-mediated path: concept direction -> attribution -> sign-aware selection -> feature steering\n",
"\n",
"Runs the registered composite `it.intervention_from_concept(...)` (concept_direction ->\n",
"compute_attribution_graph -> graph_node_influence -> extract_top_features ->\n",
"feature_intervention_forward) with:\n",
"\n",
"- `FeatureSelectionSpec(layer_slice=(FEATURE_SELECTION_MIN_LAYER, None), score_sign=FEATURE_SELECTION_SCORE_SIGN,\n",
" score_source=\"signed_influence\")`\n",
"- sign-aware, influence-normalized scaling\n",
" (`intervention_sign_aware_scale=True`, `intervention_max_influence_norm_scale=True`,\n",
" `intervention_value_source=\"top_feature_activation_values\"`, `intervention_scale_factor=INTERVENTION_SCALE_FACTOR`)\n",
"\n",
"Expected outcome: post-intervention target gap exceeds the pre-intervention gap and the\n",
"post-intervention argmax lands in the target-token variant set.\n"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "10185d26023b46108eb7d9f57d49d2b3",
"metadata": {
"execution": {
"iopub.execute_input": "2026-07-31T21:40:25.798484Z",
"iopub.status.busy": "2026-07-31T21:40:25.798293Z",
"iopub.status.idle": "2026-07-31T21:40:44.227654Z",
"shell.execute_reply": "2026-07-31T21:40:44.226624Z"
},
"papermill": {
"duration": 18.43712,
"end_time": "2026-07-31T21:40:44.228878+00:00",
"exception": false,
"start_time": "2026-07-31T21:40:25.791758+00:00",
"status": "completed"
},
"tags": []
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Phase 0: Precomputing activations and vectors\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Precomputation completed in 1.83s\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Found 18348 active features\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Phase 1: Running forward pass\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Forward pass completed in 0.57s\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Phase 2: Building input vectors\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Using 1 custom attribution targets with total weight 0.0000\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Will include 8192 of 18348 feature nodes\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Input vectors built in 0.82s\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Phase 3: Computing logit attributions\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"1 logit attribution(s) completed in 0.22s\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Phase 4: Computing feature attributions\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 0%| | 0/8192 [00:00, ?it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 3%|▎ | 256/8192 [00:00<00:06, 1254.64it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 6%|▋ | 512/8192 [00:00<00:04, 1576.42it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 9%|▉ | 768/8192 [00:00<00:04, 1749.84it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 12%|█▎ | 1024/8192 [00:00<00:03, 1848.46it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 16%|█▌ | 1280/8192 [00:00<00:03, 1958.33it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 19%|█▉ | 1536/8192 [00:00<00:03, 2022.41it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 22%|██▏ | 1792/8192 [00:00<00:03, 2031.55it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 25%|██▌ | 2048/8192 [00:01<00:02, 2065.96it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 28%|██▊ | 2304/8192 [00:01<00:02, 2077.82it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 31%|███▏ | 2560/8192 [00:01<00:02, 2073.09it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 34%|███▍ | 2816/8192 [00:01<00:02, 2069.36it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 38%|███▊ | 3072/8192 [00:01<00:02, 2073.37it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 41%|████ | 3328/8192 [00:01<00:02, 2147.68it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 44%|████▍ | 3584/8192 [00:01<00:02, 2121.53it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 47%|████▋ | 3840/8192 [00:01<00:02, 2104.37it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 50%|█████ | 4096/8192 [00:02<00:01, 2070.49it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 53%|█████▎ | 4352/8192 [00:02<00:02, 1891.75it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 56%|█████▋ | 4608/8192 [00:02<00:01, 1936.97it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 59%|█████▉ | 4864/8192 [00:02<00:01, 1925.88it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 62%|██████▎ | 5120/8192 [00:02<00:01, 1966.50it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 66%|██████▌ | 5376/8192 [00:02<00:01, 1794.42it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 69%|██████▉ | 5632/8192 [00:02<00:01, 1892.18it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 72%|███████▏ | 5888/8192 [00:03<00:01, 1954.71it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 75%|███████▌ | 6144/8192 [00:03<00:01, 1990.22it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 78%|███████▊ | 6400/8192 [00:03<00:01, 1723.94it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 81%|████████▏ | 6656/8192 [00:03<00:00, 1812.45it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 84%|████████▍ | 6912/8192 [00:03<00:00, 1881.53it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 88%|████████▊ | 7168/8192 [00:03<00:00, 1920.00it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 91%|█████████ | 7424/8192 [00:03<00:00, 1661.92it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 94%|█████████▍| 7680/8192 [00:04<00:00, 1726.38it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 97%|█████████▋| 7936/8192 [00:04<00:00, 1822.77it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 100%|██████████| 8192/8192 [00:04<00:00, 1900.45it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\r",
"Feature influence computation: 100%|██████████| 8192/8192 [00:04<00:00, 1913.67it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\n",
"Feature attributions completed in 4.30s\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Attribution completed in 10.14s\n"
]
},
{
"data": {
"text/html": [
"\n",
" \n",
"
| # | Node | Sign | |Score| |
|---|
| 1 | (25, 19, 16131) | − | 2.11e-08 |
| 2 | (24, 19, 13277) | − | 1.97e-08 |
| 3 | (24, 19, 5999) | + | 1.08e-08 |
| 4 | (24, 19, 3865) | + | 5.31e-09 |
| 5 | (25, 19, 13210) | + | 5.17e-09 |
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"\n",
" \n",
"
Feature-mediated steering — target gap
\n",
"
\n",
" \n",
" \n",
" | Token | \n",
" Pre prob | \n",
" Post prob | \n",
" Pre logit | \n",
" Post logit | \n",
" Δ | \n",
"
\n",
" \n",
" \n",
" | Fruit | 2.317% | 1.868% | 25.1250 | 29.3750 | +4.2500 |
\n",
"| Color | 15.106% | 1.03e-05 | 27.0000 | 21.8750 | -5.1250 |
\n",
"| Gap (Fruit − Color) | | | -1.8750 | +7.5000 | +9.3750 |
\n",
"\n",
" \n",
"
\n",
"
\n",
" "
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# @title 2: Feature-mediated steering { display-mode: \"form\" }\n",
"from interpretune.analysis.ops.base import AnalysisBatch\n",
"from interpretune.config import AnalysisCfg, init_analysis_cfgs\n",
"\n",
"module.analysis_cfg = AnalysisCfg(target_op=it.compute_attribution_graph, ignore_manual=True, save_tokens=False)\n",
"init_analysis_cfgs(module, [module.analysis_cfg])\n",
"\n",
"fruits = [\"apple\", \"banana\", \"grape\", \"peach\"]\n",
"colors = [\"red\", \"blue\", \"green\", \"yellow\"]\n",
"if CHAT_FORMAT_PROMPT:\n",
" # instruction-tuned replacement models assert chat-formatted inputs\n",
" from it_examples.example_prompt_configs import GemmaPromptConfig\n",
"\n",
" prompt = GemmaPromptConfig().apply_chat_template_fn(\n",
" tokenizer, CONCEPT_PROMPT, tokenize=False, add_generation_prompt=True\n",
" )\n",
"else:\n",
" prompt = CONCEPT_PROMPT\n",
"\n",
"# sign-aware, influence-normalized scaling (the validated s5_any lineage)\n",
"ct_cfg = module.it_cfg.circuit_tracer_cfg\n",
"ct_cfg.intervention_sign_aware_scale = True\n",
"ct_cfg.intervention_max_influence_norm_scale = True\n",
"ct_cfg.intervention_value_source = \"top_feature_activation_values\"\n",
"\n",
"selection_spec = FeatureSelectionSpec(\n",
" layer_slice=slice(FEATURE_SELECTION_MIN_LAYER, None),\n",
" score_source=\"signed_influence\",\n",
" score_sign=FEATURE_SELECTION_SCORE_SIGN,\n",
" rank_by_abs=True,\n",
")\n",
"pipeline_results = it.intervention_from_concept(\n",
" module,\n",
" AnalysisBatch(\n",
" concept_group_a=fruits,\n",
" concept_group_b=colors,\n",
" concept_label=\"Concept: Fruit - Color\",\n",
" concept_direction_mode=\"paired_rejection\",\n",
" prompts=[prompt],\n",
" ),\n",
" None,\n",
" 0,\n",
" top_n=FEATURE_SELECTION_TOP_N,\n",
" intervention_scale_factor=INTERVENTION_SCALE_FACTOR,\n",
" feature_selection=selection_spec,\n",
")\n",
"# one call renders the linked/signed features table + the consolidated target-gap table and\n",
"# returns everything later phases need (features, direction, target ids, gaps)\n",
"DASHBOARD_BASE_URL = \"https://www.neuronpedia.org\"\n",
"steering_base_url = DASHBOARD_BASE_URL\n",
"steering = display_steering_results(\n",
" pipeline_results,\n",
" tokenizer,\n",
" CONCEPT_TARGET_TOKENS,\n",
" neuronpedia_model=NEURONPEDIA_MODEL_ID,\n",
" neuronpedia_set=NEURONPEDIA_SOURCE_SET,\n",
" neuronpedia_base_url=steering_base_url,\n",
" min_layer=FEATURE_SELECTION_MIN_LAYER,\n",
")\n",
"steered_features = steering.steered_features\n",
"pipeline_direction = steering.direction\n",
"target_a_id, target_b_id = steering.target_ids\n",
"fm_pre_gap, fm_post_gap = steering.pre_gap, steering.post_gap\n",
"assert fm_post_gap > fm_pre_gap, \"feature-mediated steering should push the gap toward the target concept\""
]
},
{
"cell_type": "markdown",
"id": "8763a12b2bbd4a93a75aff182afb95dc",
"metadata": {
"papermill": {
"duration": 0.014611,
"end_time": "2026-07-31T21:40:44.252912+00:00",
"exception": false,
"start_time": "2026-07-31T21:40:44.238301+00:00",
"status": "completed"
},
"tags": []
},
"source": [
"## 3. Feature semantics: the top-features table\n",
"\n",
"The steered features render as a table with the `(layer, pos, feature)` node tuple linked to its\n",
"dashboard, the **signed** influence score (Sign / |Score| columns — the `signed_influence`\n",
"selection can steer with negative-signed features, so the sign is colour-coded), and a best-effort\n",
"**Explanation** column resolved from the public Neuronpedia feature API.\n"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "7623eae2785240b9bd12b16a66d81610",
"metadata": {
"execution": {
"iopub.execute_input": "2026-07-31T21:40:44.271798Z",
"iopub.status.busy": "2026-07-31T21:40:44.271560Z",
"iopub.status.idle": "2026-07-31T21:40:46.886015Z",
"shell.execute_reply": "2026-07-31T21:40:46.885011Z"
},
"papermill": {
"duration": 2.625718,
"end_time": "2026-07-31T21:40:46.887270+00:00",
"exception": false,
"start_time": "2026-07-31T21:40:44.261552+00:00",
"status": "completed"
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"\n",
" \n",
" | # | Node | Sign | |Score| | Explanation |
|---|
| 1 | (25, 19, 16131) | − | 2.11e-08 | the comparison of two varieties of fruit, relating to size, taste, color, and genetic information |
| 2 | (24, 19, 13277) | − | 1.97e-08 | words related to questions and requests |
| 3 | (24, 19, 5999) | + | 1.08e-08 | language related to institutions, negative situations, the internet, and programming languages |
| 4 | (24, 19, 3865) | + | 5.31e-09 | dollar signs and other currency symbols, potentially alongside numbers or related terms like "terms" and "bonus". |
| 5 | (25, 19, 13210) | + | 5.17e-09 | grammatical structures and parts of speech like noun phrases and verb phrases |
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# @title 3: Top-features table { display-mode: \"form\" }\n",
"# top_feature_ids are (layer, position, feature) tuples; dashboards/explanations are per\n",
"# (layer, feature), so collapse positions while preserving selection order\n",
"steered_layer_feature_pairs = list(dict.fromkeys((f[0], f[-1]) for f in steered_features))\n",
"\n",
"# Best-effort explanation text from the public neuronpedia.org feature API; unmapped features\n",
"# simply render an empty Explanation cell\n",
"feature_explanations = resolve_feature_explanations(\n",
" model_id=NEURONPEDIA_MODEL_ID,\n",
" source_set=NEURONPEDIA_SOURCE_SET,\n",
" feature_tuples=steered_layer_feature_pairs,\n",
" base_url=DASHBOARD_BASE_URL,\n",
")\n",
"\n",
"display_top_features_comparison(\n",
" {\"Steered Features (signed influence)\": steered_features},\n",
" {\"Steered Features (signed influence)\": pipeline_results.top_feature_scores.tolist()},\n",
" neuronpedia_model=NEURONPEDIA_MODEL_ID,\n",
" neuronpedia_set=NEURONPEDIA_SOURCE_SET,\n",
" neuronpedia_base_url=DASHBOARD_BASE_URL,\n",
" show_score_sign=True,\n",
" feature_explanations=feature_explanations,\n",
")"
]
},
{
"cell_type": "markdown",
"id": "7cdc8c89c7104fffa095e18ddfef8986",
"metadata": {
"papermill": {
"duration": 0.014672,
"end_time": "2026-07-31T21:40:46.911018+00:00",
"exception": false,
"start_time": "2026-07-31T21:40:46.896346+00:00",
"status": "completed"
},
"tags": []
},
"source": [
"## 4. Direct-hook path: concept direction -> hook-tensor steering\n",
"\n",
"Recomputes the embed-basis concept direction for the same concept pair (a consistency check against\n",
"the step 2 pipeline's direction — cosine should be ~1.0 since both derive from the same\n",
"embedding-basis `paired_rejection`) and applies `it.model_fwd_intervention(...)` at\n",
"`EMBED_INTERVENTION_HOOK` in `EMBED_INTERVENTION_MODE` mode, comparing\n",
"`pre/post_intervention_logits` and the target-token gap against the feature-mediated result. The\n",
"same direction steered through selected transcoder features vs added directly at the hook point\n",
"produces different effect sizes — the feature-mediated path is typically stronger per unit scale.\n"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "b118ea5561624da68c537baed56e602f",
"metadata": {
"execution": {
"iopub.execute_input": "2026-07-31T21:40:46.929996Z",
"iopub.status.busy": "2026-07-31T21:40:46.929764Z",
"iopub.status.idle": "2026-07-31T21:40:47.473740Z",
"shell.execute_reply": "2026-07-31T21:40:47.472465Z"
},
"papermill": {
"duration": 0.554784,
"end_time": "2026-07-31T21:40:47.474512+00:00",
"exception": false,
"start_time": "2026-07-31T21:40:46.919728+00:00",
"status": "completed"
},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"pipeline-vs-direct direction cosine: +1.0000 (~1.0 expected — same embed-basis construction)\n"
]
},
{
"data": {
"text/html": [
"\n",
" \n",
"
Direct-hook steering — target gap
\n",
"
\n",
" \n",
" \n",
" | Token | \n",
" Pre prob | \n",
" Post prob | \n",
" Pre logit | \n",
" Post logit | \n",
" Δ | \n",
"
\n",
" \n",
" \n",
" | Fruit | 2.317% | 2.036% | 25.1250 | 27.8750 | +2.7500 |
\n",
"| Color | 15.106% | 1.797% | 27.0000 | 27.7500 | +0.7500 |
\n",
"| Gap (Fruit − Color) | | | -1.8750 | +0.1250 | +2.0000 |
\n",
"\n",
" \n",
"
\n",
"
\n",
" "
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"feature-mediated delta +9.375 vs direct-hook delta +2.000\n"
]
}
],
"source": [
"# @title 4: Direct-hook steering { display-mode: \"form\" }\n",
"# Recompute the embed-basis concept direction for the same concept pair (no store rows -> embed basis)\n",
"direct_result = it.concept_direction(\n",
" module,\n",
" AnalysisBatch(\n",
" concept_group_a=fruits,\n",
" concept_group_b=colors,\n",
" concept_label=\"Concept: Fruit - Color (direct)\",\n",
" concept_direction_mode=\"paired_rejection\",\n",
" ),\n",
" None,\n",
" 0,\n",
")\n",
"direct_direction = direct_result.concept_direction.detach()\n",
"cosine = torch.nn.functional.cosine_similarity(\n",
" pipeline_direction, direct_direction.float().cpu().reshape(-1), dim=0\n",
").item()\n",
"print(f\"pipeline-vs-direct direction cosine: {cosine:+.4f} (~1.0 expected — same embed-basis construction)\")\n",
"\n",
"# Direct hook-tensor intervention at the canonical hook point\n",
"module.analysis_cfg = AnalysisCfg(target_op=it.model_fwd_intervention, ignore_manual=True, save_tokens=False)\n",
"init_analysis_cfgs(module, [module.analysis_cfg])\n",
"\n",
"# chat-rendered prompts already carry their special tokens; plain completion prompts need them added\n",
"enc = tokenizer(prompt, return_tensors=\"pt\", padding=False, add_special_tokens=not CHAT_FORMAT_PROMPT)\n",
"device = next(module.model.parameters()).device\n",
"if BACKEND == \"transformerlens\":\n",
" # HookedTransformer.forward takes `input`, not the HF-style `input_ids`/`attention_mask` keys\n",
" batch = {\"input\": enc[\"input_ids\"].to(device)}\n",
"else:\n",
" batch = {k: (v.to(device) if isinstance(v, torch.Tensor) else v) for k, v in dict(enc).items()}\n",
"\n",
"# legacy HookedTransformer models (the CT TransformerLens backend) expose no `unembed.hook_in`;\n",
"# their pre-unembed equivalent is `ln_final.hook_normalized` (alias-map expansion tracked in\n",
"# interpretune#223)\n",
"intervention_hook = EMBED_INTERVENTION_HOOK\n",
"if BACKEND == \"transformerlens\" and EMBED_INTERVENTION_HOOK == \"unembed.hook_in\":\n",
" intervention_hook = \"ln_final.hook_normalized\"\n",
"\n",
"direct_batch = AnalysisBatch(\n",
" prompts=[prompt],\n",
" concept_direction=direct_direction,\n",
" logit_target_ids=torch.tensor([target_a_id], dtype=torch.long),\n",
" concept_group_a_token_ids=[target_a_id],\n",
" concept_group_b_token_ids=[target_b_id],\n",
" concept_cache_key=intervention_hook,\n",
" intervention_hook_pattern=intervention_hook,\n",
" intervention_mode=EMBED_INTERVENTION_MODE,\n",
" direction_scale_factor=INTERVENTION_SCALE_FACTOR,\n",
")\n",
"direct_out = it.model_fwd_intervention(module, direct_batch, batch, 0)\n",
"\n",
"direct_pre_gap, direct_post_gap = display_target_gap(\n",
" direct_out.pre_intervention_logits.float().cpu().reshape(-1),\n",
" direct_out.post_intervention_logits.float().cpu().reshape(-1),\n",
" (CONCEPT_TARGET_TOKENS[0], target_a_id),\n",
" (CONCEPT_TARGET_TOKENS[1], target_b_id),\n",
" title=\"Direct-hook steering — target gap\",\n",
")\n",
"print(\n",
" f\"feature-mediated delta {fm_post_gap - fm_pre_gap:+.3f} vs direct-hook delta \"\n",
" f\"{direct_post_gap - direct_pre_gap:+.3f}\"\n",
")\n",
"assert direct_post_gap > direct_pre_gap, \"direct-hook steering should push the gap toward the target concept\""
]
},
{
"cell_type": "markdown",
"id": "938c804e27f84196a10c8828c723f798",
"metadata": {
"papermill": {
"duration": 0.009852,
"end_time": "2026-07-31T21:40:47.495207+00:00",
"exception": false,
"start_time": "2026-07-31T21:40:47.485355+00:00",
"status": "completed"
},
"tags": []
},
"source": [
"## 5. Input/output decoupling analysis (graph hydration + UMAP)\n",
"\n",
"Attribution-selected steering features are chosen for their *output* effect (decoder projection\n",
"onto the target logit difference), while dashboard explanations describe their *input* behavior\n",
"(the contexts they fire on) — the two can decouple sharply. A recurring special case is the\n",
"**suppressor-motif exemplar**: a feature that *fires on concept contexts yet projects against the\n",
"concept token* (redundancy suppression under next-token training) — causally ideal for sign-aware\n",
"steering, semantically confusing on its dashboard. This step demonstrates those mechanics\n",
"directly, and in doing so demos the framework's **graph hydration** capability\n",
"(`analysis_backend.hydrate_graph_from_batch`) for detailed post-hoc analysis of a persisted\n",
"attribution result:\n",
"\n",
"1. hydrate the step-2 attribution graph; highlight the prompt's concept-token positions;\n",
"2. compute each analyzed feature's **input profile** (activation mass at concept positions) and\n",
" **output profile** (signed decoder projection onto the unit target-token unembed difference)\n",
" via the shared `feature_io_profiles` helper;\n",
"3. render the decoupling table (signature column flags `decoupled` and `suppressor-motif` rows);\n",
"4. project decoder vectors to 2D (UMAP, PCA fallback — tooling shared with the latent-dynamics\n",
" notebooks) with hover details per analyzed feature. Axis tick numbers are intentionally hidden:\n",
" UMAP coordinates are non-metric (arbitrary rotation/scale; only local neighborhood structure is\n",
" meaningful).\n",
"\n",
"Expect roughly 1 of the 5 attribution picks to be input-aligned — a fruit-context feature that is\n",
"also a suppressor-motif exemplar (historically L25/16131, with all-`Fruit` negative logits) — and\n",
"the rest to be decoupled output machinery.\n"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "504fb2a444614c0babb325280ed9130a",
"metadata": {
"execution": {
"iopub.execute_input": "2026-07-31T21:40:47.515818Z",
"iopub.status.busy": "2026-07-31T21:40:47.515576Z",
"iopub.status.idle": "2026-07-31T21:41:04.161794Z",
"shell.execute_reply": "2026-07-31T21:41:04.160839Z"
},
"papermill": {
"duration": 16.658238,
"end_time": "2026-07-31T21:41:04.162986+00:00",
"exception": false,
"start_time": "2026-07-31T21:40:47.504748+00:00",
"status": "completed"
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"Prompt tokens — concept positions highlighted
<bos>Is orange a color or a fruit? Answer with one word: Color or Fruit. orange ->
concept-token positions: [2, 4, 7, 14, 16, 18]
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"\n",
" \n",
"
Feature input/output decoupling
\n",
"
\n",
" \n",
" | Feature | \n",
" Input concept share | \n",
" Act mass | \n",
" Output proj (Fruit-Color) | \n",
" Signature | \n",
" Explanation | \n",
"
\n",
" | L25/16131 | 0.481 | 346.72 | -0.2961 | suppressor-motif | the comparison of two varieties of fruit, relating to size, taste, color, and ge |
\n",
"| L24/3865 | 0.097 | 191.47 | +0.0264 | | dollar signs and other currency symbols, potentially alongside numbers or relate |
\n",
"| L25/13210 | 0.000 | 33.75 | +0.0227 | | grammatical structures and parts of speech like noun phrases and verb phrases |
\n",
"| L24/5999 | 0.347 | 923.50 | +0.0121 | | language related to institutions, negative situations, the internet, and program |
\n",
"| L24/13277 | 0.186 | 1297.00 | +0.0061 | | words related to questions and requests |
\n",
"\n",
"
\n",
"
decoupled = large |output proj| with ~zero input concept share;\n",
" suppressor-motif = fires on concept contexts yet projects against the concept token.
\n",
"
\n",
" "
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/mnt/cache/speediedan/.venvs/it_latest/lib/python3.13/site-packages/umap/umap_.py:1952: UserWarning: n_jobs value 1 overridden to 1 by setting random_state. Use no seed for parallelism.\n",
" warn(\n"
]
},
{
"data": {
"text/html": [
""
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# @title 5: Decoupling analysis via hydrated graph + UMAP { display-mode: \"form\" }\n",
"import numpy as np\n",
"\n",
"from interpretune.analysis.backends import require_analysis_backend\n",
"from it_examples.utils.example_helpers import concept_token_positions, feature_io_profiles\n",
"from it_examples.utils.nb_ui_utils import (\n",
" display_concept_positions,\n",
" display_feature_decoupling_table,\n",
" plot_decoder_projection_map,\n",
")\n",
"\n",
"analysis_backend = require_analysis_backend(module)\n",
"graph = analysis_backend.hydrate_graph_from_batch(pipeline_results)\n",
"\n",
"# concept-token positions derived from the demo's own concept groups + probe/target tokens\n",
"concept_words = {w.lower() for w in (*fruits, *colors, *CONCEPT_TARGET_TOKENS, \"orange\")}\n",
"prompt_token_ids = [int(t) for t in graph.input_tokens]\n",
"concept_positions = concept_token_positions(tokenizer, prompt_token_ids, sorted(concept_words))\n",
"display_concept_positions(tokenizer, prompt_token_ids, concept_positions)\n",
"\n",
"embed_weight = analysis_backend.get_embedding_weight(module).detach().float().cpu()\n",
"target_diff = embed_weight[target_a_id] - embed_weight[target_b_id]\n",
"target_diff = target_diff / target_diff.norm()\n",
"target_label = f\"{CONCEPT_TARGET_TOKENS[0]}-{CONCEPT_TARGET_TOKENS[1]}\"\n",
"\n",
"analyzed_pairs = list(dict.fromkeys((int(f[0]), int(f[-1])) for f in steered_features))\n",
"all_explanations = dict(feature_explanations)\n",
"\n",
"transcoder_set = getattr(module.replacement_model.transcoders, \"_module\", module.replacement_model.transcoders)\n",
"profiles = feature_io_profiles(graph, analyzed_pairs, target_diff, transcoder_set, concept_positions)\n",
"display_feature_decoupling_table(profiles, all_explanations, target_label=target_label)\n",
"\n",
"# decoder vectors for the interactive projection map (analyzed + random active-feature background)\n",
"rng = np.random.default_rng(17)\n",
"active_rows = graph.active_features.cpu()\n",
"background_pool = sorted({(int(r[0]), int(r[2])) for r in active_rows} - set(analyzed_pairs))\n",
"background_idx = rng.choice(len(background_pool), size=min(300, len(background_pool)), replace=False)\n",
"background_pairs = [background_pool[i] for i in background_idx]\n",
"\n",
"\n",
"def _decoder_rows(pairs):\n",
" return torch.stack(\n",
" [transcoder_set._get_decoder_vectors(lyr, torch.tensor([ft]))[0].detach().float().cpu() for lyr, ft in pairs]\n",
" )\n",
"\n",
"\n",
"plot_decoder_projection_map(\n",
" profiles,\n",
" _decoder_rows(analyzed_pairs),\n",
" _decoder_rows(background_pairs),\n",
" feature_explanations=all_explanations,\n",
" target_label=target_label,\n",
" title=\"Steering-feature decoder map\",\n",
")"
]
},
{
"cell_type": "markdown",
"id": "59bbdb311c014d738909a11f9e486628",
"metadata": {
"papermill": {
"duration": 0.010708,
"end_time": "2026-07-31T21:41:04.184711+00:00",
"exception": false,
"start_time": "2026-07-31T21:41:04.174003+00:00",
"status": "completed"
},
"tags": []
},
"source": [
"## Summary\n",
"\n",
"- Feature-mediated and direct-hook steering paths on one proven example, one backend per run —\n",
" both driven by the same embed-basis concept direction (store-basis directions are a\n",
" `tests/nb_experiments` research thread, see `EXPERIMENT_STATUS.md`).\n",
"- Semantic grounding via public neuronpedia.org feature dashboards and explanations.\n",
"- Input/output decoupling mechanics demonstrated via graph hydration + decoder-space UMAP,\n",
" doubling as a demo of persisted-graph post-hoc analysis.\n",
"- Local Neuronpedia dashboards, locally generated explanations, and user-curated feature steering:\n",
" [`ct_concept_steering_demo_local_np.ipynb`](ct_concept_steering_demo_local_np.ipynb).\n",
"- Deeper coverage of the underlying op pipeline (per-op invocation, native + hub composition):\n",
" see `ct_analysis_backend_demo.ipynb`. Capability map:\n",
" `tests/nb_experiments/intervention_capabilities_overview.md`.\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "it_latest (3.13.11.final.0)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.11"
},
"papermill": {
"default_parameters": {},
"duration": 81.268797,
"end_time": "2026-07-31T21:41:07.592304+00:00",
"environment_variables": {},
"exception": null,
"input_path": "/home/speediedan/repos/interpretune/src/it_examples/notebooks/publish/circuit_tracer_examples/ct_concept_steering_demo.ipynb",
"output_path": "/home/speediedan/repos/interpretune/docs/notebook_artifacts/circuit_tracer_examples/ct_concept_steering_demo.ipynb",
"parameters": {},
"start_time": "2026-07-31T21:39:46.323507+00:00",
"version": "2.7.0"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {
"01fa969e0e9f40b2a1d49431faa6aba4": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"0309a7f46b9a4e34938b78e26f2ec115": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_6962e30f842a41cc9d01642615a7ad6a",
"max": 3000.0,
"min": 0.0,
"orientation": "horizontal",
"style": "IPY_MODEL_b4afc403a46c43c1ade8fa993259fab5",
"tabbable": null,
"tooltip": null,
"value": 3000.0
}
},
"03f611fd44fe482ea737f548ffa6e39b": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_64d5b2e7a61c4990bb29086f2d238e19",
"max": 26.0,
"min": 0.0,
"orientation": "horizontal",
"style": "IPY_MODEL_be6583d357814c03a32352ddafe05fba",
"tabbable": null,
"tooltip": null,
"value": 26.0
}
},
"08d036f6570f4442be43fa6e02507eeb": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_f9ca4aa4de7e4036a95e2585926c6eda",
"placeholder": "",
"style": "IPY_MODEL_a02748114fdf406baff889fb7137e436",
"tabbable": null,
"tooltip": null,
"value": "Download complete: "
}
},
"0d5fdb3e460e4c6e8f02f7d662d58db7": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"0fe88d42680d4ba1bf53d80ed746922e": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_80bac9f20f3847c4b8e219a725016601",
"max": 3000.0,
"min": 0.0,
"orientation": "horizontal",
"style": "IPY_MODEL_fa5c425cc645480496636c2948685456",
"tabbable": null,
"tooltip": null,
"value": 3000.0
}
},
"1738f2c5d2d8414192022b568bf1eefa": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"1adc55b004bc44faae71f1e51a4af705": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"1b5d3bb05f144c55922c37e7961abcc0": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"1e9ef61db94d47d8b1da5ab75c5af151": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_fab87a212fe34cb298125d11572a7c39",
"placeholder": "",
"style": "IPY_MODEL_24f92271b7bd45628fe61c4422c74f2b",
"tabbable": null,
"tooltip": null,
"value": " 0.00/0.00 [00:00<?, ?B/s]"
}
},
"2099c3ae089f45f6991daf2f6dfe7e72": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_a5067f0907df4d77b2d3b0bc7da39b23",
"max": 288.0,
"min": 0.0,
"orientation": "horizontal",
"style": "IPY_MODEL_8b7f881d226240d7a13794eb55ea35ce",
"tabbable": null,
"tooltip": null,
"value": 288.0
}
},
"225dc7d163224c0c9c2907cd9591929a": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"24f92271b7bd45628fe61c4422c74f2b": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"31c28479606b490cbc4bbed36c334787": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_993b99ef33af4c6085ae091567a2d7a9",
"placeholder": "",
"style": "IPY_MODEL_950c5bb43e0c4c7ea132bdcdec1336c8",
"tabbable": null,
"tooltip": null,
"value": "Map: 100%"
}
},
"32bb0017fd324d9f88082718c7690910": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"3b0d26f02f95447c8f29e2f7c584be43": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_74f54ebd61f24f4da0abbb903fcbcca6",
"IPY_MODEL_2099c3ae089f45f6991daf2f6dfe7e72",
"IPY_MODEL_4c8cac0dbac2456ba1c3aa4f60355fe5"
],
"layout": "IPY_MODEL_1738f2c5d2d8414192022b568bf1eefa",
"tabbable": null,
"tooltip": null
}
},
"3c8614bd099941e59a1936c91651fc36": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"3d1dc33640d146aba01dd63819b727b3": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"44643a020ce841cf98174a9487ae4163": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"4be033b91f1e4d47a9dc33cb2ce51576": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"4c8cac0dbac2456ba1c3aa4f60355fe5": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_b5a9ca2b49884e0b8046c162427c867a",
"placeholder": "",
"style": "IPY_MODEL_ad920f6751ed42a7a6f2212c762b28c3",
"tabbable": null,
"tooltip": null,
"value": " 288/288 [00:03<00:00, 90.92it/s]"
}
},
"4ce4819c82af43fb9388eedce704e567": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"4ff9c27304204268a5359ca9b3951bfd": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_bd3074a544914c929b41c5ba231ddd29",
"placeholder": "",
"style": "IPY_MODEL_f592493a4a8d4234be1ce70462cb0489",
"tabbable": null,
"tooltip": null,
"value": "Map: 100%"
}
},
"53336f8bd2f44375bf430ef6f43e9979": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"5b9c14147c8f4730aa77b8127ef2e58f": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"5cc40b80e7ad4078ac70a8733214f481": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"61547efa5e5649a19cca4dd49479fb9c": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"61b3a768a2124ec484188f4916b04e10": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_eacb18aaedc043e0a9153ba64cc02cdb",
"placeholder": "",
"style": "IPY_MODEL_5cc40b80e7ad4078ac70a8733214f481",
"tabbable": null,
"tooltip": null,
"value": "Saving the dataset (1/1 shards): 100%"
}
},
"64d5b2e7a61c4990bb29086f2d238e19": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"662c9b91be104b51b0774d5a64e55fce": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"6962e30f842a41cc9d01642615a7ad6a": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"6b0e2d40f74a4eb390cb5f4e163423af": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"6da78d7ef96b48a3bdbd6c7be274f28f": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_31c28479606b490cbc4bbed36c334787",
"IPY_MODEL_aca3e1e2fc3b48118c4155df4fd6a223",
"IPY_MODEL_c07cf87f8200459c90ccc25c22e23bdf"
],
"layout": "IPY_MODEL_b595b2437cb341ccbd9cb865fe2a443d",
"tabbable": null,
"tooltip": null
}
},
"6e7c666e817a47f0bc847ce630b698d7": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_8a586b76f262484589f19d076ec59daa",
"IPY_MODEL_b7db235f270e403287d74a1b71b01314",
"IPY_MODEL_bde65f2b1f3d4a389af7d184dfa581be"
],
"layout": "IPY_MODEL_cfc5843be03148b69c8e9c8f05436799",
"tabbable": null,
"tooltip": null
}
},
"6e7cce1291974a78b2c24ad93785f66d": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"6f8928ac23504eaa8d5706055cc97297": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_4ff9c27304204268a5359ca9b3951bfd",
"IPY_MODEL_0309a7f46b9a4e34938b78e26f2ec115",
"IPY_MODEL_c2ffe096dcc84e1fabad848b6d814191"
],
"layout": "IPY_MODEL_5b9c14147c8f4730aa77b8127ef2e58f",
"tabbable": null,
"tooltip": null
}
},
"74c2ba3d444f4f7e85550683de38a806": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"74f54ebd61f24f4da0abbb903fcbcca6": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_9dba805ddf4a4307a62f7726c01ddec1",
"placeholder": "",
"style": "IPY_MODEL_6e7cce1291974a78b2c24ad93785f66d",
"tabbable": null,
"tooltip": null,
"value": "Loading weights: 100%"
}
},
"77577817fb3a45a2af93337f8e5e0ba9": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_8048d21d64784241b3439fcfd4f30232",
"placeholder": "",
"style": "IPY_MODEL_98ef6bfe914048d99fe1001c65af786a",
"tabbable": null,
"tooltip": null,
"value": " 3000/3000 [00:00<00:00, 196123.82 examples/s]"
}
},
"7797703cc8d64b79bc92da3cb2c37b40": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_225dc7d163224c0c9c2907cd9591929a",
"placeholder": "",
"style": "IPY_MODEL_6b0e2d40f74a4eb390cb5f4e163423af",
"tabbable": null,
"tooltip": null,
"value": "Map: 100%"
}
},
"799c4fa2b3c6477791f572e38f8dbc74": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"7a541c70a9cc4ace99d7526bb6c5617f": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"7aea508ffe3343848469f8c7e5187dff": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_08d036f6570f4442be43fa6e02507eeb",
"IPY_MODEL_8abb60dabc1e41b083c11ccb933719b5",
"IPY_MODEL_1e9ef61db94d47d8b1da5ab75c5af151"
],
"layout": "IPY_MODEL_d42f708b001543e38d6ab8ee3036dcf5",
"tabbable": null,
"tooltip": null
}
},
"7f7e042f5f4c453ea5eb31c7c9341ab1": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_4be033b91f1e4d47a9dc33cb2ce51576",
"max": 2490.0,
"min": 0.0,
"orientation": "horizontal",
"style": "IPY_MODEL_d3300c52b44d4e5586dd57b40e749eb4",
"tabbable": null,
"tooltip": null,
"value": 2490.0
}
},
"8048d21d64784241b3439fcfd4f30232": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"80bac9f20f3847c4b8e219a725016601": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"87b8ac3cc8514349ad2bca98eac78a46": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": "20px"
}
},
"87ba382a8dfe4d7384fd8bf364f3e3e3": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_7a541c70a9cc4ace99d7526bb6c5617f",
"placeholder": "",
"style": "IPY_MODEL_3c8614bd099941e59a1936c91651fc36",
"tabbable": null,
"tooltip": null,
"value": " 277/277 [00:00<00:00, 5451.72 examples/s]"
}
},
"8a586b76f262484589f19d076ec59daa": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_8ba738c075ee4907b10a17891b9286ed",
"placeholder": "",
"style": "IPY_MODEL_53336f8bd2f44375bf430ef6f43e9979",
"tabbable": null,
"tooltip": null,
"value": "Saving the dataset (1/1 shards): 100%"
}
},
"8abb60dabc1e41b083c11ccb933719b5": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_87b8ac3cc8514349ad2bca98eac78a46",
"max": 1.0,
"min": 0.0,
"orientation": "horizontal",
"style": "IPY_MODEL_3d1dc33640d146aba01dd63819b727b3",
"tabbable": null,
"tooltip": null,
"value": 0.0
}
},
"8b7f881d226240d7a13794eb55ea35ce": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"8ba738c075ee4907b10a17891b9286ed": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"8d2c697521d74aee9d043e32fd05bf10": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_4ce4819c82af43fb9388eedce704e567",
"max": 277.0,
"min": 0.0,
"orientation": "horizontal",
"style": "IPY_MODEL_0d5fdb3e460e4c6e8f02f7d662d58db7",
"tabbable": null,
"tooltip": null,
"value": 277.0
}
},
"904e3e2454cb47b4afea70577f911f52": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"950c5bb43e0c4c7ea132bdcdec1336c8": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"98ef6bfe914048d99fe1001c65af786a": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"993b99ef33af4c6085ae091567a2d7a9": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"9be10aaa5f3c4b48aaf0eff3cb4e12aa": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_61b3a768a2124ec484188f4916b04e10",
"IPY_MODEL_0fe88d42680d4ba1bf53d80ed746922e",
"IPY_MODEL_77577817fb3a45a2af93337f8e5e0ba9"
],
"layout": "IPY_MODEL_e1548dcf76eb4bcb82a198f2fb142dae",
"tabbable": null,
"tooltip": null
}
},
"9dba805ddf4a4307a62f7726c01ddec1": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"a02748114fdf406baff889fb7137e436": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"a1332c2e828140a1895e436abcc9a9f9": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"a5067f0907df4d77b2d3b0bc7da39b23": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"a5cb44fb1b3f49848b2ff5469629d058": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_32bb0017fd324d9f88082718c7690910",
"placeholder": "",
"style": "IPY_MODEL_ae036f619fd9487dae1e8801c8c2c8c1",
"tabbable": null,
"tooltip": null,
"value": "Fetching 26 files: 100%"
}
},
"aca3e1e2fc3b48118c4155df4fd6a223": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_662c9b91be104b51b0774d5a64e55fce",
"max": 2490.0,
"min": 0.0,
"orientation": "horizontal",
"style": "IPY_MODEL_d4481f6d5a1748ae8dc2633c00702180",
"tabbable": null,
"tooltip": null,
"value": 2490.0
}
},
"ad920f6751ed42a7a6f2212c762b28c3": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"ae036f619fd9487dae1e8801c8c2c8c1": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"ae3fb06806da42eb8c9058f36504a3a9": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_61547efa5e5649a19cca4dd49479fb9c",
"placeholder": "",
"style": "IPY_MODEL_e211092a0b4342468e4c33040e90fb7a",
"tabbable": null,
"tooltip": null,
"value": "Saving the dataset (1/1 shards): 100%"
}
},
"b4afc403a46c43c1ade8fa993259fab5": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"b595b2437cb341ccbd9cb865fe2a443d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"b5a9ca2b49884e0b8046c162427c867a": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"b7407b605105414db2d0dc302f7e4d7d": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"b7db235f270e403287d74a1b71b01314": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_cd0a43f55ff84f1da2ef888d051a81b8",
"max": 277.0,
"min": 0.0,
"orientation": "horizontal",
"style": "IPY_MODEL_d43c29ec560d4331a20267961fca65fc",
"tabbable": null,
"tooltip": null,
"value": 277.0
}
},
"bd3074a544914c929b41c5ba231ddd29": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"bde22ff2f34e410fa39030bef85b396e": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_7797703cc8d64b79bc92da3cb2c37b40",
"IPY_MODEL_8d2c697521d74aee9d043e32fd05bf10",
"IPY_MODEL_87ba382a8dfe4d7384fd8bf364f3e3e3"
],
"layout": "IPY_MODEL_44643a020ce841cf98174a9487ae4163",
"tabbable": null,
"tooltip": null
}
},
"bde65f2b1f3d4a389af7d184dfa581be": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_01fa969e0e9f40b2a1d49431faa6aba4",
"placeholder": "",
"style": "IPY_MODEL_1b5d3bb05f144c55922c37e7961abcc0",
"tabbable": null,
"tooltip": null,
"value": " 277/277 [00:00<00:00, 32913.74 examples/s]"
}
},
"be6583d357814c03a32352ddafe05fba": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"bf0a841b76e54ca1b7627e6153d059d3": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"c07cf87f8200459c90ccc25c22e23bdf": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_bf0a841b76e54ca1b7627e6153d059d3",
"placeholder": "",
"style": "IPY_MODEL_a1332c2e828140a1895e436abcc9a9f9",
"tabbable": null,
"tooltip": null,
"value": " 2490/2490 [00:00<00:00, 12001.80 examples/s]"
}
},
"c2ffe096dcc84e1fabad848b6d814191": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_74c2ba3d444f4f7e85550683de38a806",
"placeholder": "",
"style": "IPY_MODEL_f08520518e504f759579c30f518db0a2",
"tabbable": null,
"tooltip": null,
"value": " 3000/3000 [00:00<00:00, 15292.74 examples/s]"
}
},
"ca934ee22e9b41ef8cdebe64c2c508c6": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"cd0a43f55ff84f1da2ef888d051a81b8": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"cfc5843be03148b69c8e9c8f05436799": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"d3300c52b44d4e5586dd57b40e749eb4": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"d42f708b001543e38d6ab8ee3036dcf5": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"d43c29ec560d4331a20267961fca65fc": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"d4481f6d5a1748ae8dc2633c00702180": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"d45c10397ed1414ca60e31c211ea05dd": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_1adc55b004bc44faae71f1e51a4af705",
"placeholder": "",
"style": "IPY_MODEL_b7407b605105414db2d0dc302f7e4d7d",
"tabbable": null,
"tooltip": null,
"value": " 26/26 [00:00<00:00, 2560.38it/s]"
}
},
"defb6b5e291749078f5c7d1f55e3b743": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_904e3e2454cb47b4afea70577f911f52",
"placeholder": "",
"style": "IPY_MODEL_ca934ee22e9b41ef8cdebe64c2c508c6",
"tabbable": null,
"tooltip": null,
"value": " 2490/2490 [00:00<00:00, 148865.63 examples/s]"
}
},
"e1548dcf76eb4bcb82a198f2fb142dae": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"e211092a0b4342468e4c33040e90fb7a": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"e2f440dec5984ce3be984cbc2c10c1c1": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_a5cb44fb1b3f49848b2ff5469629d058",
"IPY_MODEL_03f611fd44fe482ea737f548ffa6e39b",
"IPY_MODEL_d45c10397ed1414ca60e31c211ea05dd"
],
"layout": "IPY_MODEL_fd3b9e07020d4d558fc2ca60d97e000f",
"tabbable": null,
"tooltip": null
}
},
"eacb18aaedc043e0a9153ba64cc02cdb": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"f08520518e504f759579c30f518db0a2": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"f52f31394a8a4f26884a0b8289b6ff3f": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_ae3fb06806da42eb8c9058f36504a3a9",
"IPY_MODEL_7f7e042f5f4c453ea5eb31c7c9341ab1",
"IPY_MODEL_defb6b5e291749078f5c7d1f55e3b743"
],
"layout": "IPY_MODEL_799c4fa2b3c6477791f572e38f8dbc74",
"tabbable": null,
"tooltip": null
}
},
"f592493a4a8d4234be1ce70462cb0489": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"f9ca4aa4de7e4036a95e2585926c6eda": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"fa5c425cc645480496636c2948685456": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"fab87a212fe34cb298125d11572a7c39": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"fd3b9e07020d4d558fc2ca60d97e000f": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
}
},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}