How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "burtenshaw/openenv-echo-world-model-distilgpt2-seed1" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "burtenshaw/openenv-echo-world-model-distilgpt2-seed1",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "burtenshaw/openenv-echo-world-model-distilgpt2-seed1" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "burtenshaw/openenv-echo-world-model-distilgpt2-seed1",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Quick Links

OpenEnv ECHO World Model

This checkpoint was trained with examples/echo_world_model/train_echo.py to predict OpenEnv terminal environment outputs from verifier-free ECHO loss.

Training Metrics

metric value
best_step 45
heldout_ce_after 0.26160934567451477
heldout_ce_before 6.333791732788086
heldout_ce_delta -6.072182387113571
heldout_ce_improvement_pct 95.8696250727626
heldout_token_acc_after 0.8947368421052632
heldout_token_acc_before 0.10526315789473684
lr 5e-05
model distilgpt2
seed 1
steps 60
Downloads last month
19
Safetensors
Model size
81.9M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for burtenshaw/openenv-echo-world-model-distilgpt2-seed1

Finetuned
(1522)
this model