Renaissance Labs · Code
Tool

tree-sitter

Incremental parser with grammars for many languages; used to parse code for syntax filtering, AST-based chunking and function extraction.

How to use it

Filter out unparsable files and chunk at function/class boundaries for training data.

Caveats

Grammar quality varies by language.

Related

  • Apptainer: HPC container runtime that runs without root; needed on clusters like Berzelius where Docker is unavailable....
  • DCLM (DataComp-LM): Framework and baselines for data curation experiments including fastText quality classifier filtering of web...
  • Data-Juicer: One-stop data processing system with 100+ operators for text, code and multimodal data, including code...
  • Docker (Moby): Container runtime standard for SWE task images; shares the host kernel so isolation is weaker than microVMs....
  • Dolma toolkit: Ai2 data toolkit: fast Rust tagger/mixer, Bloom filter dedup and mixing used for OLMo...
  • E2B: Open-source cloud sandboxes for agents (isolation technology not verified...