Home/Model Training/starcoder2
starcoder2 logo

starcoder2

Enrichment pending
bigcode-project/starcoder2

Home of StarCoder2!

GraphCanon updated today · GitHub synced today

2.1k
Stars
199
Forks
20
Open issues
17
Watchers
2y
Last push
Python Apache-2.0Created Dec 8, 2023

Trust & integrity

Full report
Maintenance
Dormant (842d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Organization account
As of today · Source: github_public_v1
Security (OSV)
No criticals
As of today · Source: osv@v1

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Overview

Home of StarCoder2!

Capability facts

Languages
python

Source: github.language · Jul 11, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 11, 2026)

pip install -r requirements.txt
Source link

Tags

README

Installation

First, we have to install all the libraries listed in requirements.txt

pip install -r requirements.txt

---

# pip install git+https://github.com/huggingface/transformers.git # TODO: merge PR to main
from transformers import AutoModelForCausalLM, AutoTokenizer

checkpoint = "bigcode/starcoder2-15b"
device = "cuda" # for GPU usage or "cpu" for CPU usage

tokenizer = AutoTokenizer.from_pretrained(checkpoint)

---

# pip install accelerate
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

checkpoint = "bigcode/starcoder2-15b"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)

---

# pip install bitsandbytes accelerate
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig