DuoMDuoM
DuoM: MCP servers, skills and rules for your agent, checked before installContact: studo.doum@gmail.comDocsFor makersReportTermsPrivacy
MCPSkillsStacksRulesDocs
Sign in
ML

Machine Learning with Hugging FaceStack

by DUOMReport

Train, demo and share models: Hugging Face skills for the Hub CLI, TRL training, Gradio, Spaces and Transformers.js, with Python rules and notebooks.

AI & models7 itemsUpdated yesterdaystack/hugging-face-ml

Install

Run in your project folder (DuoM CLI: risk check, then write; undo with npx duom@1 undo)
npx duom@1 add stack/hugging-face-ml --client claude-code

Writes to each member's own place (where Claude Code reads it).

What is in it

  • P
    Python

    Rules for Python projects: virtual environments, type hints, pathlib, tests with pytest, and no bare except.

    Rule
  • Hf Cli

    Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub. Use when: handling authentication; managing local cache; managing Hugging Face Buckets; running or scheduling jobs on Hugging Face infrastructure; managing Hugging Face repos; discussions and pull requests; browsing models, datasets and spaces; reading, searching, or browsing academic papers; managing collections; querying datasets; configuring spaces; setting up webhooks; or deploying and managing HF Inference Endpoints. Make sure to use this skill whenever the user mentions 'hf', 'huggingface', 'Hugging Face', 'huggingface-cli', or 'hugging face cli', or wants to do anything related to the Hugging Face ecosystem and to AI and ML in general. Also use for cloud storage needs like training checkpoints, data pipelines, or agent traces. Use even if the user doesn't explicitly ask for a CLI command. Replaces the deprecated `huggingfa

    Skill
  • Trl Training

    Post-train LLMs with TRL (Transformers Reinforcement Learning) — SFT, DPO, GRPO, KTO, and reward-model training. Use when writing or debugging training code with the TRL Python API or the trl CLI.

    Skill
  • Huggingface Gradio

    Build Gradio web UIs and demos in Python. Use when creating, modifying, debugging, or answering questions about Gradio and its capabilities, components, event listeners, or layouts.

    Skill
  • Huggingface Spaces

    Build, deploy, and maintain applications on Hugging Face Spaces — Gradio / Docker / Static SDKs, ZeroGPU and dedicated hardware, model loading, debugging, buckets, inference providers, community grants. Use whenever the user asks to create or host an app on Hugging Face, port code onto ZeroGPU, fix a Space that won't build or run, or otherwise work with `hf spaces …`, `@spaces.GPU`, Space README frontmatter, or the `spaces` Python package.

    Skill
  • Transformers Js

    Use Transformers.js to run state-of-the-art machine learning models directly in JavaScript/TypeScript. Supports NLP (text classification, translation, summarization), computer vision (image classification, object detection), audio (speech recognition, audio classification), and multimodal tasks. Works in browsers and server-side runtimes (Node.js, Bun, Deno) with WebGPU/WASM using pre-trained models from Hugging Face Hub.

    Skill
  • Jupyter Notebook

    Use when the user asks to create, scaffold, or edit Jupyter notebooks (`.ipynb`) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script `new_notebook.py` to generate a clean starting notebook.

    Skill

Risk signals ▲ Caution 1

  • medium · skill.remote-exec
    Downloads code from the internet and runs it straight away
    Hf Cli: SKILL.md:6: Install: `curl -LsSf https://hf.co/cli/install.sh | bash -s`.
  • info · skill.scripts
    Includes scripts the agent may run on your machine
    Jupyter Notebook: scripts/new_notebook.py

The signals of every member of this stack. Each member is checked on its own page.