File size: 1,392 Bytes
a89a7f1
 
ae347c6
 
 
a89a7f1
 
e8b71ab
a89a7f1
 
 
e8b71ab
 
 
a89a7f1
 
 
 
 
 
 
 
c607869
 
 
 
 
9edffb7
 
b279884
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copy this file to .env and fill in the values.

# Optional app-level NDIF API key for remote nnsight execution.
# If omitted, users can enter their own per-session key in the sidebar.
# Get one at https://login.ndif.us
NDIF_API_KEY=your-ndif-api-key-here

# HuggingFace cache directory for public model and dataset downloads
# Defaults to ~/.cache/huggingface if unset
# Useful when working on a cluster with a shared cache or limited home quota
HF_HOME=/path/to/your/hf/cache
# Optional: improves Hugging Face Hub rate limits for public downloads.
# The built-in datasets are public and do not require this.
# HF_TOKEN=your-token

# Root directory for all generated artifacts (activations, plots, etc.)
# Defaults to artifacts if unset
ARTIFACTS_DIR=artifacts

# Default model IDs shown in the sidebar (optional — change to override the built-in defaults)
# DEFAULT_MODEL=google/gemma-2-2b-it
# REMOTE_DEFAULT_MODEL=google/gemma-2-9b-it

# Cache sizing knobs (optional)
# Keep model cache at 1 unless you have enough RAM for multiple loaded models.
# PERSONA_UI_MODEL_CACHE_ENTRIES=1
# PERSONA_UI_STORE_CACHE_ENTRIES=4
# PERSONA_UI_VECTOR_CACHE_ENTRIES=4
# PERSONA_UI_PREPARED_CACHE_ENTRIES=8
# PERSONA_UI_FIGURE_STATE_ENTRIES=2
# PERSONA_UI_PREPARED_STATE_ENTRIES=4
# PERSONA_UI_PROBE_CACHE_ENTRIES=8
# PERSONA_UI_PROBE_SWEEP_CACHE_ENTRIES=4
# PERSONA_UI_PROBE_DERIVED_CACHE_ENTRIES=12