gemma-3-27b-it-INT4
2.6K
1 language
license:apache-2.0
by
pytorch
Image Model
OTHER
27B params
New
3K downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
61GB+ RAM
Mobile
Laptop
Server
Quick Summary
- Developed by: pytorch - License: apache-2.
Device Compatibility
Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
26GB+ RAM
Training Data Analysis
🟡 Average (4.3/10)
Researched training datasets used by gemma-3-27b-it-INT4 with quality assessment
Specialized For
general
science
multilingual
reasoning
Training Datasets (3)
common crawl
🔴 2.5/10
general
science
Key Strengths
- •Scale and Accessibility: At 9.5+ petabytes, Common Crawl provides unprecedented scale for training d...
- •Diversity: The dataset captures billions of web pages across multiple domains and content types, ena...
- •Comprehensive Coverage: Despite limitations, Common Crawl attempts to represent the broader web acro...
Considerations
- •Biased Coverage: The crawling process prioritizes frequently linked domains, making content from dig...
- •Large-Scale Problematic Content: Contains significant amounts of hate speech, pornography, violent c...
wikipedia
🟡 5/10
science
multilingual
Key Strengths
- •High-Quality Content: Wikipedia articles are subject to community review, fact-checking, and citatio...
- •Multilingual Coverage: Available in 300+ languages, enabling training of models that understand and ...
- •Structured Knowledge: Articles follow consistent formatting with clear sections, allowing models to ...
Considerations
- •Language Inequality: Low-resource language editions have significantly lower quality, fewer articles...
- •Biased Coverage: Reflects biases in contributor demographics; topics related to Western culture and ...
arxiv
🟡 5.5/10
science
reasoning
Key Strengths
- •Scientific Authority: Peer-reviewed content from established repository
- •Domain-Specific: Specialized vocabulary and concepts
- •Mathematical Content: Includes complex equations and notation
Considerations
- •Specialized: Primarily technical and mathematical content
- •English-Heavy: Predominantly English-language papers
Explore our comprehensive training dataset analysis
View All DatasetsCode Examples
Servingbashvllm
# Server
export MODEL=pytorch/gemma-3-27b-it-INT4
VLLM_DISABLE_COMPILE_CACHE=1 vllm serve $MODEL --tokenizer $MODEL -O3Inference with Transformersbash
pip install git+https://github.com/huggingface/transformers@main
pip install torchao
pip install torch
pip install acceleratebash
pip install -U "huggingface_hub[cli]"
huggingface-cli loginlanguage evalbash
export MODEL=google/gemma-3-27b-it # or pytorch/gemma-3-27b-it-INT4
lm_eval --model hf --model_args pretrained=$MODEL --tasks mmlu --device cuda:0 --batch_size 8multi-modal evalbash
NUM_PROCESSES=8
MAIN_PORT=12345
MODEL_ID=google/gemma-3-27b-it # or pytorch/gemma-3-27b-it-INT4
TASKS=chartqa # or tasks from https://github.com/EvolvingLMMs-Lab/lmms-eval/tree/main/lmms_eval/models/simple
BATCH_SIZE=1
OUTPUT_PATH=./logs/
accelerate launch --num_processes "${NUM_PROCESSES}" --main_process_port "${MAIN_PORT}" -m lmms_eval \
--model gemma3 \
--model_args "pretrained=${MODEL_ID}" \
--tasks "${TASKS}" \
--batch_size "${BATCH_SIZE}" --output_path "${OUTPUT_PATH}"Setupbashvllm
git clone [email protected]:vllm-project/vllm.gitSetuptextvllm
VLLM_USE_PRECOMPILED=1 pip install --editable .benchmark_latencybash
export MODEL=google/gemma-3-27b-it
python benchmarks/benchmark_latency.py --input-len 256 --output-len 256 --model $MODEL --batch-size 1Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.