# Environment variables template for Apertus Transparency Guide # Copy this file to .env and fill in your values # Hugging Face configuration HF_TOKEN=your token # Model configuration DEFAULT_MODEL_NAME=swiss-ai/apertus-7b-instruct MODEL_CACHE_DIR=./model_cache DEVICE_MAP=auto TORCH_DTYPE=float16 # Dashboard configuration STREAMLIT_SERVER_PORT=8501 STREAMLIT_SERVER_ADDRESS=localhost STREAMLIT_THEME_BASE=light # Logging configuration LOG_LEVEL=INFO LOG_FILE=./logs/apertus.log # Performance configuration MAX_MEMORY_GB=16 ENABLE_MEMORY_MAPPING=true USE_FAST_TOKENIZER=true # Analysis configuration DEFAULT_MAX_TOKENS=300 DEFAULT_TEMPERATURE=0.7 ENABLE_ATTENTION_ANALYSIS=true ENABLE_HIDDEN_STATES=true # Swiss specific configuration DEFAULT_LANGUAGE=de SUPPORTED_LANGUAGES=de,fr,it,en,rm SWISS_CONTEXT_ENABLED=true # Development configuration DEBUG_MODE=false ENABLE_PROFILING=false SAVE_ANALYSES=true ANALYSIS_OUTPUT_DIR=./analysis_outputs # GPU configuration (if available) CUDA_VISIBLE_DEVICES=0 GPU_MEMORY_FRACTION=0.9