SyncAI.news, a Varaisys broadcasting
Codex is Open Sourcing AI models
HF

Hugging Face Blog

· 1 min read

AI LabsHugging Face Blog

Codex is Open Sourcing AI models

Building on our work to get Claude Code to train open source models, we are now getting Codex to go further. We gave Codex access to the Hugging Face Skills repository, which contains skills for Machine Learning and AI tasks such as training or evaluating models. With HF skills, a coding agent can:

  • Fine-tune and apply RL alignment on language models
  • Review, explain, and act on live training metrics from Trackio
  • Evaluate checkpoints and act on evaluation results
  • Create reports from experiments
  • Export to and quantize models with GGUF for local deployment
  • Publish models to the Hub

This tutorial dives even deeper and shows you how it works and how to use it yourself. So let's get started.

Codex uses AGENTS.md files to accomplish specialized tasks, whilst Claude Code uses 'Skills'. Fortunately, 'HF-skills' is compatible with both approaches and works with major coding agents like Claude Code, Codex, or Gemini CLI.

With HF-skills, you can tell Codex something like:

Fine-tune Qwen3-0.6B on the dataset open-r1/codeforces-cots

And Codex will:

  1. Validate your dataset format
  2. Select appropriate hardware (t4-small for a 0.6B model)
  3. Use and update a training script with Trackio monitoring
  4. Submit the job to Hugging Face Jobs
  5. Report the job ID and estimated cost
  6. Check on progress when you ask
  7. Help you debug if something goes wrong

The model trains on Hugging Face GPUs while you do other things. When it's done, your fine-tuned model appears on the Hub, ready to use.

This isn't a toy demo. The extension supports the same training methods used in production: supervised fine-tuning, direct preference optimization, and reinforcement learning with verifiable rewards. You can train models from 0.5B to 7B parameters, convert them to GGUF for local deployment, and run multi-stage pipelines that combine different techniques.

GOAL: End-to-end Machine Learning experiments

So let's get started!

Setup and Install

Before starting, you'll need:

Install Codex

Install the Hugging Face Skills

Clone the repository:

Example Training Report Example Codex Response

Original source

This story was published by Hugging Face Blog. SyncAI.news shows a preview; the complete article is on the publisher's site.

Read the full story on huggingface.co

Similar News