> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/automodel/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/automodel/_mcp/server.

# Qwen2.5-3B

> Use NeMo AutoModel to fine-tune Qwen2.5-3B for LLM workflows with checked-in text generation recipes and documented distributed settings.

[Qwen2.5-3B](https://huggingface.co/Qwen/Qwen2.5-3B) has a checked-in NeMo AutoModel recipe for text generation.
The Hugging Face configuration declares the `Qwen2ForCausalLM` architecture.

## Fine-Tune Qwen2.5-3B

Follow the [installation instructions](/get-started/installation), then run the recipe from the repository root:

```bash
automodel examples/llm_finetune/agent/qwen2_5_3b_synthtraces.yaml --nproc-per-node 8
```

## Choose a Workflow

| Goal                                         | Start Here                                                                                                                                   |
| -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Run the primary recipe for this model        | Use the [recipe configuration](https://github.com/NVIDIA-NeMo/Automodel/blob/main/examples/llm_finetune/agent/qwen2_5_3b_synthtraces.yaml).  |
| Try another checked-in recipe for this model | Use the [alternate recipe](https://github.com/NVIDIA-NeMo/Automodel/blob/main/examples/llm_finetune/agent/qwen2_5_3b_function_calling.yaml). |

### Configuration

| Setting  | Configuration        |
| -------- | -------------------- |
| Hardware | -                    |
| Strategy | FSDP2; cp\_size=1    |
| Nodes    | 1                    |
| Features | -                    |
| Advanced | sequence length 8192 |

### More Recipes for This Model

* [`qwen2_5_3b_function_calling.yaml`](https://github.com/NVIDIA-NeMo/Automodel/blob/main/examples/llm_finetune/agent/qwen2_5_3b_function_calling.yaml)
* [`qwen2_5_3b_function_calling_lora.yaml`](https://github.com/NVIDIA-NeMo/Automodel/blob/main/examples/llm_finetune/agent/qwen2_5_3b_function_calling_lora.yaml)

## Model Reference

### Model Architecture

| Property     | Value              |
| ------------ | ------------------ |
| Task         | Text generation    |
| Architecture | `Qwen2ForCausalLM` |

### Available Models

* [`Qwen/Qwen2.5-3B`](https://huggingface.co/Qwen/Qwen2.5-3B)

## Related Resources

* [LLM fine-tuning guide](/recipes-e2e-examples/sft-peft)