StarCoder2 Table of Contents 1. Model Summary 2. Use 3. Limitations 4. Training 5. License 6. Citation Model Summary StarCoder2 3B model is a 3B parameter model trained on 17 programming languages from The Stack v2, with opt out requests excluded. The model uses Grouped Query Attention, a context window of 16,384 tokens with a sliding window attention of 4,096 tokens, and was trained using the Fill in the Middle objective on 3+ trillion tokens. Project Website: bigcode project.org Paper: Link Point of Contact: contact@bigcode project.org Languages: 17 Programming languages Use Intended use The model was trained on GitHub code as well as additional selected data sources such as Arxiv and Wikipedia. As such it is not an instruction model and commands like "Write a function that computes the square root." do not work well. Generation Here are some examples to get started with the model. You can find a script for fine tuning in StarCoder2's GitHub repository. First, make sure to install transformers from source: Running the model on CPU/GPU/multi GPU Using full precision Using torch.bfloat16 Quantized Versions through bitsandbytes Using 8 bit precision (int8) Attribution & Other Requir…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy