File size: 857 Bytes
b92d20c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# 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