codereview-env / .env.example
Anurag137's picture
last commit
b92d20c
Raw
History Blame Contribute Delete
857 Bytes
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# CodeReview-Env Environment Variables
# Copy this file to .env and fill in your values
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# HuggingFace API token (required for LLM judge)
# Get yours at: https://huggingface.co/settings/tokens
HF_TOKEN=your_huggingface_token_here
# Server configuration
HOST=0.0.0.0
PORT=7860
ENABLE_WEB_INTERFACE=true
# Dataset configuration
HF_DATASETS_CACHE=./.cache/datasets
MAX_DIFF_LENGTH=2000
MIN_DIFF_LENGTH=50
# Reward configuration
LLM_JUDGE_MODEL=mistralai/Mistral-7B-Instruct-v0.2
LLM_JUDGE_FALLBACK_SCORE=0.20
LLM_JUDGE_TIMEOUT_SECONDS=10