David Berenstein
@davidberenstein.bsky.social
2K followers 730 following 160 posts
ML & DevRel @ Giskard & Pruna | ex HF 🤗 | 👨🏽‍🍳 Cooking, 👨🏽‍💻 Coding, 🏆 Committing
Posts Media Videos Starter Packs
davidberenstein.bsky.social
🔥 Bespoke curator: Synthetic Data Curation for Post-Training & Structured Data Extraction

Create synthetic data pipelines with easy!
- Retries and caching included
- inference via LiteLLM, vLLM, and popular batch APIs
- asynchronous operations

🔗 URL: buff.ly/ajPRT1l
davidberenstein.bsky.social
🔥One > token > at > a > time < a < at < token < One 🔥

token-explorer is a simple tool that lets you explore different possible paths that an LLM might sample!

- Arrow keys to navigate, pop and append tokens
- View the token probabilities and entropies.

GitHub: buff.ly/FQgsczM
davidberenstein.bsky.social
🍽️ Let’s dissect the Synthetic Dataset Generator

💬 Natural language prompt to data

🦙 Ollama ensures secure local LLM inference

✍🏼 Argilla’s data curation capabilities complete the workflow

🔗 GitHub: buff.ly/5pX49Xc
GitHub - argilla-io/synthetic-data-generator: Build datasets using natural language
Build datasets using natural language. Contribute to argilla-io/synthetic-data-generator development by creating an account on GitHub.
buff.ly
davidberenstein.bsky.social
🔥 Text2SQL, explore and share any data analysis!

🤗 Hugging Face - Dataset Studio is an amazing new feature.

🚀 Start yourself: buff.ly/pjpOKav
davidberenstein.bsky.social
🔥 Vicinity: SEVEN semantic search BACK-ENDS, ONE single INTERFACE!

🫸 New release to push vector search to the Hub and work with any serialisable objects.

🧑‍🏫 KNN, HNSW, USEARCH, ANNOY, PYNNDESCENT, FAISS, and VOYAGER.

🔗 Library:
GitHub - MinishLab/vicinity: Lightweight Nearest Neighbors with Flexible Backends
Lightweight Nearest Neighbors with Flexible Backends - MinishLab/vicinity
buff.ly
davidberenstein.bsky.social
🔥 NEW cool NO-CODE solution for clicking together AI WEB APPS!

🎨 Gradio released "gradio sketch"

🚼 Really easy way to create web apps with minimal code.

⚙️ Start with `pip install gradio` & `gradio sketch`

📒 Release: https://buff.ly/41aeLoA
davidberenstein.bsky.social
Vector Search - let's keep it clean and lightweight! ⚡️

<100K records, no problem!
>100K, some scaling issues
ANN DuckDB index, sub-second response times

Notebook:
vector_search_with_hub_as_backend.ipynb
Run, share, and edit Python notebooks
buff.ly
davidberenstein.bsky.social
🔥 The smolagents module has arrived in the agents course!

💻 Code agents optimised for software development
🔧 Tool calling agents that create modular, function-driven workflows
🔍 Retrieval agents designed to access and synthesise information

Course: https://buff.ly/4kcj6Ai
davidberenstein.bsky.social
🧑‍🏫 Awesome. My talk for PyCon Italy 2025 got accepted!

Got data problems? Relax. Synthetic data is here to help.

Talk: https://buff.ly/3QzoZKj
davidberenstein.bsky.social
🐳 Announcing docker support to Quickly set up your Synthetic Data Generator with (Gradio + Ollama + Argilla)!

🔥 Build genuinely useful datasets using natural language!

⚖️ Scale however you need.

🔐 Use them privately or share them with the world!

🧑‍💻 GitHub: https://buff.ly/49IDSmd
davidberenstein.bsky.social
With 80K agent builders joining the agents course, it is time to make agents explorable on the Hub!

You can now search and find the perfect agents and tools for your needs!

Powered by @Gradio!

Start searching:
smolagents and tools gallery - a Hugging Face Space by davidberenstein1957
Discover amazing ML apps made by the community
buff.ly
davidberenstein.bsky.social
Image Generation has landed in Arena form 🎨🤖!

1. Describe your desired image🎨
2. Two anonymous models output images
3. Vote for the winner!

Images have been sourced from our Open Image Preference dataset!
Dataset: https://buff.ly/4il0du9
Arena: https://buff.ly/4142NwH
davidberenstein.bsky.social
Are you, the top of the Agents class?!

We just released a bonus unit on function calling (FC).

You will learn:
⑴ What is FC?
⑵ Thought → Act → Observe Cycle in FC
⑶ lightweight and efficient fine-tuning

Course: https://buff.ly/3Qn1DHB
davidberenstein.bsky.social
📹 In case you've missed the hype around smolagents, here is a presentation I gave yesterday at an MLOps community event!

library: https://buff.ly/4hj6PrJ
slides: https://buff.ly/3WUzZ8D
video:
Smol Agents and Hugging Face - Anote AI Day Summit 2025
buff.ly
davidberenstein.bsky.social
🚀 Find banger tools for your smolagents!

I created the Tools gallery, which makes tools specifically developed by/for smolagents searchable and visible. This will help with:
- inspiration
- best practices
- finding cool tools

Space: https://buff.ly/41cYctx
davidberenstein.bsky.social
🔥 Come and get those AI agents certificates!

Join the cohort of 66K students: https://buff.ly/4hxb6rK
davidberenstein.bsky.social
Documents or images to structured data using Vision Language Models

Outlines has an integration with transformers, which facilitates structured generation based on limiting token sampling probabilities.

Blog: https://buff.ly/4jFHMkr
davidberenstein.bsky.social
Local docker deployments for the synthetic data generator 🫱🏾‍🫲🏼

We would love to hear your thoughts!

PR: https://buff.ly/4hRMny6
davidberenstein.bsky.social
Curious about "Why 🚀", you may wonder?

smolagents effortlessness combined with the power of 400,000 AI tools available on the Hub!

library: https://buff.ly/4hj6PrJ
davidberenstein.bsky.social
WOW, this will rock the world! Hibiki is a model for simultaneous speech2speech translation.

And it actually works.

Available in French-English but super excited to see what the community will do.

Hub: https://buff.ly/3EtmM0f
Paper: https://buff.ly/4jIXNGd
davidberenstein.bsky.social
Agentic RAG: Applied, visual, and step-by-step! 🐾

Get familiar with the Agents and tools, not the bells and whistles!

Retrieve - Augment and now GENERATE.

Parts:
1: https://buff.ly/40XNIxM
2: https://buff.ly/40HkB0x
3:
Agentic RAG Stack (3/5) - Generate responses using a SmolLM
A Blog post by David Berenstein on Hugging Face
buff.ly
davidberenstein.bsky.social
🤯 Bring your own AI data, even if you have none!

Describe your dataset for RAG, LLMs or Text Classification
Bring your own context!
Press play and wait

Space: https://buff.ly/3Y1S99z
GitHub: https://buff.ly/49IDSmd
davidberenstein.bsky.social
Anyone can create free hosted tools for their AI agents! 🔥

Agentic RAG stack part 2 - augment
Augment retrieval results by reranking optimises content without increasing time too much

part2: https://buff.ly/40HkB0x
part1: https://buff.ly/40XNIxM
code: https://buff.ly/4hEajpj