Hi, I'm Leon.

Portrait of Leon Beccard

My full name is Leon Beccard and this is my portfolio of open-source projects. I recently finished my Master of Science in Data Science at TU Wien in Vienna. My thesis focused on reducing hallucinations at the moment they emerge during generation. A fine-tuned detector called LettucePrevent scores each candidate token as it is produced, penalising unsupported outputs before they are ever sampled.

Alongside the models themselves I build the parts these systems actually need, things like retrieval pipelines, containerised services and clusters that can be torn down and rebuilt from scratch. Before my master, I worked as a software engineer and project manager for two years between my studies, most visibly on Augustina, a payment system for street newspaper vendors that was covered by Die Zeit, ZDF and ORF.

What I enjoy most about this field is following an idea the whole way, from a first proof of concept to a minimum viable product and finally to something stable enough to run in production.

This is simply my own selection of highlighted projects - not a complete list of my work. Any other open-source project is on GitHub.

LettucePrevent Master's thesis · TU Wien · 2026 Cartoon lettuce dressed as a bouncer, turning guests away at the door of the Generation Party

The research project I spent the most time on. The detector sits inside the autoregressive decoding loop and scores every candidate token against the retrieved context, so an unsupported claim is penalised before it is ever sampled instead of being caught after the fact. The number detector works well and cuts numeric hallucinations substantially at limited overhead. The factual detector is far more experimental and stands or falls with tokenizer alignment and the latency you are willing to spend. I find the direction promising, but its limitations are real and worth naming.

  • Python
  • PyTorch
  • Transformers
  • RAG
  • LLM evaluation
Augustina Digitalising street newspaper sales · Convive · 2023 A customer holding up a phone showing the Augustin payment screen while buying a newspaper on the street

Photo: © Claudia Poppe

This was one of the most meaningful projects I helped turn from a hackathon idea into a funded product. We digitalised how street newspapers were sold by enabling vendors to accept digital payments through QR codes, removing the need for a bank account or a mobile phone. I led the project as a project manager and built the backend architecture by implementing the REST API and the security layer for the payments. The project combined product thinking, systems design and practical delivery in a way that had a real public impact.

  • Go
  • REST APIs
  • SQL
  • Vue.js
  • Payments
Simple Scientific RAG Retrieval over a legal corpus · TU Wien · 2025 Logo of the City of Vienna, whose building regulations formed the corpus

This was the interdisciplinary project of my Data Science master, where the point is to work with a faculty outside computer science. I chose the juridical faculty and built a retrieval system over the Viennese building regulations with a fellow student. The corpus was far too specific for any general purpose model (at the time). The answers had to be in German and everything had to run locally, without LLM providers or frameworks like LangChain. Therefore, we implemented chunking, retrieval and reranking ourselves around Elasticsearch and Ollama. What shocked me most wasn't the finding of the higher importance of the chunking strategy over the embedding model but that a simple keyword-based evaluation revealed a non-deterministic behaviour in our retrieval pipeline.

  • Python
  • FastAPI
  • Elasticsearch
  • Ollama
  • Docker
  • RAG
Kubernetes on Google Cloud Cloud infrastructure project · Grenoble INP · 2026 The Kubernetes ship's wheel logo

Together with a fellow student I deployed a demo shop split into eleven microservices on Google Kubernetes Engine and then pushed it until it broke. We automated the load generator with Terraform and Ansible, watched the cluster through Prometheus and Grafana and saw the frontend and the currency service give out at around a thousand concurrent users. Rebuilding the same setup with K3s afterwards showed how much of Kubernetes a managed service quietly hides from you.

  • Kubernetes
  • Terraform
  • Ansible
  • Prometheus
  • Google Cloud
Street dinners Organising dinners for a more vibrant neighbourhood · Vienna · 2025 Neighbours sitting at tables and on blankets along a car-free Viennese street on a summer evening

More than 500 signatures on a petition to close a short stretch of road to cars to create a vivid place for the neighborhood and for the elementary school next to it. It started as a simple idea by inviting neighbours to share dinner on the street in summer 2025. One year later it grew into a small civic movement once we realised how tangibly the experience strengthened community life. The outcome of the petition is still open but the initiative continues to bring people together and might even lead to a community yard at the very same place. This is one of my favourite personal projects.

The most reliable way to reach me is email - l.beccard@proton.me.

I'm also on LinkedIn and my full CV is available as a PDF.