Blog

Posts

61 posts
Deep Research with LangGraph: Build an AI Research Assistant from Scratch

Deep Research with LangGraph: Build an AI Research Assistant from Scratch

Learn how neural networks work from scratch with a practical linear regression example. This beginner-friendly tutorial explains artificial ...

MCP Elicitation: Implementing Elicitation in Servers with FastMCP and Python

MCP Elicitation: Implementing Elicitation in Servers with FastMCP and Python

Learn how to implement elicitation in MCP (Model Context Protocol) servers with FastMCP. Complete step-by-step tutorial to create an intelli...

MCP Durability: Server and Client with Persistence for Long-Running Tasks

MCP Durability: Server and Client with Persistence for Long-Running Tasks

Learn to build durable MCP server and client for long-running tasks with persistence. Complete Model Context Protocol tutorial featuring SQL...

Resumable MCP: How to Build Servers and Clients with Automatic Checkpoints

Resumable MCP: How to Build Servers and Clients with Automatic Checkpoints

Learn to build resumable MCP servers and clients with automatic checkpoint capabilities. Complete tutorial on implementing task interruption...

Stream Information in MCP: Complete Guide to Real-time Progress Updates with FastMCP

Stream Information in MCP: Complete Guide to Real-time Progress Updates with FastMCP

Learn how to implement real-time streaming in MCP (Model Context Protocol) applications using FastMCP. This comprehensive guide shows you ho...

MCP: Complete Guide to Create servers and clients MCP (Model Context Protocol) with FastMCP

MCP: Complete Guide to Create servers and clients MCP (Model Context Protocol) with FastMCP

Learn what is the Model Context Protocol (MCP), the open-source standard developed by Anthropic that revolutionizes how AI models interact w...

Agents patterns

Agents patterns

Are your agents falling short? Elevate your AI projects with advanced patterns: ReAct, planning, multi-agents, and more. Practical guide wit...

LangGraph: Revolutionize your AI agents

LangGraph: Revolutionize your AI agents

🚀 Revolutionize your AI agents! 🧠 LangGraph is not just another library, it's the orchestration framework that gives you total control to ...

Create virtual environments with uv

Create virtual environments with uv

Learn how to create virtual environments with uv, a package manager and environment for Python written in Rust, which makes it very fast. If...

Make a real-time AI application with FastRTC

Make a real-time AI application with FastRTC

If you have problems making a real-time AI application, FastRTC can help you. In this post I explain how to use it.

Generate videos with Wan2.1-T2V-14B and Inference Providers

Generate videos with Wan2.1-T2V-14B and Inference Providers

Do you want to have your own Sora, but also generate good videos? In this post I explain how to do it with HuggingFace Inference Providers a...

Deploy backend with LLM in HuggingFace

Deploy backend with LLM in HuggingFace

Do you want to deploy a backend with your own LLM? In this post I explain how to do it with HuggingFace Spaces, FastAPI, Langchain and Docke...

Langchain with open source integrations

Langchain with open source integrations

Learn how to use Langchain with the most popular open-source integrations. In this post, we will explore how to integrate Langchain with Chr...

unittest

unittest

Refactoriza sin miedo 🛠️ gracias a los test unitarios. En este post vas a aprender a hacer test unitarios en Python con la librería unittes...

RAG fundamentals

RAG fundamentals

Forget about Ctrl+F! 🤯 With RAG, your documents will answer your questions directly. 😎 Step-by-step tutorial with Hugging Face and ChromaD...

Conventional commits

Conventional commits

😠 Are your commits written in alien language? 👽 Join the club! 😅 Learn Conventional Commits in Python and stop torturing your team with c...

DoLa – Decoding by Contrasting Layers Improves Factuality in Large Language Models

DoLa – Decoding by Contrasting Layers Improves Factuality in Large Language Models

Have you ever talked to an LLM and they answered you something that sounds like they've been drinking machine coffee all night long 😂 That'...

QLoRA: Efficient Finetuning of Quantized LLMs

QLoRA: Efficient Finetuning of Quantized LLMs

Hello everyone! 🤗 Today we are going to talk about QLoRA, the technique that will allow you to make your language models more efficient and...

GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers

GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers

Attention developers! 🚨 Do you have a language model that is too big and heavy for your application? 🤯 Don't worry, GPTQ is here to help y...

llm.int8() – 8-bit Matrix Multiplication for Transformers at Scale

llm.int8() – 8-bit Matrix Multiplication for Transformers at Scale

