AI & ML interests

The smollest course on post training

Recent Activity

sergiopaniegoย 
posted an update about 16 hours ago
sergiopaniegoย 
posted an update 3 days ago
view post
Post
1906
๐ŸŽ„ last talk of the year about open AI and HF today at Universidad Rey Juan Carlos for undergrad students

always a pleasure to be back at my alma mater

๐ŸŽ… slides: https://github.com/sergiopaniego/talks
  • 1 reply
ยท
sergiopaniegoย 
posted an update 4 days ago
view post
Post
1543
TRL now includes agent training support for GRPOโ€ผ๏ธ

Train ๐Ÿ•ต๏ธ agents with ๐Ÿ”ง tools, enabling interaction with external functions and APIs.

And of course, a new notebook and scripts to get you up to speed

๐Ÿ“˜ notebook tutorial: https://github.com/huggingface/trl/blob/main/examples/notebooks/grpo_agent.ipynb

๐Ÿ“‚ script examples: https://github.com/huggingface/trl/blob/main/examples/scripts/grpo_agent.py

๐Ÿ“ฆ TRL v0.26.0 release: https://github.com/huggingface/trl/releases/tag/v0.26.0
  • 2 replies
ยท
sergiopaniegoย 
posted an update 5 days ago
view post
Post
2747
ICYMI, you can fine-tune open LLMs using Claude Code

just tell it:
โ€œFine-tune Qwen3-0.6B on open-r1/codeforces-cotsโ€

and Claude submits a real training job on HF GPUs using TRL.

it handles everything:
> dataset validation
> GPU selection
> training + Trackio monitoring
> job submission + cost estimation
when itโ€™s done, your model is on the Hub, ready to use

read more about the process: https://huggingface.co/blog/hf-skills-training
sergiopaniegoย 
posted an update 6 days ago
view post
Post
2182
We just released TRL v0.26.0!

It comes packed with updates:
> Agent training with tools in GRPO
> New CISPO & SAPO losses + reasoning rewards
> vLLM quantization in colocate mode
> Dataset shuffling in SFT
> Lots of NEW examples
> Tons of fixes and documentation improvements

  • 3 replies
ยท
sergiopaniegoย 
posted an update 7 days ago
sergiopaniegoย 
posted an update 11 days ago
view post
Post
2810
Want to get started with fine-tuning but donโ€™t know where to begin? ๐Ÿค“โ˜๏ธ

Weโ€™re expanding our collection of beginner-friendly free Colab notebooks so you can learn and fine-tune models using TRL at no cost

๐Ÿ”ฌ Check out the full list of free notebooks: https://huggingface.co/docs/trl/main/en/example_overview#notebooks

๐Ÿ”ฌ If you want more advanced content, we also have a lot to cover in the community tutorials: https://huggingface.co/docs/trl/community_tutorials

And now the obvious question: what would you like us to add next?
sergiopaniegoย 
posted an update 12 days ago
view post
Post
2343
NEW: @mistralai released a fantastic family of multimodal models, Ministral 3.

You can fine-tune them for free on Colab using TRL โšก๏ธ, supporting both SFT and GRPO

Link to the notebooks:
- SFT: https://colab.research.google.com/github/huggingface/trl/blob/main/examples/notebooks/sft_ministral3_vl.ipynb
- GRPO: https://colab.research.google.com/github/huggingface/trl/blob/main/examples/notebooks/grpo_ministral3_vl.ipynb
- TRL and more examples: https://huggingface.co/docs/trl/index
  • 2 replies
ยท
sergiopaniegoย 
posted an update 14 days ago
sergiopaniegoย 
posted an update 15 days ago
view post
Post
3099
want to use open models easily through an API?

Inference Providers might be exactly what youโ€™re looking for sooo hereโ€™s a complete beginner-friendly walkthrough ๐Ÿง

https://www.youtube.com/watch?v=oxwsizy1Spw
  • 2 replies
ยท
sergiopaniegoย 
posted an update 18 days ago
view post
Post
1747
nanochat is now in transformers!

The LLM by @karpathy is officially in the library, and we wrote a blog covering: how did we port the model, differences from the original, and how to run or train it.

go read it ๐Ÿค“

nanochat-students/transformers
sergiopaniegoย 
posted an update 20 days ago
sergiopaniegoย 
posted an update 22 days ago
sergiopaniegoย 
posted an update 26 days ago
sergiopaniegoย 
posted an update 26 days ago
view post
Post
2586
we've just added several example scripts to TRL showing how to train models with GRPO using some of the new OpenEnv environments

train a model to interact with a browser (๐ŸŽฎ BrowserGym Env), play Wordle (๐ŸŽฎ Wordle Env) and moooore!

TRL (GRPO + vLLM) + OpenEnv! โšก๏ธ

๐Ÿ“ go play with them: https://github.com/huggingface/trl/tree/main/examples/scripts/openenv

๐Ÿ“ examples list: https://huggingface.co/docs/trl/main/en/example_overview#scripts
sergiopaniegoย 
posted an update 28 days ago
sergiopaniegoย 
posted an update about 1 month ago
sergiopaniegoย 
posted an update about 1 month ago
sergiopaniegoย 
posted an update about 2 months ago