google/gemma_pytorch được TopGit xếp vào nhóm công cụ AI, với 5.7k sao trên GitHub, viết chủ yếu bằng Python. The official PyTorch implementation of Google's Gemma models
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Gemma is a family of lightweight, state-of-the art open models built from research and technology used to create Google Gemini models. They include both text-only and multimodal decoder-only large language models, with open weights, pre-trained variants, and instruction-tuned variants. For more details, please check out the following links:
Gemma on Google AI
Gemma on Kaggle
Gemma on Vertex AI Model Garden
This is the official PyTorch implementation of Gemma models. We provide model and inference implementations using both PyTorch and PyTorch/XLA, and support running inference on CPU, GPU and TPU.
Updates
[March 12th, 2025 🔥] Support Gemma v3. You can find the checkpoints on Kaggle and Hugging Face
[June 26th, 2024] Support Gemma v2. You can find the checkpoints on Kaggle and Hugging Face
[April 9th, 2024] Support CodeGemma. You can find the checkpoints on Kaggle and Hugging Face
[April 5, 2024] Support Gemma v1.1. You can find the v1.1 checkpoints on Kaggle and Hugging Face.
Download Gemma model checkpoint
You can find the model checkpoints on Kaggle:
Gemma 3
Gemma 2
Gemma
Alternatively, you can find the model checkpoints on the Hugging Face Hub here. To download the models, go the the model repository of the model of interest and click the Files and versions tab, and download the model and tokenizer files. For programmatic downloading, if you have huggingface_hub installed, you can also run:
Note: be sure to use the docker container built from xla_gpu.Dockerfile.
docker run -t --rm --privileged \
--shm-size=16g --net=host --gpus all \
-e USE_CUDA=1 \
-e PJRT_DEVICE=CUDA \
-v ${CKPT_PATH}:/tmp/ckpt \
${DOCKER_URI} \
python scripts/run_xla.py \
--ckpt=/tmp/ckpt \
--variant="${VARIANT}" \
# add `--quant` for the int8 quantized model.
Tokenizer Notes
99 unused tokens are reserved in the pretrained tokenizer model to assist with more efficient training/fine-tuning. Unused tokens are in the string format of <unused[0-97]> with token id range of [7-104].
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/google/gemma_pytorch là nguồn chính thức.
google/gemma_pytorch có bao nhiêu sao?
google/gemma_pytorch có 5.7k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/google/gemma_pytorch. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
google/gemma_pytorch có những chủ đề gì?
GitHub topics của google/gemma_pytorch: "gemma", "google", "pytorch". TopGit xếp repo vào nhóm AI Tools.
google/gemma_pytorch có trang demo không?
Dự án có trang chủ ở https://ai.google.dev/gemma. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
google/gemma_pytorch còn đang phát triển không?
Commit gần nhất trên google/gemma_pytorch là 1.5 năm trước (theo timestamp GitHub). Repo có 599 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
google/gemma_pytorch dùng license gì?
google/gemma_pytorch phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
google/gemma_pytorch viết bằng ngôn ngữ gì?
google/gemma_pytorch chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về gemma_pytorch?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về gemma_pytorch.