Get ready to save space and speed up your models! 💥 In this post, I'm going to explore the llm.int8() method, a quantization technique that...

LLMs quantization

LLMs quantization

Imagine having a giant language model that can answer any question, from the capital of France to the perfect brownie recipe! 🍞️🇫🇷 But wh...

LoRA – low rank adaptation of large language models

LoRA – low rank adaptation of large language models

Get ready to take your model adaptation to the next level with LoRA! 🚀 This low-rank adaptation technique is like a superhero cape for your...

Fine tuning Florence-2

Fine tuning Florence-2

You've already got Florence-2 on your radar, but now you want to take it to the next level! 🚀 It's time for fine-tuning! 💻 In this post, I...

Fine tuning SMLs

Fine tuning SMLs

😂 Tuning small language models? Please, you're not 'tuning', you're just desperately trying to get some sense out of a model that's about a...

GPT-2 – Language Models are Unsupervised Multitask Learners

GPT-2 – Language Models are Unsupervised Multitask Learners

Unlock the power of text generation with GPT-2, the latest open model from OpenAI 💸! 🚀 In this post, I take you by the hand through the ar...

Florence-2

Florence-2

Attention everyone! 🚨 We have a new king in town! 👑 Florence-2, the multimodal model that is revolutionizing the artificial intelligence g...

GPT1 – Improving Language Understanding by Generative Pre-Training

GPT1 – Improving Language Understanding by Generative Pre-Training

Unlock the power of language!!!! 💥 In my last post, I take you by the hand through the GPT-1 paper, explaining in a clear and concise way h...

BPE tokenizer

BPE tokenizer

🔍 Discover the secret of tokenization! 🔑 I reveal you the mysteries of BPE (Byte Pair Encoding) tokenization, one of the most popular and ...

Hugging Face Optimun

Hugging Face Optimun

Attention, slow PyTorch models! 🐌 Optimun, the Hugging Face library, comes to the rescue to speed up your workouts and inferences. With Opt...

Ollama

Ollama

🏃 Run any LLM on your computer, whether it is a NASA spacecraft 🚀 or a coffee maker 🫖. With Ollama you have the facility to use any langu...

HuggingFace Accelerate

HuggingFace Accelerate

Speed up your training with HuggingFace Accelerate

Hugging Face Evaluate

Hugging Face Evaluate

Forget sleepless nights calculating metrics and losing your mind with evaluate for your NLP models! 😩 Hugging Face's evaluate library is th...

Hugging Face Datasets

Hugging Face Datasets

Wake up, AI developer! ☕️ Stop wasting your time loading and preprocessing data like a slave 🙅‍♂️ and discover Hugging Face's datasets libr...

Hugging Face Transformers

Hugging Face Transformers

🤖 Transform your world with Hugging Face Transformers! 🚀 Ready to make magic with natural language? From super-fast techniques with pipeli...

git-sim

git-sim

If you are afraid 😱 to use git commands, come in and learn how to test them easily and graphically with git-sim 😊

Hugging Face Tokenizers

Hugging Face Tokenizers

📄 ➡️ 🔤 Explore the power of the Hugging Face Tokenizers library for natural language processing in AI. Discover how this essential tool tr...

Transformers – from top to the bottom

Transformers – from top to the bottom

Discover transformers 🚀. Learn the architecture behind all the new language models. Don't ask an AI, come in and learn

ChromaDB

ChromaDB

Discover how ChromaDB redefines vector data search and management for AI applications, with ultra-fast and accurate similarity searches in h...

Regular expressions

Regular expressions

It explores the power and precision of regular expressions, essential tools in programming that allow describing patterns in text strings fo...

CSS

CSS

CSS, or Cascading Style Sheets, is a fundamental technology in web design that allows developers and designers to style and present HTML doc...

Mixtral-8x7B

Mixtral-8x7B

Discover the fashion model in the world of AI

Embeddings similarity measure

Embeddings similarity measure

Discover how similarity is measured between embeddings, the basis of the attention mechanism of transformers and RAG algorithms

Embeddings

Embeddings

Discover the power of embeddings

Tokens

Tokens

Discover what tokens are and how words are divided into minimum units of word representation

OpenAI API

OpenAI API

🚀 Discover the power of the OpenAI API in this post! 🌟 Learn how to install the OpenAI library ✨ and I'll guide you through the first step...

HTML

HTML

Learn HTML, the markup language used to create web pages. Learn how to structure the content of a web page and format it with HTML.

Fail2ban

Fail2ban

🛡️ 💻 Raise your security game! Dive into this tutorial and find out how Fail2Ban helps you stop brute force attacks in their tracks. From ...

