Alonso Silva
@alonsosilva.bsky.social
230 followers 290 following 76 posts
Researcher on Verifiable AI @ Nokia Bell Labs. Interested on Large Language Models (LLMs), Machine Learning and Data Analysis.
Posts Media Videos Starter Packs
alonsosilva.bsky.social
Doing a slightly better documentation than just the README.md
alonsosilvaallende.github.io/litelines/ge...
Feeback?
alonsosilva.bsky.social
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.
alonsosilva.bsky.social
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
alonsosilva.bsky.social
Here is the Hugging Face space to play with it: huggingface.co/spaces/alons...

Here is a Google Colab with the same information as the post:

nbviewer.org/gist/alonsos...
alonsosilva.bsky.social
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...).
alonsosilva.bsky.social
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
Reposted by Alonso Silva
hailey.at
hailey @hailey.at · Jul 18
tfw u need neo4j to put together the polycule chart
alonsosilva.bsky.social
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
alonsosilva.bsky.social
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.
alonsosilva.bsky.social
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...
alonsosilva.bsky.social
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...
alonsosilva.bsky.social
New blog post: Understanding LLM Memory

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

Using the Marimo extension for Quarto.
alonsosilva.bsky.social
Celebrating Bell Labs’ 100 years anniversary #NokiaBellLabs100
alonsosilva.bsky.social
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.
alonsosilva.bsky.social
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
Reposted by Alonso Silva
cameron.pfiffer.org
this was good
alonsosilva.bsky.social
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
alonsosilva.bsky.social
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...
alonsosilva.bsky.social
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