| # 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 | |