开放源生态的重要性与性能现状
在机器学习领域,开源(Open Source)是具有绝对差异化优势的。我们通常区分“开放权重模型”(Open Weight Models,指非商业许可模型)和完全的“开源模型”(Open Source Models,如采用 MIT 或 Apache 2.0 等商业友好许可的 DeepSeek 模型)。不仅是权重开放,如果模型结构完全透明,意味着系统不会在用户不知情的情况下发生性能降级。
更重要的是,拥有权重意味着用户可以对其进行压缩(Quantise)或微调(Fine-tune)。对于终端用户而言,将其部署在边缘设备或浏览器中意味着实现了隐私的绝对保障,数据不会外流。这在当前安全漏洞频发的背景下尤为重要。过去有一种观点认为开源模型不如闭源模型,但这在今天已不成立。以 GLM-5.1 为例,它在处理编码任务时表现极为出色。通过人工智能分析指数(Artificial Intelligence Index)可以看到,开源模型(绿色曲线)在性能上已赶上,并将在未来的模型发布中进一步缩小差距甚至超越闭源模型(黑色曲线)。
Original English Source
So when it comes to machine learning, open source is absolutely differential. Basically you have the open weight models um that go in with non-commercial licenses. we call them open weight and then we have open source models that have uh commercially available licenses such as this one from deepseek it's called MIT license or Apache 2.0. And then there is like even more open models that have the code open. If you have like agents there, the harness is open, everything is open. And this matters even more by the fact that like yesterday or the other day it was revealed that the cloud uh performance was going down. Uh so if you if you have everything in the open, nothing changes without you knowing. no performance degradation without you knowing everything's great. Uh but on top of it, if you have access to the weights, you can shrink them, you can quantise them, you can fine-tune them if you feel like it. And it's absolute guaranteed privacy for your end user because uh you can deploy it to edge devices, browsers without the data going somewhere else. uh this matters a lot in my opinion even more these days with the security breaches and everything and there was this argument maybe few years ago that open source models aren't as good as no no this is not the case like you see for instance the latest GLM 5.1 is absolutely crashing it and I'm actually using it in my coding setup uh the this is the uh artificial analysis intelligence index and the green ones ones are open models. Meanwhile, the black ones are the closed models. And we are we just catched up and we will catch up even more with the upcoming models and stuff.
智能体生态与视觉能力的崛起
Hugging Face Hub 是所有开源发布和工作流的推理层。目前它托管了近三百万个模型、大量数据集和空间(Spaces)。在智能体生态中,模型主要分为两类:视觉语言模型(Vision LLMs, VLM)和传统的 LLM。视觉语言模型可以作为“计算机使用智能体”(Computer Use Agent),通过分析屏幕截图并知道在哪里点击,这非常酷。
一个显著趋势是,各大实验室在发布模型的第一天起就赋予其视觉能力(Day-zero with vision capabilities)。例如,Gemma 4 是一款多模态模型,同时也是一款智能体模型;此外还有 Qwen-3.5 和 Kimi-2.5。我预测未来所有模型都将具备即时的视觉能力。目前运行这些模型变得非常容易,可以通过 VLM-ML 或 Llama-CPP 的 Llama Server,只需几行代码即可完成,无需像过去那样面对高昂的摩擦成本。此外,Hugging Face 最近推出了“基准数据集”(Benchmark Data Sets)功能。在数据集页面的左侧底部,点击基准按钮,即可看到如 SWE-bench Pro 等热门基准,直观查看开源模型在编码等任务中的排名表现,从而轻松做出选择。
Original English Source
And let's go back to hugging face hub. So everything is facilitated through hugging face hub. All of the open releases. It's the inferral layer for all of your open source uh workflows. And as of now, it's hosting even more models. I should have updated the number. It's probably close to three million a lot of data sets spaces and everything but that's not all when it comes to the agentic ecosystem and this is what we are going to talk about today. So when you go to the models uh you can filter for aentic models. Uh they are mostly the trending ones and there is like two types of models in my opinion. There is the v vision LMS and then there is the LLMs and the vision LMS can also act as like a computer use agent over the screenshots. They know where to click etc. which is pretty cool. And one trend I have recently noticed is the fact that you have uh labs releasing their LLMs as vision uh with vision capabilities day zero like for instance the Gemma 4 was an omni model and still it's an agentic model there is Q1 3.5 uh there is Kimik Kimik 2.5 these were VLMs so I foresee that all of these models will be over time release day zero with vision capabilities and uh it's super easy to run this actually like you can just use like VLM ML or like llama CPP llama server uh from the get-go with like few lines of code like it used to be much more um frictiony but these days this is a not a big deal and if you want to compare open models we have recently launched this feature called benchmark data sets. So when you go to the data sets on the left hand side there is like on the bottom there is a bunch benchmark button you just click it and then you can see the popular benchmarks such as S sw ebench pro or humanities last exam or aime and others and when you go to for instance swb bench to see like how your agent is like good in coding and stuff uh you see the open models ranked according to the scores. So like currently GLM 5.1 is top of the list. So it's also easy to pick an open model these days because there's 3 million models out there and it used to be a challenge to pick different models.
利用“技能”实现智能体训练自动化
Hugging Face Hub 最近为智能体开发带来了大量新特性。例如,MCP(Model Context Protocol)服务器允许将 Hub 直接接入你的 LLM。更为科幻的是,你可以直接对智能体下达指令,例如“帮我在这个数据集上训练 Qwen-3.5”,智能体便会自动处理后台极其复杂的逻辑。
在编码智能体方面,Pi 易于设置,并能直接消费 Llama-CPP 服务;Llama-agent 则被直接烘焙在 Llama-CPP 二进制文件中,通过 Hub ID 即可执行。我个人极力推荐 Hermes Agents。它在内存管理等方面更进一步,设置向导可以处理所有内容,并轻松集成到 Slack 或 WhatsApp 中。我曾遇到 Slack 集成失败的问题,通过 Hermes Agent 请求 GLM-5.1 修复,它自主完成了修复,这标志着工作流的极大改善。此外,Hub 还新增了一种名为 Traces 的数据集类型,专门用于存储来自 Coding Agent 的会话痕迹。这些 Trace 被优雅地解析,不仅方便探索数据,更重要的是,你可以直接基于这些 traces 训练模型。
Original English Source
And if you actually want to vibe check it, HuggingFace has this ser uh service called inference providers uh which does routing for the best models to best providers like all of the providers are there. There's gro cerebras I don't know and everything and then it's super easy to compare them as well if you see like uh you have the cheapest or the fastest option actually I had to truncate it but also there is the tool used column so you can actually pick one of the open source models for the agentic use case and stuff and going back to agents after all of these uh hugging face hub shill uh hugging face hub actually recently has shipped a ton of uh features for you to use open models with agents agents and stuff and first off like there is the MCP server where you can plug hub into your LLM and there is uh skills uh which allow you to even wipe train models like you just go to your agent and say train Q1 3.5 on this data set for me and then it just trains which to me is like a sci-fi at this point because it used to not exist and like there is so many things going on in the back end and the agent actually handles them very well. And then there is the local agent. So you can run full coding agents uh locally from models with hugging face hub because we integrate very well to them. And coming to the first one so basically my talk will be consisting about all of these. Uh coming to the first one, there is the local coding agents and your options. You have like actually many many options but like one of my favorites is Pi because it's like super simple to set up. Uh basically you can I I think you can also use it with inference providers remotely but also if you want to serve like a local coding agent you can use llama CPP to serve it and then pi will directly consume that. And uh something very cool is also llama agent which is baked into llama CPP as a binary that you can just directly execute and start a model by giving hugging face hub ID. So it's super easy as well to get an local agent running. Uh I will share my slides on my Twitter account after so no need to take pictures. My one of my most favorite things these days is Hermes agents and I will just die on this hill. So this is like this is a bit one step even further to from the open claw by means of memory management and everything and it's actually super easy to get started with that and uh it is you can either use it locally or with hugging face inference provider. So for instance, I was playing with that uh like the setup wizard does everything for you. You just give the keys and stuff and then integrate into your Slack or WhatsApp or whatever and you're good to go. And I absolutely recommend using this if you want to use it with an open model. I absolutely recommend GL GLM 5.1. For instance, I actually failed initially to integrate into Slack. I have witnesses in here my colleague uh Neils this year and um I asked GLM 5.1 to fix it with the Hermes agent and it's fixed on its own and it's it's uh it was a good day like uh I I think GLM 5.1 is a very good model and I cannot I can't absolutely wait to use it with Gemma 4 but also this weekend there is like on Twitter there was a rumor ignored uh minimax model coming up. So I will also probably try with that and share my findings. So I absolutely recommend using her agent with the open models. And one more thing so basically uh hugging face hub now has a new data set repository type called traces. And this is basically all of your uh codeex uh cloud code or pi traces they host it. And for instance if you go to your um if you pushed uh a trace uh and then you go over there you will see in the data set viewer if you click on the traces column uh it pops up like this. It is very nicely parsed and you can just explore your data and then later if you want you can even train a model on that which is pretty cool in my opinion. And uh if you want to push your agent traces you can just upload your sessions from uh these uh paths and nothing else is needed. And we will also probably have Hermes agent very soon for traces.
模型本地服务与超级技能组合
在寻找适合本地部署的模型时,Hugging Face 的“Apps”标签下整合了 LM Studio、Llama-CPP 等本地服务工具。通过模型库的 GGUF 格式支持,用户可以轻松进行硬件兼容性判断,例如将 Gemma 4 量化为 4-bit 即可在具有 24GB VRAM 的 L4 GPU 上运行。
此外,通过 Hugging Face 技能(Skills),可以将编码智能体进行“超级充电”。例如,使用 HF CLI Skill 管理仓库和运行作业;LLM Trainer Skill 不仅适用于 LLM,也适用于视觉语言模型,智能体在后台会自动计算 fine-tune 模型所需的 VRAM 并自动启动作业,无需繁琐的数学计算。我们还支持 MCP 集成,可以通过自然语言查询 Spaces(AI 应用商店),实现包括图像生成在内的多种功能。最后,我们利用这些工作流自动化 OCR 任务——比如对 30,000 篇论文进行 OCR。只需 pick 一个高性能的 OCR 模型,让 LLM 编写处理脚本,并在 Hub Infra 上启动任务,即可实现无缝的自动化流水线,极大地降低了技术门槛。
Original English Source
uh going back if you want to use if you want more options to serve LLM behind the agent locally. So some tips and tricks in finding a good model. You just go to hugging face. There is an other tab. Under the other tab there is the apps. So these apps are like lm studio, jean, um, llama, cpp everything that is for local serving is over there. And when you filter for them, you have the models that are supported by these uh by these uh local apps. So whatever you want to serve, we have you covered. And when you go to the model repository, something very cool in my opinion is that on the left and right hand side there is GGUF uh section. So basically GGF if you don't know it's supported it's it's basically comes in llama CPP the file uh format uh that is supported in many things like all llama LM studio everything and you have the hardware compatibility for instance the Gemma 4 larger model if you quantize it to 4bit it fits inside an L4 GPU uh with the 24 GB of VRAM. So I think this is very cool and this is also served to uh MLX repositories as well. And when you go to the again to the model repository if you have absolutely zero clue on how to serve this model on top right there is use this model and you have the options of the local apps that the model is supported in. And when you click that you see like only with few lines of command uh that you can run you install you get the model served and voila. It's very very convenient to run the open models these days and lastly supercharging your coding agents using hugging face skills. So there is we have like bunch of skills in order to get you started with training uh I don't know inferring with the open models using open models exploring open data sets using AI apps everything and uh we have this thing called hugging face CLI skill which allows coding agents to manage repositories uh run jobs launch demos and everything and this is how you can install it uh you can just uh type HF skills on Google and you will find the uh commands. Uh but we have more skills than that. So basically this allows you to plug hub in into your agents like give you all of the uh hugging face hub exploration. But rest of the skills are super cool. There is LLM trainer skill. Basically this is uh this is not only for LLMs but also visual language models. You can just tell the model to okay train this model on this data set and it will just kick off the job remotely uh on our infra or like locally wherever you want. And there is gradu skill which allows you to build demos. And there is hugging face data set skill which allows you to uh explore data sets through our data set viewer API and you can install it very easily. Again we come with more integrations. I just put cloud and gemini here. So putting this into action for instance I asked the model uh to I asked cloud code to say hey can you train qan2vl on lava instruct mix which is like a vision language data set and it asked me a few questions. It said okay which instance would you like this to go in because you have multiple options. uh the model actually like in the back end the agent actually uh calculates the amount of VRAM required to run fine-tune that model in a given batch size and everything. So it handles everything for you. It just asks you a few questions. Okay, what is your validation split? Blah blah. And then it just launches the job which to me is absolute sci-fi still to this day as a person who have been training models since I don't know beginning of my career like six six years and you at the end you just find your model on hub and this is not limited to LLMs and VLMs I have recently shipped um skills for for instance training object detectors or I don't know segmenting model and everything for vision. It handles for instance different bounding box types and everything. You just give the command and let it handle everything. And going back to MCP, what do we serve? Uh we have models, data set spaces, search for your task, uh semantic search for spaces. So if you don't know spaces, it's like the app store of AI. You have a ton of uh apps over there for absolutely everything you could see. And also we have something called jobs which allows you to kick off uh one of jobs that ends like uh if it fails or if it succeeds and you pay for the amount of time it was up. And also you can query these apps from MCP like I'm going to show you shortly. But it plays nicely with all of your favorite platforms. And so for instance in here I ask the model generate image of a bakl lava made of yarn and then it will call uh the hugging face of qan image which is an image generation model hosted remotely and then it will query that and it will bring um the output of that. It works very nice look. But you need to turn on there is a setting in the MCP called dynamic spaces. If you want more options of like if you want absolutely all of the spaces, you need to turn that on which is a bit of bit experimental. And here is some few ideas that you can use spaces MCP. Uh but you're absolutely not limited to those. And tying it all together, my colleague Neils has built something I which I found cool so I wanted to share. So basically on hugging face hub there is papers and these papers basically AI related papers. We want people to be able to ask questions to these papers or share h but not all of the papers come with markdown uh which the model which we can index and stuff. So we OCR 30 30,000 papers uh using codecs open OCR models and jobs all through prompting which is a bit crazy. So the steps to do that is firstly pick an OCR model that is cheap and nice and performance. Ask the LLM to kick off a processing job and actually write the code for that and then kick it off on hugging face infra and then let the skill set up the instance of hosting that model and everything without you going through the pain of the napkin math and then profit. So to pick an OCR model you need to um you need you can go to OCR bench which is a benchmark data set that I have previously shown you. The first result is Chandra OCR but don't be fooled by this. We have just today shipped a skill that you can just ask the model okay what is the best model on OCR for fine-tuning and it will also make recommendations around finetuning and stuff. So if you need like smaller models etc it will handle everything for you with this skill. So it's pretty cool. Check it out. Um once you pick the model okay we in this case we use Chandram. uh we asked model to write the script and it did and then the agent just does the napkin math for the instance and uh calculates the cost of the running job and everything and then these jobs will be so so basically these jobs will be rerun. So we have recently launched this infra product called buckets which is like a A3 buckets but much cheaper and faster um that you can use with mounting and yeah basically um you can just use that and you can get started uh in these links. I hope you like this talk. Thank you so much.