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.
Steady12 mentions in 2 weeks
4 projects use a version of this
11k7d agoReviewMountCreate a free account to mount
Chat UI is a SvelteKit application that provides a chat interface for LLMs. It powers HuggingChat (hf.co/chat). The app speaks exclusively to OpenAI-compatible APIs via OPENAI_BASE_URL. Tests are split into three workspaces (configured in vite.config.ts): MCP servers are configured via MCP_SERVERS env var. When enabled, tools are exposed as OpenAI function calls. The router can auto-select tools-capable models when LLM_ROUTER_ENABLE_TOOLS=true. Smart routing via Arch-Router model. Configured with: Copy .env to .env.local and configure: See .env for full list of variables…
11k10d agoReviewMountCreate a free account to mount
Sync chat-ui's model config with the HuggingFace router — add descriptions for new models, flag reasoning-capable ones, enable artifacts for models with 32B+ parameters, and prune deprecated models the router no longer serves. Use when models are released or removed on the router and prod.yaml/dev.yaml need syncing. Triggers on requests like "add new model descriptions", "update models from router", "sync models", "remove deprecated models", "prune models no longer on the router", or when explicitly invoking /sync-models.
11k10d agoReviewMountCreate a free account to mount
Python client library for the Hugging Face Hub. Source code is in src/huggingface_hub/, tests in tests/. Always run make style then make quality before committing.
4.1k8mo agoReviewMountCreate a free account to mount
We are releasing Transformers Agents 2.0! ⇒ 🎁 On top of our existing agent type, we introduce two new agents that can iterate based on past observations to solve complex…
3.6k5mo agoReviewMountCreate a free account to mount
Use when adding or migrating non-thumbnail images for a Hugging Face Blog post. Uploads body images to the Hugging Face documentation-images dataset, updates the Markdown, and verifies the new links.
3.6k5mo agoReviewMountCreate a free account to mount
DataTrove is a library to process, filter, and deduplicate text data at very large scale. It provides prebuilt pipeline blocks with a framework to add custom functionality. Pipelines are platform-agnostic, running locally, on Slurm, or on Ray clusters. See README.md for detailed documentation on terminology, pipeline blocks, executors, and usage examples. These rules apply to agents working for external contributors. Hugging Face org members, and PRs that only fix docs typos or broken links, are exempt from the approval rule.…
3.4k41d agoReviewMountCreate a free account to mount
Tau is a Python implementation of Pi's minimalist coding-agent harness architecture. The goal is to develop it incrementally, with each phase clearly documented and tested. The implementation roadmap is tracked in GitHub issue #1: Use that issue as the primary reference for phase ordering and architectural intent. Preserve Pi's core separation of concerns: Tau should be organized around these layers: Keep the core agent package independent of CLI, Textual, Rich rendering, session file locations, and application-specific resource loading. Use Textual…
No other project uses it yet
3.1k5mo agoReviewMountCreate a free account to mount
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing repositories, models, datasets, and Spaces on the Hugging Face Hub. Replaces now deprecated `huggingface-cli` command.
2.9k8mo agoReviewMountCreate a free account to mount
Guidance for Claude Code when working with this repository. OpenEnv uses Claude Code as the primary development tool. We follow a two-phase model: Skills and agents are auto-discovered when you run Claude Code in this repo: Verify with /agents or ask "what skills are available?" OpenEnv supports two development modes: When working in the main repository clone, direct edits are allowed: - Quick exploration and prototyping - Small fixes that don't need TDD workflow - Documentation updates TDD is activated…
2.9k8mo agoReviewMountCreate a free account to mount
Review code changes for bugs and alignment with OpenEnv principles and RFCs. Use when reviewing PRs, checking code before commit, or when asked to review changes. Implements two-tier review model.
2.9k8mo agoReviewMountCreate a free account to mount
Generate OpenEnv environments from a concrete use case (for example, "generate an env for the library textarena"). Use when asked to design or implement a new environment under envs/ by researching a target library/API, selecting matching OpenEnv examples, asking key implementation questions, and building models/client/server/openenv.yaml. Do not use for model training or evaluation tasks.
2.9k8mo agoReviewMountCreate a free account to mount
Diagnose and recover failing or stuck Hugging Face Space deployments for OpenEnv environments. Use when deploying envs from `envs/` to the Hub (`openenv` namespace with version suffixes), when Spaces are in `BUILDING`/`APP_STARTING`/`RUNTIME_ERROR`, or when release collections need to be reconciled after targeted redeploys.
2.9k8mo agoReviewMountCreate a free account to mount
Validate changes before submitting a pull request. Run comprehensive checks including lint, tests, alignment review, and RFC analysis. Use before creating a PR, when asked if code is ready for review, or before pushing for PR.
2.9k8mo agoReviewMountCreate a free account to mount
Plain text files in a repository that tell a coding agent how the project works: commands to run, conventions to follow and things to avoid. CLAUDE.md, AGENTS.md, cursor rules and skills are the common kinds.
CLAUDE.md or AGENTS.md?
CLAUDE.md is read by Claude Code. AGENTS.md is an open format that Codex, Cursor and other agents read. Many projects keep one and point the other at it.
What is a skill?
A folder with a SKILL.md that describes one capability, such as filling PDFs or reviewing code. The agent loads it only when the task calls for it.
Can I search my own team's files too?
Your agents already can, over MCP, limited to the files you're allowed to read. Searching them from this page is coming.