CoolFace
Modelpublic

JetBrains-Research/PIPer-8B-RL-only

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes6downloads
Model Card

<img src="https://github.com/JetBrains-Research/PIPer/blob/main/misc/piper-logo.png?raw=true" alt="PIPer Mascot" style="height: 6em"> <h1> PIPer: On-Device Environment Setup via Online Reinforcement Learning

</h1>

<div align="center">

![Paper](https://huggingface.co/papers/2509.25455) ![Code](https://github.com/JetBrains-Research/PIPer) ![Models](https://jb.gg/PIPer) ![Dataset](https://huggingface.co/datasets/JetBrains-Research/PIPer-envbench-zeroshot-rl) ![License](LICENSE)

Democratizing environment setup with on-device sized models that match the performance of much larger proprietary systems

</div>

🎯 Overview

Environment setupβ€”the process of configuring systems to work with specific software projectsβ€”remains a persistent challenge in software engineering. PIPer addresses this by training specialized on-device models that can automatically generate correct Bash scripts for environment configuration.

Our approach combines:

  • β€”πŸ“š Supervised Fine-Tuning (SFT) with executable scripts from larger models
  • β€”πŸŽ― Reinforcement Learning with Verifiable Rewards (RLVR) using lightweight proxy LLM-reward

πŸ† Key Results

ModelSizeEnvBench avg@5Cost per 1M tokens
PIPer8B19.4$0.60
GPT-4o-19.4$15.00
Qwen3-32B32B16.2$2.00
Qwen3-8B8B2.6$0.60
πŸŽ‰ PIPer achieves 9Γ— improvement over its base model while matching GPT-4o performance at 25x lower cost

Performance vs Cost Analysis

πŸ“¦ Available Artifacts

πŸ€– Model Checkpoints

ModelDescriptionHuggingFace Link
πŸ… PIPer (Full)Complete SFT+RL trained modelJetBrains-Research/PIPer-8B
🎯 PIPer (RL-only)RLVR checkpoint onlyJetBrains-Research/PIPer-8B-RL-only
πŸ“š PIPer (SFT-only)Supervised fine-tuning onlyJetBrains-Research/PIPer-8B-SFT-only

πŸ“Š Datasets

DatasetDescriptionHuggingFace Link
EnvBench Zero-shot RLTraining prompts and evaluation dataJetBrains-Research/PIPer-envbench-zeroshot-rl
EnvBench SFT 2500Zeroshot trajectories from Qwen-32B in ShareGPT formatJetBrains-Research/PIPer-SFT-2500-sharegpt
PIPer EvalFull evaluation results for EnvBench and Repo2RunJetBrains-Research/PIPer-eval

πŸš€ Reproduce the results

We use uv for dependency management and Ray for distributed training.

bash
git clone https://github.com/JetBrains-Research/PIPer.git
cd PIPer
git submodule update --init --recursive
uv sync

To run the experiments, you need a node with at least 4 H200 GPUs and Ray installed and running. Then you can run all the experiments with the following command:

bash
uv run piper/hparams_entrypoint.py --multirun +experiment==llm-reward

You can look up the experiment Hydra configurations in piper/config/ folder, or print out the whole config with the following command:

bash
uv run piper/hparams_entrypoint.py +experiment=llm-reward --info config

πŸ“Š Evaluation Benchmarks

BenchmarkDescriptionMetricOur Result
EnvBench-Python329 Python repositoriespass@5πŸ† 27/329
Repo2Run420 Python repositoriespass@5πŸ† 103/420
Terminal-Bench80 terminal taskspass@104/80

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.