|
| 1 | +# ============================================================================= |
| 2 | +# THETA Environment Configuration |
| 3 | +# ============================================================================= |
| 4 | +# Copy this file to .env and modify as needed. |
| 5 | +# All paths are relative to PROJECT_ROOT unless specified as absolute paths. |
| 6 | +# |
| 7 | +# Usage: |
| 8 | +# cp .env.example .env |
| 9 | +# # Edit .env with your paths |
| 10 | +# ============================================================================= |
| 11 | + |
| 12 | +# ============================================================================= |
| 13 | +# Core Directories (usually no need to change) |
| 14 | +# ============================================================================= |
| 15 | + |
| 16 | +# Project root directory (auto-detected from script location) |
| 17 | +# Uncomment and set only if you need to override auto-detection |
| 18 | +# PROJECT_ROOT=/path/to/THETA |
| 19 | + |
| 20 | +# Source directory (contains models and embedding modules) |
| 21 | +# SRC_DIR=${PROJECT_ROOT}/src |
| 22 | + |
| 23 | +# Models module directory (topic modeling algorithms) |
| 24 | +# MODELS_DIR=${SRC_DIR}/models |
| 25 | + |
| 26 | +# Embedding module directory |
| 27 | +# EMBEDDING_DIR=${SRC_DIR}/embedding |
| 28 | + |
| 29 | +# Agent module directory |
| 30 | +# AGENT_DIR=${PROJECT_ROOT}/agent |
| 31 | + |
| 32 | +# ============================================================================= |
| 33 | +# Data Directories |
| 34 | +# ============================================================================= |
| 35 | + |
| 36 | +# Workspace directory for user data |
| 37 | +# WORKSPACE_DIR=${PROJECT_ROOT}/workspace |
| 38 | + |
| 39 | +# Data directory (cleaned datasets) |
| 40 | +# DATA_DIR=${WORKSPACE_DIR}/data |
| 41 | + |
| 42 | +# Raw data directory |
| 43 | +# RAW_DATA_DIR=${DATA_DIR}/raw_data |
| 44 | + |
| 45 | +# ============================================================================= |
| 46 | +# Output Directories |
| 47 | +# ============================================================================= |
| 48 | + |
| 49 | +# Result directory (model outputs, embeddings, BOW matrices, etc.) |
| 50 | +# RESULT_DIR=${PROJECT_ROOT}/result |
| 51 | + |
| 52 | +# HuggingFace cache directory |
| 53 | +# HF_CACHE_DIR=${PROJECT_ROOT}/hf_cache |
| 54 | + |
| 55 | +# ============================================================================= |
| 56 | +# Model Directories |
| 57 | +# ============================================================================= |
| 58 | + |
| 59 | +# Base directory for embedding models |
| 60 | +# EMBEDDING_MODELS_DIR=${PROJECT_ROOT}/embedding_models |
| 61 | + |
| 62 | +# Qwen embedding model paths (by size) |
| 63 | +# QWEN_MODEL_0_6B=${EMBEDDING_MODELS_DIR}/qwen3_embedding_0.6B |
| 64 | +# QWEN_MODEL_4B=${EMBEDDING_MODELS_DIR}/qwen3_embedding_4B |
| 65 | +# QWEN_MODEL_8B=${EMBEDDING_MODELS_DIR}/qwen3_embedding_8B |
| 66 | + |
| 67 | +# SBERT model path (for baseline models like CTM) |
| 68 | +# SBERT_MODEL_PATH=${ETM_DIR}/model/baselines/sbert/sentence-transformers/all-MiniLM-L6-v2 |
| 69 | + |
| 70 | +# ============================================================================= |
| 71 | +# Agent Configuration (for LLM-based analysis) |
| 72 | +# ============================================================================= |
| 73 | + |
| 74 | +# OpenAI API configuration (for agent features) |
| 75 | +# OPENAI_API_KEY=your-api-key-here |
| 76 | +# OPENAI_API_BASE=https://api.openai.com/v1 |
| 77 | + |
| 78 | +# Agent API server configuration |
| 79 | +# API_HOST=0.0.0.0 |
| 80 | +# API_PORT=8000 |
| 81 | + |
| 82 | +# ============================================================================= |
| 83 | +# GPU Configuration |
| 84 | +# ============================================================================= |
| 85 | + |
| 86 | +# Default GPU device ID |
| 87 | +# CUDA_VISIBLE_DEVICES=0 |
| 88 | + |
| 89 | +# ============================================================================= |
| 90 | +# Logging |
| 91 | +# ============================================================================= |
| 92 | + |
| 93 | +# Log level: DEBUG, INFO, WARNING, ERROR |
| 94 | +# LOG_LEVEL=INFO |
0 commit comments