LLM EXPLORER 63,407 MODELS INDEXED

Codegemma 7B by google

By google · 2744 downloads

Codegemma 7B is an open-source language model by google. Features: 7b LLM, VRAM: 17.1GB, Context: 8K, License: gemma, LLM Explorer Score: 0.16, Arc: 53.9, HellaSwag: 76.7, MMLU: 56.6, GSM8K: 45.5, HumanEval: 40.1.

  Endpoints compatible   Gemma   Region:us   Safetensors   Sharded   Tensorflow
Model Card on HF πŸ€—: https://huggingface.co/google/codegemma-7b 

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 
English (Fluent)
Training Details 
Data Sources:
Publicly available code repositories, Open source mathematics datasets, Synthetically generated code
Data Volume:
500 billion tokens
Methodology:
FIM, PSM/SPM modes
Hardware Used:
TPUvs5e
Model Architecture:
Not explicitly mentioned
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:
text
Output Format:
For instruction-tuned model: code and natural language
Performance Tips:
Ensure correct usage of FIM tokens in prompts.
LLM NameCodegemma 7B
Repository πŸ€—https://huggingface.co/google/codegemma-7b 
Model Size7b
Required VRAM17.1 GB
Updated2026-07-27
Maintainergoogle
Model Typegemma
Model Files  5.0 GB: 1-of-4   5.0 GB: 2-of-4   5.0 GB: 3-of-4   2.1 GB: 4-of-4
Model ArchitectureGemmaForCausalLM
Licensegemma
Context Length8192
Model Max Length8192
Transformers Version4.39.3
Tokenizer ClassGemmaTokenizer
Padding Token<pad>
Vocabulary Size256000
Torch Data Typebfloat16

Quantized Models of the Codegemma 7B

Model
Likes
Downloads
VRAM
Codegemma 7B GGUF08213 GB

Best Alternatives to Codegemma 7B

Best Alternatives
Context / RAM
Downloads
Likes
Kaggle Math Model Gemma V112K / 17.1 GB50
Gemma 1.1 7B It8K / 17.1 GB19153275
Rainbow AI Coder It8K / 5.6 GB1441
Gemma 1.1 7B It8K / 17.1 GB84
Gemma 7B It8K / 17.1 GB394410
Gemma 1.1 7B It8K / 17 GB222
...emma 7B It Legal Refugiados Es8K / 34 GB50
SeaLLM 7B V2.58K / 17.1 GB876151
Zephyr 7B Gemma DPO Avg8K / 17.1 GB150
Zephyr 7B Gemma Rpo Avg8K / 17.1 GB70
Note: green Score (e.g. "73.2") means that the model is better than google/codegemma-7b.