https://github.com/fw-ai/cookbook
Recipes and resources for building, deploying, and fine-tuning generative AI with Fireworks.
https://github.com/fw-ai/cookbook
agentic-systems ai-workflows fireworks-ai function-calling generative-ai integrations jupyter-notebooks machine-learning production-examples rag tutorials
Last synced: 3 days ago
JSON representation
Recipes and resources for building, deploying, and fine-tuning generative AI with Fireworks.
- Host: GitHub
- URL: https://github.com/fw-ai/cookbook
- Owner: fw-ai
- License: apache-2.0
- Created: 2023-08-12T19:20:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-05-27T23:48:39.000Z (5 days ago)
- Last Synced: 2026-05-28T00:13:55.631Z (5 days ago)
- Topics: agentic-systems, ai-workflows, fireworks-ai, function-calling, generative-ai, integrations, jupyter-notebooks, machine-learning, production-examples, rag, tutorials
- Language: Jupyter Notebook
- Homepage: https://fireworks.ai/docs
- Size: 38.3 MB
- Stars: 148
- Watchers: 17
- Forks: 44
- Open Issues: 80
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fireworks AI Cookbook
Ready-to-run training recipes for reinforcement learning (GRPO, DAPO, GSPO, CISPO), preference optimization (DPO, ORPO), and supervised fine-tuning (SFT) on [Fireworks](https://fireworks.ai).
> **Full documentation**: [Fireworks Training SDK Reference](https://docs.fireworks.ai/fine-tuning/training-sdk/introduction)
## Quick Start
```bash
git clone https://github.com/fw-ai/cookbook.git
cd cookbook/training
conda create -n cookbook python=3.12 -y && conda activate cookbook
pip install --pre -e .
```
See [`training/README.md`](./training/README.md) for configuration, recipes, and examples.
## For AI Agents
The primary reference for agents working in this repo is **[`skills/dev/SKILL.md`](skills/dev/SKILL.md)** — it maps tasks and error signals to specific reference files. Start there, not the READMEs.
## Repository Structure
Only `training/` is actively developed. Other top-level directories (`integrations/`, `multimedia/`, `archived/`) are kept for backward compatibility.
```
training/ Training SDK recipes, utilities, and examples
recipes/ Fork-and-customize training loop scripts
utils/ Shared config, data loading, losses, metrics
examples/ Worked examples (RL, SFT, DPO, ORPO)
verifier/ Renderer correctness validator + live React viewer
tests/ Unit and end-to-end tests
skills/ Agent skills and reference docs
```
## Fireworks Agent skill
- [`skills/fireworks-agent/SKILL.md`](skills/fireworks-agent/SKILL.md)
— end-to-end fine-tuning via the Fireworks Agent (`firectl
session`). Give it one natural-language instruction and it handles
data inspection, model selection, hyperparameter sweeps, training,
evaluation, and deployment. Includes the full session lifecycle:
create, stream events, answer the agent's mid-run questions,
recover from failures, and clean up.
## Contributing
See the [Contribution Guide](./Contribution.md).
## Support
- [Documentation](https://fireworks.ai/docs)
- [Discord](https://discord.gg/9nKGzdCk)
- [Open an issue](https://github.com/fw-ai/cookbook/issues/new)