---
title: "Codex is Open Sourcing AI models"
description: "Hugging Face Skills, a repository of agent instructions loaded via AGENTS.md (or Claude Code Skills), lets OpenAI Codex run end-to-end fine-tuning experiments on Hugging Face Jobs."
url: "https://swe.quest/articles/codex-is-open-sourcing-ai-models-fa17d18abe8d9c1f"
canonical: "https://huggingface.co/blog/hf-skills-training-codex"
source: "Hugging Face"
published: "2025-12-11"
difficulty: "medium"
kind: "How-to"
reading_minutes: 18
tags: ["model-training","ai-agents","ai-coding","evals"]
---

# Codex is Open Sourcing AI models

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2025-12-11, 18 min read, How-to. Original: [https://huggingface.co/blog/hf-skills-training-codex](https://huggingface.co/blog/hf-skills-training-codex)

## Summary

Hugging Face Skills, a repository of agent instructions loaded via AGENTS.md (or Claude Code Skills), lets OpenAI Codex run end-to-end fine-tuning experiments on Hugging Face Jobs. From a short prompt it validates the dataset, picks hardware, submits TRL training (SFT, DPO, GRPO), tracks metrics in Trackio, runs lighteval evaluations and keeps a markdown experiment report up to date. In the walkthrough, a LoRA SFT of Qwen3-0.6B on open-r1/codeforces-cots raises HumanEval pass@1 from about 0.30 to 0.34, and the model is then converted to quantized GGUF for llama.cpp. Rough costs are $1-2 for models under 1B, $5-15 for 1-3B and $15-40 for 3-7B with LoRA, and models above 7B are not yet supported.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- LLM fine-tuning basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- Hugging Face Hub
- LoRA

## Keywords

Codex, Hugging Face Skills, TRL, Trackio, Qwen3, GGUF, lighteval, MCP

## Related posts

- [We Got Claude to Fine-Tune an Open Source LLM](https://swe.quest/articles/we-got-claude-to-fine-tune-an-open-source-llm-b2f9fccf5ad1d82f.md): Hugging Face · 2025-12-04 · Medium · 12 min read · Model training, AI agents, AI for coding, LLMs
  Hugging Face Skills, specifically the hf-llm-trainer skill, lets coding agents like Claude Code, Codex and Gemini CLI run a full LLM fine-tuning lifecycle.
- [Personal Copilot: Train Your Own Coding Assistant](https://swe.quest/articles/personal-copilot-train-your-own-coding-assistant-058d44307821dd4e.md): Hugging Face · 2023-10-27 · Hard · 15 min read · Model training, AI for coding, LLMs
  HugCoder is a code LLM fine-tuned on the top 10 Hugging Face GitHub repositories, built by cloning repos in parallel, filtering non-code files and training StarCoder with a fill-in-the-middle objective.
- [Train AI models with Unsloth and Hugging Face Jobs for FREE](https://swe.quest/articles/train-ai-models-with-unsloth-and-hugging-face-jobs-for-free-6587fc68358b0d7c.md): Hugging Face · 2026-02-20 · Medium · 4 min read · Model training, AI agents, LLMs, Python
  Unsloth on Hugging Face Jobs can fine-tune small models like LiquidAI/LFM2.5-1.2B-Instruct on managed cloud GPUs.
- [CoderForge-Preview: SOTA open dataset for training efficient coding agents](https://swe.quest/articles/coderforge-preview-sota-open-dataset-for-training-efficient-coding-agents-83e1f3c7a7bdb67a.md): Together AI · 2026-02-25 · Hard · 14 min read · Model training, AI for coding, AI agents, Evaluation, LLMs
  CoderForge-Preview is an open dataset of 258K test-verified coding agent trajectories (155K passing) covering 51K tasks across 1,655 repositories from R2E-Gym, SWE-Smith and SWE-Rebench.
- [The model that didn't exist, so you made it yourself](https://swe.quest/articles/the-model-that-didn-t-exist-so-you-made-it-yourself-77bd5f69b5e22a6f.md): Hugging Face · 2026-10-08 · Medium · 9 min read · AI agents, Model training, Evaluation, Computer vision
  Six custom models were built by prompting ML Intern, an agent mode in HuggingChat, to plan, budget, train, evaluate and publish on Hugging Face hardware, for about USD 103 in total compute.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
