> 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.

# starcoder2-3b

> Reference starcoder2-3b checkpoint and architecture details for NeMo AutoModel, with model-family information, setup guidance, and upstream resources.

[StarCoder2](https://huggingface.co/blog/starcoder2) is BigCode's second-generation code language model, available in 3B, 7B, and 15B sizes, trained on 600+ programming languages from The Stack v2.

Set up NeMo AutoModel with the [latest container](https://catalog.ngc.nvidia.com/orgs/nvidia/containers/nemo-automodel) or follow the [installation instructions](/get-started/installation).

## Model Reference

### Model Architecture

| Property                  | Value                                     |
| ------------------------- | ----------------------------------------- |
| Task                      | Code Generation                           |
| Architecture              | `Starcoder2ForCausalLM`                   |
| Parameters                | 3B                                        |
| Hugging Face Organization | [bigcode](https://huggingface.co/bigcode) |

### Available Models

| Model         | HF ID                                                                   |
| ------------- | ----------------------------------------------------------------------- |
| StarCoder2 3B | [`bigcode/starcoder2-3b`](https://huggingface.co/bigcode/starcoder2-3b) |

## Related Resources

* [LLM Fine-Tuning Guide](/recipes-e2e-examples/sft-peft)