Caffeine

Caffeine

🚀 Wake up, Ubuntu! ☕ With Caffeine for Linux, say goodbye to those annoying sleep modes just when you least expect it. Work marathon? Etern...

Conda

Conda

Conda vs Pip - the eternal battle! Find out why Conda wears the champion belt 🥊 and how Mamba is not just a dance, but the turbo your data ...

Git

Git

Have you rewritten that code that took you hours to do? Don't panic! With GIT, say goodbye to Oops, I deleted it. Join me on this adventure ...

Whisper

Whisper

👂 You don't get to gossip what the first one says? With whisper you can not only do it, but also translate it if you want. Log in and learn...

SSH

SSH

Connecting securely is essential in today's digital world. Discover how SSH allows you to establish encrypted communications between your ma...

Blip2

Blip2

🤯 Can you imagine that you can add images to a gpt chat and ask questions about them? With Blip2 you can, log in and learn how

How Neural Networks Work: Linear Regression and Gradient Descent Step by Step

How Neural Networks Work: Linear Regression and Gradient Descent Step by Step

Learn how a neural network works with Python: linear regression, loss function, gradient, and training. Hands-on tutorial with code.

Neural Networks: A Brief History, AI Winter, the 2012 Breakthrough, and the mainstream of 2022

Neural Networks: A Brief History, AI Winter, the 2012 Breakthrough, and the mainstream of 2022

Learn how neural networks work, their history since the 1950s, the AI Winter, and how ImageNet revolutionized AI in 2012. Beginner-friendly ...

Bash scripting

Bash scripting

Feel like an old school programmer 🐧 with this post about bash scripting.

Docker

Docker

🐳 Create as many development environments as you want with Docker. No more On my machine it works

Terminal

Terminal

🟢 Feel like a real hacker 🖥 knowing everything about the terminal 💻. Get inside and start handling ⌨ the terminal like a pro.

Data management with Pandas

Data management with Pandas

📊 Manage data 📝 easily with Pandas 📖

Matrix calculation with NumPy

Matrix calculation with NumPy

🟢 Learn to do all the matrix calculation you want in an agile way with NumPy

Python introduction

Python introduction

Python 🐍 is one of the programming languages 💻 MOST USED. Enter and learn everything you need about Python 🐍

Continue reading

Last posts -->

Have you seen these projects?

Gymnasia

Gymnasia Gymnasia
React Native
Expo
TypeScript
FastAPI
Next.js
OpenAI
Anthropic

Mobile personal training app with AI assistant, exercise library, workout tracking, diet and body measurements

Horeca chatbot

Horeca chatbot Horeca chatbot
Python
LangChain
PostgreSQL
PGVector
React
Kubernetes
Docker
GitHub Actions

Chatbot conversational for cooks of hotels and restaurants. A cook, kitchen manager or room service of a hotel or restaurant can talk to the chatbot to get information about recipes and menus. But it also implements agents, with which it can edit or create new recipes or menus

View all projects -->
>_ Available for projects

Do you have an AI project?

Let's talk.

maximofn@gmail.com

Machine Learning and AI specialist. I develop solutions with generative AI, intelligent agents and custom models.

Do you want to watch any talk?

Last talks -->

Do you want to improve with these tips?

Last tips -->

Use this locally

Hugging Face spaces allow us to run models with very simple demos, but what if the demo breaks? Or if the user deletes it? That's why I've created docker containers with some interesting spaces, to be able to use them locally, whatever happens. In fact, if you click on any project view button, it may take you to a space that doesn't work.

Flow edit

Flow edit Flow edit

FLUX.1-RealismLora

FLUX.1-RealismLora FLUX.1-RealismLora
View all containers -->
>_ Available for projects

Do you have an AI project?

Let's talk.

maximofn@gmail.com

Machine Learning and AI specialist. I develop solutions with generative AI, intelligent agents and custom models.

Do you want to train your model with these datasets?

short-jokes-dataset

HuggingFace

Dataset with jokes in English

Use: Fine-tuning text generation models for humor

231K rows 2 columns 45 MB
View on HuggingFace →

opus100

HuggingFace

Dataset with translations from English to Spanish

Use: Training English-Spanish translation models

1M rows 2 columns 210 MB
View on HuggingFace →

netflix_titles

HuggingFace

Dataset with Netflix movies and series

Use: Netflix catalog analysis and recommendation systems

8.8K rows 12 columns 3.5 MB
View on HuggingFace →
View more datasets -->