Alonso Silva @alonsosilva.bsky.social · 30/04/2026Ever wanted to render Graphviz graphs in the browser with pure Python? Now you can 🐍🌐 Check out the WebAssembly-powered package gvrender! 👇 #Python #WASM #Graphviz 100
Alonso Silva @alonsosilva.bsky.social · 22/04/2026🐍 New Python package just dropped! Generate Mermaid diagrams directly from Python code. Simple, fast & powerful. 🔥 #Python #Mermaid #OpenSource 120
Reposted by Alonso SilvaMartin Renou @martinrenou.bsky.social · 23/01/2026 Pandas 3.0 was just released yesterday!! 🤘 And guess what? You can already play with it in Notebook.link. I quickly built a Notebook.link link for you to play with it now: notebook.link/@martinRenou...notebook.linkNotebook Link 044
Alonso Silva @alonsosilva.bsky.social · 23/01/2026If you are (or know of) a Master's or PhD student looking for an internship, I am proposing the subject: 'Efficient Structured Generation with Grammar-Aware Sampling Techniques.' www.dropbox.com/scl/fi/7iwfg... If you're passionate about structured generation, feel free to reach out!dropbox.com 010
Alonso Silva @alonsosilva.bsky.social · 23/01/2026Litelines got added to the Awesome LLM constrained decoding repo 😊 It’s great to share this space with more established libraries like Outlines, XGrammar, or Guidance. Link to the Awesome LLM constrained repo: github.com/Saibo-creato... Link to litelines: alonsosilvaallende.github.io/litelines/ 000
Alonso Silva @alonsosilva.bsky.social · 19/01/2026You can display SQLite database diagrams in @marimo.io using `fastlite` and `graphviz`. Here is a basic molab notebook to play online: molab.marimo.io/notebooks/nb... Here is my merged PR 🙂 github.com/marimo-team/... 000
Alonso Silva @alonsosilva.bsky.social · 19/01/2026marimo @marimo.io now supports graphviz Here is a basic notebook to play online: molab.marimo.io/notebooks/nb... Here is my merged PR 🙂 github.com/marimo-team/... 000
Alonso Silva @alonsosilva.bsky.social · 09/01/2026Batch processing using transformers and litelines libraries. In this video, I process 900 prompts in 30 seconds with an RTX A4000 with 16GB of VRAM. www.youtube.com/watch?v=7hVU...youtube.comBatch processing using transformers and litelines librariesYouTube video by Alonso Silva 000
Alonso Silva @alonsosilva.bsky.social · 07/01/2026The new litelines release should work much better in marimo notebooks. You can try it in a marimo molab: molab.marimo.io/notebooks/nb... Here is litelines documentation: alonsosilvaallende.github.io/litelines/ Here is the release changelog: github.com/alonsosilvaa... 000
Alonso Silva @alonsosilva.bsky.social · 06/01/2026New blog post: Force a Qwen model not to use Chinese alonsosilvaallende.github.io/blog/posts/2... 000
Alonso Silva @alonsosilva.bsky.social · 03/01/2026How is it possible that a 1.7 billion parameter model succeeds where a model with hundreds or thousands of billions of parameters fails? www.youtube.com/watch?v=wmgw...youtube.comQwen3-1.7B beating GPT-4o at a lipogram taskYouTube video by Alonso Silva 000
Alonso Silva @alonsosilva.bsky.social · 30/12/2025The latest release of Litelines supports batch processing for Transformers library. `pip install --upgrade litelines` Here is a colab to get started: huggingface.co/datasets/alo... And here is the library documentation: alonsosilvaallende.github.io/litelines/ 000
Alonso Silva @alonsosilva.bsky.social · 21/12/2025My talk, "Processors for Language Models," at PyData Paris 2025 is now available. I discuss my personal project, Litelines, as well as common libraries used to transform unstructured data into structured data. Link to the video: www.youtube.com/watch?v=VP4I...youtube.comLightning talks - session 1YouTube video by PyData 000
Alonso Silva @alonsosilva.bsky.social · 11/12/2025I gave a talk about structured code generation for domain-specific languages: Abstract Syntax Trees (ASTs), Concrete Syntax Trees (CSTs), Deterministic Finite Automata (DFA), Regular Expressions (Regex), Pushdown Automata (PA), Context-Free Grammars (CFGs), outlines, guidance, Georges Perec, etc. 100
Alonso Silva @alonsosilva.bsky.social · 30/09/2025Here are the starting notebooks I presented at @pydataparis.bsky.social tinyurl.com/litelines-hf And here is the documentation of litelines: tinyurl.com/litelines #PyDataParistinyurl.comalonsosilva/litelines-notebooks at mainWe’re on a journey to advance and democratize artificial intelligence through open source and open science. 020
Alonso Silva @alonsosilva.bsky.social · 29/09/2025Featured in marimo newsletter 🤩 marimo.io/blog/newslet... 010
Alonso Silva @alonsosilva.bsky.social · 27/09/2025Doing a slightly better documentation than just the README.md alonsosilvaallende.github.io/litelines/ge... Feeback? 041
Alonso Silva @alonsosilva.bsky.social · 16/09/2025Want to visualize the response format constraints on the LLM when working in a Jupyter notebook? Then you might be interested in my new project `litelines`. Litelines lets you visualize the selected path by the LLM. It supports a Pydantic schema as a response format, as well as regular expressions. 194
Alonso Silva @alonsosilva.bsky.social · 28/07/2025The recording of my presentation "Certainty-Guided Reasoning: A Dynamic Thinking Budget Approach" at the Laboratory for Information, Networking and Communication Sciences (LINCS) is now available: www.youtube.com/watch?v=8a44...youtube.comCertainty-Guided Reasoning in Large Language Models: A Dynamic Thinking Budget ApproachYouTube video by Pupusse LINCS 020
Alonso Silva @alonsosilva.bsky.social · 23/07/2025New blog post: Constrain a language model not to use the letter 'e' alonsosilvaallende.github.io/blog/posts/2... In this post, I constrain a small language model (0.6B parameters) with a logits processor to accomplish something GPT-4o fails to do (see chatgpt.com/share/687908...). 110
Alonso Silva @alonsosilva.bsky.social · 18/07/2025TIL how to add notebook cells running on @pyodide.org to Quarto projects, such as my blog: alonsosilvaallende.github.io/til/posts/20... It's very easy to change the Pyodide version if needed. Thanks @coatless.bsky.social for this great Quarto extension 032
Reposted by Alonso Silvahailey @hailey.at · 18/07/2025tfw u need neo4j to put together the polycule chart 4774
Alonso Silva @alonsosilva.bsky.social · 16/07/2025New blog post: Understanding Logits Processors alonsosilvaallende.github.io/blog/posts/2... I start with a basic min length example, then force the model to check its answer, followed by making reasoning models stop thinking once they reach a thinking budget & finally force the model to think longer 000
Alonso Silva @alonsosilva.bsky.social · 11/07/2025New blog post: Understanding Structured Outputs alonsosilvaallende.github.io/blog/posts/2... This is the power behind structured ouputs libraries such as Instructor and Marvin. I provide a basic example of extraction, a slightly more complex one, then classification, and finally SO in WebAssembly. 000
Alonso Silva @alonsosilva.bsky.social · 05/07/2025New blog post: Understanding Function Calling I provide a basic example of FC, then a slightly more complex example by allowing an LM to use Python. I explain the conversational response as a tool trick. Finally, FC in the browser by using WebAssembly alonsosilvaallende.github.io/blog/posts/2... 000
Alonso Silva @alonsosilva.bsky.social · 30/06/2025So I appear in the Celebration of 100 years of Bell Labs video with our LLM robots (a.k.a. IndustrialGPT) for less than a second :-D www.youtube.com/watch?v=Fu_I... 000
Alonso Silva @alonsosilva.bsky.social · 28/06/2025New blog post: Understanding LLM Memory alonsosilvaallende.github.io/blog/posts/2... Using the Marimo extension for Quarto. 000
Alonso Silva @alonsosilva.bsky.social · 20/06/2025New post: Understanding Chat Templates alonsosilvaallende.github.io/blog/posts/2...alonsosilvaallende.github.ioUnderstanding Chat Templates – Homepage 000
Alonso Silva @alonsosilva.bsky.social · 17/06/2025New post: Understanding Tokenizers alonsosilvaallende.github.io/blog/posts/2...alonsosilvaallende.github.ioUnderstanding Tokenizers – Homepage 010
Alonso Silva @alonsosilva.bsky.social · 17/06/2025Celebrating Bell Labs’ 100 years anniversary #NokiaBellLabs100 010
Alonso Silva @alonsosilva.bsky.social · 16/06/2025TIL to do quizzes with JupyterQuiz: alonsosilvaallende.github.io/til/posts/20... I like this simple way to provide feedback to students. I’m using these quizzes to motivate my kid to learn new things. 010
Alonso Silva @alonsosilva.bsky.social · 15/06/2025TIL you can embed a live REPL on a website: alonsosilvaallende.github.io/til/posts/20... I think this is a great tool for writing tutorials and blog posts.alonsosilvaallende.github.ioEmbed live REPL on a website – Homepage 010
Alonso Silva @alonsosilva.bsky.social · 27/04/2025The new release of logits-processor-zoo supports batch inference of the logits processors with vLLM `pip install logits-processor-zoo` Here is the repo: github.com/NVIDIA/logit... Here is the commit 😊: github.com/NVIDIA/logit... 000
Alonso Silva @alonsosilva.bsky.social · 23/04/2025My talk "Building Knowledge Graph-Based Agents with Structured Text Generation" at PyData Global 2024 is now available on YouTube: www.youtube.com/watch?v=94yu... #PyData #PyDataGlobal @dottxtai.bsky.social @pydata.bsky.socialyoutube.comAlonso Silva - Building Knowledge Graph-Based Agents with Structured Text GenerationYouTube video by PyData 041
Alonso Silva @alonsosilva.bsky.social · 23/04/2025More coverage of our work at @ieeespectrum.bsky.social 🤩 010
Alonso Silva @alonsosilva.bsky.social · 20/04/2025Chat Templates Chat is an abstraction. LLMs know nothing about system messages, user messages, etc. The translation between messages and the received string representation is handled by the chat template. Code: github.com/alonsosilvaa... To try it: uv run raw.githubusercontent.com/alonsosilvaa... 000
Alonso Silva @alonsosilva.bsky.social · 20/04/2025Next token The code can be found here: github.com/alonsosilvaa... If you have uv installed, you can try it with this command: uv run raw.githubusercontent.com/alonsosilvaa... 000
Reposted by Alonso SilvaSimon Willison @simonwillison.net · 18/03/2025I figured out a minimal pattern for building a completely custom website using GitHub Actions and deploying the result to GitHub Pages, so I wrote it up as a TIL til.simonwillison.net/github-actio...til.simonwillison.netBuilding and deploying a custom site using GitHub Actions and GitHub PagesI figured out a minimal pattern for building a completely custom website using GitHub Actions and deploying the result to GitHub Pages. 51438
Alonso Silva @alonsosilva.bsky.social · 16/02/2025The answer is wrong but DeepSeek's reasoning traces are always fun to watch :-) 020
Reposted by Alonso Silvaiadevs.bsky.social @iadevs.bsky.social · 18/01/2025Revive la charla "Una introducción amigable a modelos de difusión" de Cristian Garcia disponible en YouTube: www.youtube.com/live/uHvP5uR... cc: @aastroza.bsky.social @sebastiandres.bsky.social @alonsosilva.bsky.socialyoutube.comIADevs 2024: Una introducción amigable a modelos de difusión, con Cristian Garcia de Google DeepMindYouTube video by iadevs 061
Reposted by Alonso Silvaiadevs.bsky.social @iadevs.bsky.social · 16/01/2025Este jueves 23 de enero, @capetorch.bsky.social Senior MLE en @weightsbiases.bsky.social compartirá su experiencia en implementación de LLMs en producción junto a la comunidad IADevs en las oficinas de @fintual.bsky.social. Regístrate aquí: lu.ma/bcny2f4l Cupos limitados. ¡No te quedes fuera! 052
Alonso Silva @alonsosilva.bsky.social · 14/01/2025AI Eats the World www.youtube.com/watch?v=LGDa...youtube.comBenedict Evans: AI Eats the World | Slush 2024YouTube video by Slush 010
Alonso Silva @alonsosilva.bsky.social · 30/12/2024Me entrevistaron para el podcast IA para los negocios de EvoAcademy ¡Espero que les guste! youtu.be/-56EfNIGy0kyoutu.beCómo evitar que la IA se equivoque - GraphRAG y Structured OutputYouTube video by EvoAcademy 000
Reposted by Alonso Silvamaartenbreddels.bsky.social @maartenbreddels.bsky.social · 17/12/2024This is super cool, run an AI chatbot, pure Python fully in the browser using Solara. Great work @alonsosilva.bsky.social ❤️ 021
Alonso Silva @alonsosilva.bsky.social · 16/12/2024The pictures from the @iadevs.bsky.social conference are now available: photos.google.com/share/AF1Qip... It was a super cool conference! 021