Gemma 2B Coder by MAISAAI

 »  All LLMs  »  MAISAAI  »  Gemma 2B Coder   URL Share it on

Gemma 2B Coder is an open-source language model by MAISAAI. Features: 2b LLM, VRAM: 5.1GB, Context: 8K, LLM Explorer Score: 0.15, Arc: 49, HellaSwag: 71.4, MMLU: 37, GSM8K: 16.1.

  Code   Coding Dataset:huggingfaceh4/codealpa...   Doi:10.57967/hf/3675   Endpoints compatible   Gemma   Generated from trainer   Region:us   Safetensors   Sharded   Tensorflow

Gemma 2B Coder Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").

Gemma 2B Coder Parameters and Internals

Model Type 
text-to-text, decoder-only, large language model
Use Cases 
Primary Use Cases:
text generation tasks, including question answering, summarization, and reasoning
Additional Notes 
The model is fine-tuned and optimized for coding tasks.
Supported Languages 
English (proficient)
Training Details 
Data Sources:
HuggingFaceH4/CodeAlpaca_20K
Data Volume:
20K instruction-following data
Methodology:
Fine-tuning using QLoRA with PEFT library
Training Time:
1h 40 min on Free Colab T4 GPU (16GB VRAM)
Hardware Used:
Free Colab T4 GPU (16GB VRAM)
Model Architecture:
Text-to-text, decoder-only large language model
Input Output 
Input Format:
Formatted prompt with system and user input indicators
Accepted Modalities:
text
Output Format:
Text response separated by <|assistant|> indicator
LLM NameGemma 2B Coder
Repository 🤗https://huggingface.co/MAISAAI/gemma-2b-coder 
Model Size2b
Required VRAM5.1 GB
Updated2026-05-24
MaintainerMAISAAI
Model Typegemma
Model Files  5.0 GB: 1-of-2   0.1 GB: 2-of-2
Supported Languagescode
Model ArchitectureGemmaForCausalLM
Context Length8192
Model Max Length8192
Transformers Version4.38.0
Tokenizer ClassGemmaTokenizer
Padding Token<pad>
Vocabulary Size256000
Torch Data Typebfloat16

Quantized Models of the Gemma 2B Coder

Model
Likes
Downloads
VRAM
Gemma 2B It Code0315 GB

Best Alternatives to Gemma 2B Coder

Best Alternatives
Context / RAM
Downloads
Likes
Gemma 1.1 2B It8K / 5.1 GB80705172
Gemma 1.1 2B It8K / 5 GB723
Codegemma 2B8K / 5.1 GB3243998
Gita SastraGPT V18K / 5.1 GB191
Caca Tinny 2B V38K / 5.1 GB41
Pandas Tutor Gemma 2B8K / 5.1 GB81
Gemma Qlora Customer Support8K / 5.1 GB230
... 2B Finetuned Sft Navarasa 2.08K / 10 GB100626
Octopus V28K / 5.1 GB1387885
Bge Reranker V2 Gemma8K / 10 GB2503184
Note: green Score (e.g. "73.2") means that the model is better than MAISAAI/gemma-2b-coder.

Rank the Gemma 2B Coder 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  

What open-source LLMs or SLMs are you in search of? 53972 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a