Tools: data pipelines, sandboxes, trainers
Dedup, decontamination, sandboxes, and the frameworks that run the training.
Who needs this
The supporting cast. Pick tools by what you already run: a single GPU box, an HPC cluster with Apptainer, or a managed cloud.
Decisions you will make
- Data tooling: how you deduplicate, decontaminate, filter licenses, and remove personal data.
- Sandbox: Docker with strict flags on one machine, rootless containers on a cluster, or a hosted sandbox service.
- Trainer: a simple SFT trainer first, an RL framework only when you are ready for rollouts.
Pitfalls
- Running model-generated code on your host. Always use a container or VM with no network and limited memory, CPU, and processes.
- Rolling your own dedup or decontamination without testing it on known duplicates.
- Choosing an RL framework before you have a verifier. The verifier is the hard part.
Tools 61
Apptainer
HPC container runtime that runs without root; needed on clusters like Berzelius where Docker is unavailable. SWE images must be converted from Docker.
AReaL
Async RL system for LLM agents (repo now under areal-project). Verified active on GitHub API.
bigcode-dataset
The BigCode data repo: preprocessing filters, PII pipeline, near-deduplication and benchmark decontamination scripts for The Stack and StarCoder.
bigcode-evaluation-harness
Code LLM eval harness that executes untrusted generations; README provides Dockerfiles for evaluating in containers 'for security and reproducibility' and supports generating on GPUs then executing elsewhere.
bubblewrap
Unprivileged namespace sandbox used by Flatpak; lightweight wrapper for running test commands.
Data-Juicer
One-stop data processing system with 100+ operators for text, code and multimodal data, including code filters and dedup.
datasketch
Python library for MinHash, LSH, LSH Forest and HyperLogLog used for near-duplicate detection.
datatrove
Hugging Face's platform-agnostic data pipeline library: readers, filters, MinHash dedup, tokenization, and executors for local, Slurm and Ray.
DCLM (DataComp-LM)
Framework and baselines for data curation experiments including fastText quality classifier filtering of web text.
decon (Ai2)
Token-based decontamination tool that finds training documents containing eval instances and writes reports and cleaned datasets.
deduplicate-text-datasets (suffix array)
Google's suffix-array exact substring dedup tool from the Lee et al. dedup paper.
Docker (Moby)
Container runtime standard for SWE task images; shares the host kernel so isolation is weaker than microVMs. Default for SWE-bench, SWE-smith, R2E-Gym.
Dolma toolkit
Ai2 data toolkit: fast Rust tagger/mixer, Bloom filter dedup and mixing used for OLMo corpora.
duplodocus
Ai2 Rust CLI for exact and MinHash dedup over large JSONL datasets.
E2B
Open-source cloud sandboxes for agents (isolation technology not verified here).
Firecracker
microVM monitor: strongest isolation for untrusted code at scale; underpins E2B-style sandboxes.
GitHub Linguist
The reference language-detection library and language list behind GitHub's language stats.
go-enry
Fast Go port of GitHub Linguist for programming language detection; used by The Stack v3 for language, vendor and generated-file flags.
go-license-detector
Go library and CLI to detect open-source licenses in a repository's files, used in earlier The Stack pipelines.
gVisor
User-space kernel for container isolation as an OCI runtime (runsc).
Harbor
Framework for running agents in containerized tasks: used for Terminal-Bench 2, SWE-bench adapters, and RL rollouts; supports Docker and cloud sandboxes.
Hugging Face tokenizers
Rust tokenizer library for training BPE, Unigram and WordPiece vocabularies.
isolate
IOI contest sandbox with cgroup limits; used by Judge0.
Judge0
Online judge API with sandboxed execution for 60+ languages.
Kata Containers
Containers in lightweight VMs; Kubernetes friendly.
Licensee
Ruby tool GitHub uses to detect a project's license from its LICENSE file.
lm-evaluation-harness (code tasks)
The standard few-shot LLM harness; code coverage is basic.
Microsoft Presidio
PII detection and anonymization SDK with recognizers and custom operators (repo moved from microsoft/presidio).
mini-swe-agent
Roughly 100-line bash-only agent; simple harness for RL rollouts.
Modal sandboxes (SDK)
SDK for Modal, with Sandboxes for running untrusted code on demand; hosted service, SDK is open source.
nanotron
Minimalistic large-model pretraining library from Hugging Face, used with datatrove-tokenized data.
NeMo Curator
GPU-accelerated data curation for LLMs: dedup (exact, fuzzy, semantic), quality classifiers, PII, decontamination, synthetic data.
NeMo-RL
NVIDIA scalable RL toolkit, pairs with NeMo Gym. Verified active on GitHub API.
nsjail
Namespace/seccomp/cgroup jail for process isolation.
NVIDIA NeMo Gym
Framework and collection of RLVR environments and datasets (competitive coding, SWE) for NeMo-RL and other trainers.
Open-Instruct (AI2)
AI2 post-training codebase including RLVR (GRPO) training. Verified active on GitHub API.
OpenEnv
Interface library for RL post-training with environments (Gym-style API served over containers).
OpenHands
Agent platform and runtime with docker sandbox; used to generate SWE-Gym and Nemotron trajectories.
OpenRLHF
Ray-based scalable RL framework with PPO/REINFORCE variants and agentic mode. Verified active on GitHub API.
Piston
Multi-language code execution engine with API.
Podman
Daemonless, rootless Docker-compatible container engine; useful where a root daemon is not allowed.
prime-rl
Async agentic RL training at scale; integrates with verifiers environments. Verified active on GitHub API.
Repo2RLEnv
Hugging Face tool that turns any repository into verifiable RL environments for coding agents in Harbor task format (instruction, Dockerfile, tests, reward script).
rLLM
Framework behind DeepCoder and SWE agent RL runs. Verified active on GitHub API.
ROLL
Alibaba RL library with agentic pipelines. Verified active on GitHub API.
SandboxFusion
ByteDance code sandbox with many languages and datasets, built for RL code rewards; used to build CodeContests+.
ScanCode Toolkit
License, copyright and package detection engine used by The Stack v2 and v3 for file-level license labels.
SentencePiece
Unsupervised tokenizer for BPE/unigram; many code and multilingual models use it.
SkyRL
Modular full-stack RL library including SkyRL-gym environments and multi-turn SWE training. Verified active on GitHub API.
slime
SGLang-based RL scaling framework from Tsinghua/Z.ai. Verified active on GitHub API.
Software Heritage archive and graph
Universal archive of public source code; The Stack v2 sourced contents via SWH, and graph dataset/swh-graph tools allow bulk analysis.
SPDX license list data
Canonical machine-readable list of SPDX license ids and texts.
Stack-Edu / Python-Edu classifiers
Educational-quality scorers for code (0-5 scale, LLM-annotated labels) used to build Stack-Edu and Python-Edu.
StarPII (bigcode)
BigCode's NER model for detecting names, emails, keys, passwords and IPs in code, used for The Stack v2/v3 PII redaction.
SWE-agent
Princeton agent harness for GitHub issue tasks.
text-dedup
Collection of deduplication methods for text: MinHash, SimHash, suffix array, Bloom filter, exact hash.
tiktoken
Fast BPE tokenizer library; reference for counting tokens in mixes.
tree-sitter
Incremental parser with grammars for many languages; used to parse code for syntax filtering, AST-based chunking and function extraction.
TRL
Hugging Face RL library with GRPO trainer and custom reward functions. Verified active on GitHub API.
verifiers (Prime Intellect)
Library for RL environments and evals; environments are installable packages and can be published to the Prime Intellect Environments Hub.
verl
HybridFlow RL post-training framework; supports GRPO/PPO with rule-based and sandbox code rewards. Verified active on GitHub API.
