Access RecurrentGemma on Hugging Face
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
To access RecurrentGemma on Hugging Face, you’re required to review and agree to Google’s usage license. To do this, please ensure you’re logged-in to Hugging Face and click below. Requests are processed immediately.
Log in or Sign Up to review the conditions and access this model content.
RecurrentGemma Model Card
Model Page: RecurrentGemma
This repository corresponds to the research RecurrentGemma repository in Jax.
This model card corresponds to the 2B instruct version of the RecurrentGemma model for usage with flax. For more information about the model, visit https://huggingface.co/google/recurrentgemma-2b-it.
Resources and Technical Documentation:
Terms of Use: Terms
Authors: Google
Loading the model
To download the weights and tokenizer, run:
from huggingface_hub import snapshot_download
local_dir = snapshot_download(repo_id="google/recurrentgemma-2b-it-flax")
snapshot_download(repo_id="google/recurrentgemma-2b-it-flax", local_dir=local_dir)
Then download this script from the gemma GitHub repository and call python sampling.py
with the --path_checkpoint
and --path_tokenizer
arguments pointing to your local download path.
- Downloads last month
- 1