Lawrence Qi

Lawrence Qi

I train machine-learning models and run the machines they live on.

I've just finished my Computer Science degree at Monash University. In November I'm moving to Singapore to start an AI/ML internship at NetGain, working on small language models that run locally.

Live, on English Wikipedia

Which edits will be reverted?

About one edit a second lands on English Wikipedia, and one in twenty gets undone within two days. This reads them as they happen and scores each with a model I trained on 1.4 million edits, then shrank to 11 MB so it runs here, on your device.

Flagged edits
75% were reverted
Time per edit
21 ms in a browser
Model size
11 MB BERT-mini, 8-bit

Not started

Show

No edits yet

    Press Start to connect. Your browser downloads the 11 MB model once, then real edits from the last minute appear here with their scores.

    Digest

    A summary appears once a few edits have been scored.

    Everything here runs in your browser. It reads Wikimedia’s public stream of changes (about 50 to 60 KB a second), scores up to three random English Wikipedia article edits every 20 seconds, and pauses after 15 minutes or whenever this tab is in the background. The score is the model’s estimate that someone else reverts the edit within 48 hours. Editors aren’t named, and a flag means an edit looks likely to be reverted, not that anyone did something wrong. Nothing is stored.

    Now

    Done with Monash and packing for Singapore. More on the Now page. Updated .

    2 days until I fly to Singapore, on Thursday 19 November.

    Before I go3 of 5 done

    • Finish classes at Monash (done)
    • Sit my final exams (done)
    • Graduate from Monash (done)
    • Fly to Singapore
    • Start the AI/ML internship at NetGain

    Projects

    Newest first. Open one to see more; several have something you can play with.

    • Wikipedia live editsRunningDemo Oct 2026 Flags live Wikipedia edits that are likely to be reverted, with a small model that runs in your browser.

      A small model that reads English Wikipedia edits as they happen and flags the ones likely to be reverted. It's distilled from a much larger model and runs in your browser, so the live feed is scored on your own device.

      It's running at the top of this page.

      Watch the live feed

      • Collected 1.4 million English Wikipedia article edits over 12 days on my homelab, each labelled 48 hours later with whether someone else reverted it.
      • Fine-tuned DeBERTa-v3-base as a teacher. It reached PR-AUC 0.59 on three held-out days, against 0.50 for the best gradient-boosted tree and 0.44 for Wikimedia's recommended revert-risk setup.
      • Distilled it into BERT-mini (11 MB at 8-bit). With its input cut to 128 tokens it reaches 0.55 and scores a typical edit in 21 ms in a browser.
      • Ported the whole input pipeline to JavaScript and checked it against the Python version, so the browser builds the same text the model was trained on.

      Made with Python, PyTorch, Hugging Face Transformers, DeBERTa-v3, BERT-mini, LightGBM, ONNX Runtime Web, SQLite and Proxmox.

    • This websiteRunning Oct 2026 No framework, a live model running in your browser, a command palette and a blog I write in a web editor.

      The site you're on. No framework: a small Node build script, a live Wikipedia demo that runs a model in your browser, a store where a cart plans routes with A*, a command palette, and a blog I write in a web editor.

      • Wrote the whole build as one Node script with no dependencies to install. It turns Markdown and YAML into every page, the RSS feed, the sitemap and the search index.
      • Set up Pages CMS so posts, projects and profile details can be edited in a browser, with each save becoming a commit that rebuilds the site.
      • Built live games and music without a server, using Last.fm from the browser and a scheduled GitHub Action for Steam.
      • Runs an 11 MB machine-learning model on the homepage, in the visitor's browser.

      Made with HTML, CSS, JavaScript, Node.js, GitHub Actions, GitHub Pages, Pages CMS and ONNX Runtime Web.

    • Smash TheaterRunning Sept 2026 A searchable archive of more than 41,000 Super Smash Bros. Ultimate tournament VODs from nine YouTube channels.

      Daily GitHub Actions scrape new uploads, parse players and characters from the titles, and fill in scores from start.gg.

      • Scraped nine tournament channels in the US and Japan into one archive of 41,397 sets and 57,398 games, covering 13,000 player tags from 2018 to now.
      • Wrote a title parser for English and Japanese VOD titles that finds players, characters (with their nicknames), rounds, events and game modes, and skips anything that isn't Ultimate.
      • Matched VODs to their sets on start.gg to fill in scores and stages, with a resumable backfill that runs on GitHub Actions every four hours.
      • Let visitors suggest VODs through a GitHub issue form that only reaches the archive once I approve it with a label.

      Made with React, TypeScript, Vite, YouTube Data API, start.gg API, GitHub Actions and Vercel.

    • MEGA stream overlays Sept 2026 Twelve OBS overlay scenes and a scoreboard app for MEGA's fighting-game weeklies, built on GORTS so the next production manager can run a stream without touching code.
      • Built twelve 1920×1080 overlay scenes, from gameplay nametags to a top 8 graphic, that all redraw live from one scoreboard app.
      • Added Event and Layout tabs to the scoreboard, with presets, so a weekly's game, colours, casters, text and positions change without opening any HTML.
      • Wrote a handover guide covering every scene, every field and how to run a night from start to finish.

      Made with HTML, CSS, JavaScript, Go, Tcl/Tk, OBS and start.gg API.

    • Discord personality clone July 2026 A chatbot that talks like me, fine-tuned with QLoRA on an open-weight model using my own Discord data export.

      It runs entirely on my hardware, with no hosted AI APIs.

      • Wrote a parser for Discord's official data export that handles the current JSON format, older CSV exports and zipped or unzipped packages, and filters out messages with nothing to learn from.
      • Built two ways of turning one-sided message history into chat training data, since the export only contains my side of every conversation.
      • Fine-tuned Qwen2.5-1.5B-Instruct with 4-bit QLoRA and LoRA rank 16, small enough to train on an 8 GB GPU.
      • Served it as a terminal chat and a Discord bot with slash commands, per-user sessions that expire, and an allow-list of who can use it.

      Made with Python, PyTorch, Hugging Face Transformers, PEFT, QLoRA, bitsandbytes, TRL and discord.py.

    • Valorant live win probabilityIn progressDemo Apr 2026 A real-time model that estimates who wins the current round of a professional Valorant match.

      Valorant has no public game-state feed, so the pipeline reads the state straight off the broadcast.

      Attackers alive
      Defenders alive
      Spike
      Attack buy
      Defence buy

      Attack 63%37% Defence

      What's moving the number (log-odds, positive favours attack)

        Try a situation

        This in-browser version uses a small logistic model with hand-set weights so it can run instantly. The real project reads these features off VCT broadcast footage and learns the weights with gradient-boosted trees.

        • Samples VCT broadcast footage, reads the scores, timer, spike and player panels from the HUD, and splits matches into rounds automatically.
        • Builds features for economy, player advantage, ultimate availability, map state and spike status.
        • Trains gradient-boosted trees on professional matches, targeting 75%+ accuracy.
        • Serves predictions from a Docker container through REST endpoints behind Nginx.

        Made with Python, OpenCV, EasyOCR, yt-dlp, LightGBM, XGBoost, River, scikit-learn, Docker, Nginx and PostgreSQL.

      • AI email assistantFinishedDemo Mar 2026 A Chrome extension that helps people with busy inboxes triage, read and reply faster, without ever sending anything they haven't approved.

        From Lab Operations

        Your building access card expires this Friday

        Hi Lawrence, our records show your access card for the engineering building expires on Friday. To keep access, please renew it at the service desk before then, bringing your student ID…

        1. PriorityNeeds action this week
        2. SummaryAccess card expires Friday. Renew at the service desk with your student ID.
        3. Draft reply

        A mock of the approval step, so nothing here is actually sent. The real extension does the classifying, summarising and drafting with an LLM.

        • Built an LLM pipeline for classification, priority detection, thread summaries and reply drafts.
        • Designed a human-in-the-loop approval step so AI-written replies can't go out without confirmation.
        • Interviewed people at large organisations and turned their feedback into requirements.
        • Tested the classifier on 240 labelled emails (85% accuracy, macro F1 0.84) and ran a 27-person survey on the outputs.

        Made with Chrome Extension API, JavaScript, Node.js, Python, OpenAI API, Whisper and SQLite.

      • Homelab and Kubernetes clusterRunningDemo Sept 2025 The machines behind most of my side projects: a multi-node Kubernetes cluster on Proxmox that hosts apps, media, game servers and machine-learning workloads.
        1. Internet
        2. Cloudflare DNS and HTTPS
        3. Nginx reverse proxy
        4. Kubernetes cluster

          • Jellyfin
          • Databases
          • Game servers
          • ML workloads
          • Local LLM chatbot
          • My own apps

          Proxmox VMs spread across several machines

        5. Multi-terabyte storage
        Large-file transfer speed, before and after I tracked down the bottleneck

        Before~10 MB/s

        After~70 MB/s

        • Combined compute across several machines into one cluster for containerised workloads.
        • Runs Jellyfin, databases, reverse proxies and my own apps, with selected services exposed through Nginx, Cloudflare DNS and HTTPS.
        • Fixed storage and networking issues that took large-file transfers from about 10 MB/s to 70 MB/s.
        • Ran the 12-day Wikipedia edit collector that the live edits model was trained on, in its own container with automatic restarts.

        Made with Proxmox, Kubernetes, Docker, Linux, LXC, systemd, Nginx and Cloudflare.

      • Autonomous shopping cartFinishedDemo Mar 2025 A self-driving shopping cart prototype built in 48 hours, with navigation, voice interaction and RFID item scanning.

        The store on this project's page runs the same planner, cut down to fit in a browser: a hundred layouts, a shopper who gets in the way, and a switch between A*, Dijkstra and greedy search.

        Go to the store

        • Wrote the A* pathfinding that modelled the store layout and found the shortest route between items.
        • Added real-time obstacle avoidance based on the Dynamic Window Approach and Velocity Obstacles, so the cart reroutes around people.
        • Integrated motors, sensors and the Arduino with the rest of the team's software into a working prototype.
        • Rebuilt the planner for the browser later, as the store on this page, with a hundred layouts and a switch between A*, Dijkstra and greedy search.

        Made with C++, Arduino, RFID and JavaScript.

      About

      I like problems where a model has to make a call in real time from messy inputs: predicting who wins a Valorant round from a broadcast feed, or steering a shopping cart around people at a hackathon. I also like owning the whole stack, which is why I run a multi-machine homelab with a Kubernetes cluster, my media server, databases and a chatbot fine-tuned on my own messages.

      Away from the keyboard I tutor primary and middle-school students, and I built the stream overlays for MEGA's fighting-game weeklies. I speak English, Mandarin, Cantonese and French.

      Tap a skill to see where I've used it.

      Machine learning
      , , , NumPy, Pandas, , , , R, , , , ,
      Data
      , ,
      Infrastructure
      , , , , , , , , AWS, Azure
      Software
      , , , Java, , ,
      Languages
      English, Mandarin, Cantonese, French

      Experience

      1. AI/ML Intern (incoming), NetGain Nov 2026 – Feb 2027 A three-month internship on knowledge distillation and small, locally hosted language models for infrastructure and monitoring workflows.
        • Evaluating open-weight models for log analysis, classification, summarisation, structured extraction and routing.
        • Benchmarking accuracy, latency, memory use and inference cost on CPU-only systems.
        • Testing fine-tuning, LoRA, quantisation, distillation and fallback to larger models for uncertain cases.
      2. Academic Tutor, Unitop Feb 2023 – present One-on-one tutoring for students from grade 1 to grade 9.
        • Raised students' marks by up to 35 percent.
        • Worked with parents and teachers to keep learning plans aligned between home and school.
      3. Bachelor of Computer Science, Monash University Graduated 2026

      Blog

      Off the clock

      Games

      Deadlock, Valorant, Street Fighter 6, Smash Bros. Ultimate, Overwatch, Slay the Spire 2 and Disco Elysium. I also go to Street Fighter and Smash locals.

      Where games turn up in my projects
      Music

      Tenor saxophone, on a King Super 20 (Series 3) with a Theo Wanne Lakshmi mouthpiece and Légère American Cut 2.5 reeds.

      The setup, part by part
      1 2 3
      1. HornKing Super 20 (Series 3)I wanted an older horn with a big, warm sound rather than a bright modern one, and the Super 20 has exactly that.
      2. MouthpieceTheo Wanne LakshmiIt gives me more edge and volume than a stock mouthpiece without losing the warmth of the horn, so it works for ballads and for louder sets.
      3. ReedLégère American Cut, strength 2.5Synthetic, so it plays the same every day and I'm not hunting through a box of cane for a good one. A 2.5 stays comfortable through long practice sessions.
      Reading
      Also

      Board games with friends.

      Contact

      The quickest way to reach me is email: celarry1@gmail.com