debug-env / .env.example
hugsbun's picture
modified: .gitignore
a85c0f1
Raw
History Blame Contribute Delete
4.12 kB
# OpenEnv Competition Requirements
# Copy this file to .env and fill in your actual API keys and settings
# ────────────────────────────────────────────────────────────────────────────
# REQUIRED: HuggingFace Token (mandatory for inference.py)
# Get from: https://huggingface.co/settings/tokens
# ────────────────────────────────────────────────────────────────────────────
HF_TOKEN=hf_your_token_here
# API base URL β€” HuggingFace router (default) or OpenAI-compatible endpoint
# HuggingFace router (recommended for competition):
API_BASE_URL=https://router.huggingface.co/v1
# OpenAI directly (alternative β€” set HF_TOKEN=sk-your-openai-key):
# API_BASE_URL=https://api.openai.com/v1
# Model to use
# HuggingFace (recommended): Qwen/Qwen2.5-72B-Instruct
# OpenAI (alternative): gpt-4o-mini
MODEL_NAME=Qwen/Qwen2.5-72B-Instruct
# ────────────────────────────────────────────────────────────────────────────
# OPTIONAL: OpenEnv Server Configuration
# ────────────────────────────────────────────────────────────────────────────
# URL where the OpenEnv server is running
ENV_URL=http://127.0.0.1:8000
# ────────────────────────────────────────────────────────────────────────────
# OPTIONAL: Inference Script Configuration
# ────────────────────────────────────────────────────────────────────────────
# Task to evaluate on: task1 (easy), task2 (medium), task3 (hard)
TASK=task1
# Number of independent runs for Pass@k evaluation
NUMBER_OF_RUNS=3
# Maximum steps per run (default: 40, recommended: 30-50)
MAX_STEPS=40
# LLM temperature (0.0 for deterministic, higher for exploration)
TEMPERATURE=0.0
# Max tokens per LLM response
MAX_TOKENS=4096
# Delay between environment requests in milliseconds (rate limiting)
REQUEST_DELAY_MS=500
# ────────────────────────────────────────────────────────────────────────────
# OPTIONAL: Alternative LLM Providers (if not using OpenAI)
# ────────────────────────────────────────────────────────────────────────────
# For Hugging Face models, set:
# API_BASE_URL=https://api-inference.huggingface.co/openai/v1
# OPENAI_API_KEY=hf_YOUR_HF_TOKEN
# For Anthropic Claude, set LLM_PROVIDER=anthropic and provide ANTHROPIC_API_KEY
# LLM_PROVIDER=anthropic
# ANTHROPIC_API_KEY=sk-ant-...
# For Google Gemini, set LLM_PROVIDER=google and provide GOOGLE_API_KEY
# LLM_PROVIDER=google
# GOOGLE_API_KEY=AIza...
# ────────────────────────────────────────────────────────────────────────────
# Development / Debugging
# ────────────────────────────────────────────────────────────────────────────
# Log level (DEBUG, INFO, WARNING, ERROR)
LOG_LEVEL=INFO