Alonso Silva
banner
alonsosilva.bsky.social
Alonso Silva
@alonsosilva.bsky.social
Researcher on Verifiable AI @ Nokia Bell Labs. Interested on Large Language Models (LLMs), Machine Learning and Data Analysis.
Here are the starting notebooks I presented at @pydataparis.bsky.social
tinyurl.com/litelines-hf
And here is the documentation of litelines:
tinyurl.com/litelines
#PyDataParis
alonsosilva/litelines-notebooks at main
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
tinyurl.com
September 30, 2025 at 6:27 PM
Featured in marimo newsletter 🤩
marimo.io/blog/newslet...
September 29, 2025 at 6:14 PM
Doing a slightly better documentation than just the README.md
alonsosilvaallende.github.io/litelines/ge...
Feeback?
September 27, 2025 at 12:05 PM
Want 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.
September 16, 2025 at 7:20 AM
The 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...
Certainty-Guided Reasoning in Large Language Models: A Dynamic Thinking Budget Approach
YouTube video by Pupusse LINCS
www.youtube.com
July 28, 2025 at 9:50 AM
New 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...).
July 23, 2025 at 7:19 PM
TIL 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
July 18, 2025 at 3:35 PM
Reposted by Alonso Silva
tfw u need neo4j to put together the polycule chart
July 18, 2025 at 5:56 AM
New 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
July 16, 2025 at 3:31 PM
New 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.
July 11, 2025 at 12:21 PM
New 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...
July 5, 2025 at 8:25 PM
So 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...
June 30, 2025 at 9:59 AM
New blog post: Understanding LLM Memory

alonsosilvaallende.github.io/blog/posts/2...

Using the Marimo extension for Quarto.
June 28, 2025 at 10:44 PM
New post: Understanding Chat Templates

alonsosilvaallende.github.io/blog/posts/2...
Understanding Chat Templates – Homepage
alonsosilvaallende.github.io
June 20, 2025 at 4:53 PM
New post: Understanding Tokenizers
alonsosilvaallende.github.io/blog/posts/2...
Understanding Tokenizers – Homepage
alonsosilvaallende.github.io
June 17, 2025 at 8:10 PM
Celebrating Bell Labs’ 100 years anniversary #NokiaBellLabs100
June 17, 2025 at 9:40 AM
TIL 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.
June 16, 2025 at 7:39 PM
TIL 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.
Embed live REPL on a website – Homepage
alonsosilvaallende.github.io
June 15, 2025 at 7:54 PM
Finally meeting @remilouf.bsky.social !
May 20, 2025 at 5:59 PM
Reposted by Alonso Silva
this was good
April 29, 2025 at 9:41 PM
The 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...
April 27, 2025 at 9:39 AM
My 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.social
Alonso Silva - Building Knowledge Graph-Based Agents with Structured Text Generation
YouTube video by PyData
www.youtube.com
April 23, 2025 at 8:50 AM
More coverage of our work at @ieeespectrum.bsky.social 🤩
April 23, 2025 at 7:43 AM
Chat 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...
April 20, 2025 at 10:04 PM
Next 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...
April 19, 2025 at 11:31 PM