---
title: recurrentgemma-2b-flax
canonical_url: "https://www.modelscope.cn/models/google/recurrentgemma-2b-flax"
md_url: "https://www.modelscope.cn/models/google/recurrentgemma-2b-flax.md"
repository: google/recurrentgemma-2b-flax
last_updated: 2025-04-22
license: gemma
pipeline_tag: text-generation
tasks:
  - text-generation
library_name:
  - pytorch
frameworks:
  - pytorch
downloads: 419
stars: 0
tags:
  - jax
---

# recurrentgemma-2b-flax

> recurrentgemma-2b-flax - google 在 ModelScope 开源的模型。RecurrentGemma Model Card

google/recurrentgemma-2b-flax 是 ModelScope 魔搭社区上的text-generation模型，采用 gemma 许可。

- **Repository**: google/recurrentgemma-2b-flax
- **License**: gemma
- **Tasks**: text-generation
- **Tags**: jax
- **Downloads**: 419
- **Stars**: 0
- **Last updated**: 2025-04-22

Source: https://www.modelscope.cn/models/google/recurrentgemma-2b-flax

---

# RecurrentGemma Model Card

> [!IMPORTANT]
>
> This repository corresponds to the research [RecurrentGemma repository](https://github.com/google-deepmind/recurrentgemma) in Jax.
> 
**Model Page**: [RecurrentGemma](https://ai.google.dev/gemma/docs)

This model card corresponds to the 2B base version of the RecurrentGemma model for usage with flax. For more information about the model, visit https://huggingface.co/google/recurrentgemma-2b.

**Resources and Technical Documentation**:

* [Responsible Generative AI Toolkit](https://ai.google.dev/responsible)
* [Gemma on Kaggle](https://www.kaggle.com/models/google/gemma)
* [Gemma on Vertex Model Garden](https://console.cloud.google.com/vertex-ai/publishers/google/model-garden/335)

**Terms of Use**: [Terms](https://www.kaggle.com/models/google/recurrentgemma/license/consent/verify/huggingface?returnModelRepoId=google/recurrentgemma-2b-flax)

**Authors**: Google

## Loading the model

To download the weights and tokenizer, run:

```python
from huggingface_hub import snapshot_download

local_dir = snapshot_download(repo_id="google/recurrentgemma-2b-flax")

# Or to save to a local directory
snapshot_download(repo_id="google/recurrentgemma-2b-flax", local_dir=local_dir)
```
