CodeGemma
CodeGemma is the open-weight Gemma specialization for code generation and completion. The 2B model targets fast completion, while 7B checkpoints cover code-focused pretraining and instruction-tuned assistance. Fill-in-the-middle training enables inserting code between surrounding context, complementing ordinary completion. Training covers programming languages, natural-language discussion of code, and mathematical data, with deployment governed by the Gemma license.
2024-04-09
2B and 7B
Gemma decoder-only Transformer
Gemma
Specifications
- Parameters
- 2B and 7B
- Architecture
- Gemma decoder-only Transformer
- License
- Gemma
- Context Window
- 8,192 tokens
- Type
- text
- Modalities
- text
Benchmark Scores
Advanced Specifications
- Model Family
- Gemma
- API Access
- Not Available
- Chat Interface
- Not Available
- Variants
- codegemma-2bcodegemma-7bcodegemma-7b-it
- Hardware Support
- GPUTPUCPU
Capabilities & Limitations
- Capabilities
- code completionfill-in-the-middlecode generationmathematical reasoning
- Known Limitations
- Generated code can contain bugs or insecure behavior and requires testing.Instruction following differs between the pre-trained and instruction-tuned checkpoints.
- Notable Use Cases
- IDE completioncoding assistantslocal development tools