Codegemma 7B is an open-source language model by google. Features: 7b LLM, VRAM: 17.1GB, Context: 8K, License: gemma, HF Score: 56.7, LLM Explorer Score: 0.17, Arc: 53.9, HellaSwag: 76.7, MMLU: 56.6, TruthfulQA: 38, WinoGrande: 69.6, GSM8K: 45.5, HumanEval: 40.1.
Codegemma 7B Benchmarks
nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Codegemma 7B Parameters and Internals
Model Type text-to-text, text-to-code, decoder-only
Use Cases
Areas: Research, Commercial applications
Applications: Code Completion, Code Generation, Code Conversation, Code Education
Primary Use Cases: Code completion with IDE extension, Interactive code learning experiences
Limitations: Limitations of LLMs based on training data., Potential representational harms.
Considerations: See Gemma model card for comprehensive considerations.
Additional Notes The model is built for Responsible AI development with a focus on open code applications.
Supported Languages
Training Details
Data Sources: Publicly available code repositories, Open source mathematics datasets, Synthetically generated code
Data Volume:
Methodology:
Hardware Used:
Model Architecture:
Safety Evaluation
Methodologies: Internal red-teaming, Structured evaluations
Risk Categories: Human safety, Representational harms, Cyber-offence capabilities
Ethical Considerations: Testing autonomous hacking capabilities and ensuring potential harms are limited.
Responsible Ai Considerations
Fairness: Human evaluation on prompts covering content safety and representational harms.
Transparency: Discussions and evaluations are detailed in the Gemma model card.
Accountability: Developed by Google, accountable for outputs under their AI principles.
Mitigation Strategies: Controlled through structured evaluations and internal red-teaming.
Input Output
Input Format: For pretrained model: code prefix and/or suffix for code completion and generation.
Accepted Modalities:
Output Format: For instruction-tuned model: code and natural language
Performance Tips: Ensure correct usage of FIM tokens in prompts.
Quantized Models of the Codegemma 7B
Best Alternatives to Codegemma 7B
Note: green Score (e.g. "73.2 ") means that the model is better than google/codegemma-7b .
Expand
Rank the Codegemma 7B Capabilities
🆘 Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! 🌟
Instruction Following and Task Automation
Factuality and Completeness of Knowledge
Censorship and Alignment
Data Analysis and Insight Generation
Text Generation
Text Summarization and Feature Extraction
Code Generation
Multi-Language Support and Translation
Expand
Check out
Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a