NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Leandro von Werra

Leandro von Werra

Hugging Face
6 previous affiliations
  • Hugging FaceSince 2021
    • Head of Research · Since 2024
    • Researcher · 2021–2024
  • Die Mobiliar2020–2021
    • Data Scientist (NLP) · 2020–2021
    • Lecturer · 2019–2021
  • spoud.io2018–2019
    • Data Scientist · 2018–2019
  • Amanuensis GmbH2016–2018
    • Project Assistant · 2016–2018
  • ETH Zurich2011–2018
    • Master of Science - MS, Physics · 2016–2018
    • Bachelor of Science - BS, Physics · 2011–2016
29Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Leandro von Werra focuses on large-scale dataset curation, the development of open-source language models, and rigorous evaluation methodologies for machine learning systems. His trajectory spans early work in anomaly detection and generative models to leading major collaborative efforts in code generation and reinforcement learning from human feedback. Most recently, his research addresses multi-step reasoning and execution-based benchmarking for complex AI agents.

Research Trajectory

In 2019, von Werra developed methods for specialized domains and time series analysis. He introduced Generative Adversarial Networks in Precision Oncology and designed the MULDER algorithm in Unsupervised Anomaly Detection for Seasonal Time Series, extending existing frameworks to automatically identify anomalies in unlabeled production data with a low false positive rate.

By 2022, his focus shifted toward the infrastructure and evaluation of large-scale machine learning systems. He introduced Evaluate & Evaluation on the Hub: Better Best Practices for Data and Model Measurements, a comprehensive toolkit designed to centralize and standardize model assessment. This work contributed to broader research areas such as efficient benchmarking for large language models and standardized evaluation protocols. During this period, he also participated in the BigScience workshop, helping to curate The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Dataset, which provided the foundational text spanning 59 languages for the 176-billion-parameter BLOOM model.

In 2023, von Werra became deeply involved in the BigCode project, focusing on open-source code generation models and the responsible curation of training data. He collaborated on The Stack: 3 TB of permissively licensed source code, a massive dataset that advanced the research direction of Fuzzy Deduplication for Web Scale Language Model Pretraining alongside work in resolving ownership and copyright in generative AI. Building on this data, he guided the development of SantaCoder: don't reach for the stars!, a 1.1-billion parameter model that emphasized data filtering and PII redaction, contributing to the study of verbatim memorization and privacy in language models. He also participated in the release of StarCoder: may the source be with you!, a 15.5-billion parameter model that supported the area of Asymmetric Key Value Sharing for Efficient Transformer Inference. Parallel to his work on code models, he investigated the mechanics of model alignment, detailing the replication of OpenAI's early reinforcement learning techniques in The N Implementation Details of RLHF with PPO.

In 2024, his research expanded into advanced alignment techniques and web-scale data curation. He collaborated on Zephyr: Direct Distillation of LM Alignment, which introduced distilled Direct Preference Optimization (dDPO) to align smaller models without costly human annotation, advancing areas like direct preference optimization via implicit reward modeling. He also contributed to The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale, a 15-trillion token corpus that provided insights into quality filtering for high fidelity synthetic data and transparent data recipes for reproducible foundation models. Continuing his leadership in code generation, he spearheaded StarCoder 2 and The Stack v2: The Next Generation, setting new benchmarks for open-access code LLMs and contributing to the study of staged context extension for large language models.

By 2025, von Werra's focus shifted toward rigorous, execution-based benchmarking and multi-modal datasets. He participated in BigCodeArena: Unveiling More Reliable Human Preferences in Code Generation via Execution, a platform that evaluates generated code through live execution rather than static text comparison. This work intersects with the research direction of Closing the Performance Gap with Open Weight Models and execution-based verification of generated code. He also collaborated on FineVision: Open Data Is All You Need, a meticulously curated corpus for Vision-Language Models that informs language grounding for time series analysis and unified action spaces for generalist GUI agents. Finally, he directed the development of complex evaluation frameworks, including BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions, which tests models on diverse Python libraries and highlights the broader area of Multi-turn Iterative Code Generation and Refinement and the compositionality gap in large language models. He also oversaw DABstep: Data Agent Benchmark for Multi-step Reasoning, a benchmark of real-world financial data analysis tasks designed to probe the limits of AI agents in iterative reasoning and retrieval for multi-hop tasks.

Current Directions

The most recent papers in the evidence indicate a strong focus on the rigorous evaluation of AI agents and the curation of high-quality, open-source datasets across multiple modalities. Recent work investigates execution-based benchmarking for code generation, moving beyond static text comparisons to assess how models interact with live environments and complex function calls. Additionally, his current research addresses the capability gaps in multi-step reasoning for data analysis agents and the development of large-scale, meticulously filtered corpora for both text and vision-language models.

Profile updated

See something wrong? Report a mistake