smolagents

Team
community
Activity Feed

AI & ML interests

None defined yet.

Recent Activity

anditoย 
published a Space 2 days ago
anditoย 
published a Space 2 days ago
albertvillanovaย 
posted an update 10 days ago
view post
Post
243
Day-0 Mistral Large 4 support in TRL ๐Ÿš€

- LoRA SFT of the 1T-A52B model on one 8xB300 node, on top of the FP8 checkpoint
- Experts split 8 ways with expert parallelism, everything else sharded with FSDP, all set at load time
- Assistant-only loss out of the box with its training chat template
- ~32.7k tokens per step in ~8 s

Script + Slurm launcher ๐Ÿ‘‡
https://github.com/huggingface/trl/tree/main/examples/sft_mistral_large_4
https://huggingface.co/posts/sergiopaniego/408182860646834
evalstateย 
posted an update 3 months ago
view post
Post
2,201
Hugging Face MCP Server v0.4.9
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attach images from hf_fs tool.
evalstateย 
posted an update 4 months ago
view post
Post
1,463
Hugging Face MCP Server v0.3.29
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Included "papers" in the new hf_fs tool. Includes listing of trending/daily.

This is a new tool under observation - disable the "Paper Semantic Search" tool for best results.

hf://papers/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ daily/
โ”‚   โ”œโ”€โ”€ latest
โ”‚   โ””โ”€โ”€ YYYY/
โ”‚       โ””โ”€โ”€ MM/
โ”‚           โ””โ”€โ”€ DD/
โ”œโ”€โ”€ trending/
โ””โ”€โ”€ ARXIV_ID/
    โ”œโ”€โ”€ metadata.json
    โ”œโ”€โ”€ paper.md
    โ”œโ”€โ”€ models/
    โ”œโ”€โ”€ datasets/
    โ””โ”€โ”€ spaces/

albertvillanovaย 
posted an update 4 months ago
view post
Post
4,604
๐ŸŽ‰ KTO is now part of the stable TRL API

As of Promote KTO to stable API, KTOTrainer and KTOConfig have graduated from trl.experimental to the stable trl API. https://github.com/huggingface/trl/pull/6175

This one closes out a long road. Over the past 6+ months, the "Align KTO with DPO" effort landed ~90 PRs methodically bringing KTO up to the standard we hold for stable trainers, one carefully-scoped change at a time:
- Feature parity with DPO: full VLM support (incl. multi-image), sync_ref_model, PEFT + Liger, ZeRO-3 + PEFT dtype fix, pad_to_multiple_of, activation offloading, IterableDataset and dict eval_dataset, remove_unused_columns, and reference-logprob precomputation at init.
- Consistency with DPO: aligned method order and signatures, tokenization, _prepare_dataset, PEFT handling, ref-model preparation for distributed training, and config layout โ€” plus a new DataCollatorForKTO and output format. Metrics moved into _compute_loss and simplified to direct averages via the shared _metrics attribute.
- Removing legacy baggage: dropped encoder-decoder support, BOS/EOS handling, null_ref_context, generate_during_eval, model_init, preprocess_logits_for_metrics, model/ref adapter names, and several dead config knobs.
- Coverage: a full test suite mirroring DPO, text collator tests, VLM tests, and slow tests.
- The promotion itself: the experimental โ†’ stable move (#6175) and shim cleanup (#6287), handled so downstream users get a clean deprecation path.

Honestly, this has been one of the more complex tasks I've taken on since joining the team, not because any single change was hard, but because it demanded sustained consistency across a ~2,000-line trainer, with every branch, comment, and edge case kept in lockstep with DPO.

Huge thanks to everyone who reviewed along the way (especially @qgallouedec ), the incremental review cadence is exactly what kept this maintainable.

KTO now sits on equal footing with our other flagship trainers. ๐Ÿš€
  • 2 replies
ยท
abidlabsย 
posted an update 4 months ago
evalstateย 
posted an update 5 months ago
view post
Post
3,500
Hugging Face MCP Server v0.3.17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SEP-2640 "Skills Over MCP" support added (early access)
  • 3 replies
ยท
victorย 
posted an update 6 months ago
view post
Post
6,936
Sharing how I built the LongCat-Video-Avatar 1.5 Space (+500k views on X) in one agent session. Gave a coding agent its own AI lab on ZeroGPU, framed the goal, walked away. It designed, deployed, tested against the live API, fixed, shipped.

Full recipe with the copy-paste prompt: https://huggingface.co/blog/victor/building-zerogpu-spaces-autonomously
  • 1 reply
ยท
evalstateย 
posted an update 6 months ago
view post
Post
385
Hugging Face MCP Server v0.3.13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The hf_jobs tool allows mounting of volumes with hf:// URI's and some additional notes about use for data analysis.
evalstateย 
posted an update 6 months ago
view post
Post
2,251
Hugging Face MCP Server v0.3.12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The hub_repo_details tool now enables Dataset inspection (view splits, sample rows).
evalstateย 
posted an update 6 months ago
view post
Post
340
Hugging Face MCP Server v0.3.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reverted mcp bucket in favour of upcoming MCP App integration.