fla-hub / rwkv7-2.9B-g1

huggingface.co
Total runs: 243
24-hour runs: 0
7-day runs: -6
30-day runs: -873
Model's Last Updated: August 06 2025
text-generation

Introduction of rwkv7-2.9B-g1

Model Details of rwkv7-2.9B-g1

rwkv7-2.9B-g1

This is RWKV-7 model under flash-linear attention format.

Model Details
Model Description
  • Developed by: Bo Peng, Yu Zhang, Songlin Yang, Ruichong Zhang, Zhiyuan Li
  • Funded by: RWKV Project (Under LF AI & Data Foundation)
  • Model type: RWKV7
  • Language(s) (NLP): Multilingual
  • License: Apache-2.0
  • Parameter count: 2.9B
  • Tokenizer: RWKV World tokenizer
  • Vocabulary size: 65,536
Model Sources
Uses

Install flash-linear-attention and the latest version of transformers before using this model:

pip install git+https://github.com/fla-org/flash-linear-attention
pip install 'transformers>=4.48.0'
Direct Use

You can use this model just as any other HuggingFace models:

from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained('fla-hub/rwkv7-2.9B-g1', trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained('fla-hub/rwkv7-2.9B-g1', trust_remote_code=True) 
model = model.cuda() # Supported on Nvidia/AMD/Intel eg. model.xpu()
prompt = "What is a large language model?"
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=True  # Default is True, set to False to disable thinking
)

model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=1024,
    do_sample=True,
    temperature=1.0,
    top_p=0.3,
    repetition_penalty=1.2
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=False)[0]
print(response)
FAQ

Q: safetensors metadata is none.

A: upgrade transformers to >=4.48.0: pip install 'transformers>=4.48.0'

Runs of fla-hub rwkv7-2.9B-g1 on huggingface.co

243
Total runs
0
24-hour runs
0
3-day runs
-6
7-day runs
-873
30-day runs

More Information About rwkv7-2.9B-g1 huggingface.co Model

More rwkv7-2.9B-g1 license Visit here:

https://choosealicense.com/licenses/apache-2.0

rwkv7-2.9B-g1 huggingface.co

rwkv7-2.9B-g1 huggingface.co is an AI model on huggingface.co that provides rwkv7-2.9B-g1's model effect (), which can be used instantly with this fla-hub rwkv7-2.9B-g1 model. huggingface.co supports a free trial of the rwkv7-2.9B-g1 model, and also provides paid use of the rwkv7-2.9B-g1. Support call rwkv7-2.9B-g1 model through api, including Node.js, Python, http.

rwkv7-2.9B-g1 huggingface.co Url

https://huggingface.co/fla-hub/rwkv7-2.9B-g1

fla-hub rwkv7-2.9B-g1 online free

rwkv7-2.9B-g1 huggingface.co is an online trial and call api platform, which integrates rwkv7-2.9B-g1's modeling effects, including api services, and provides a free online trial of rwkv7-2.9B-g1, you can try rwkv7-2.9B-g1 online for free by clicking the link below.

fla-hub rwkv7-2.9B-g1 online free url in huggingface.co:

https://huggingface.co/fla-hub/rwkv7-2.9B-g1

rwkv7-2.9B-g1 install

rwkv7-2.9B-g1 is an open source model from GitHub that offers a free installation service, and any user can find rwkv7-2.9B-g1 on GitHub to install. At the same time, huggingface.co provides the effect of rwkv7-2.9B-g1 install, users can directly use rwkv7-2.9B-g1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

rwkv7-2.9B-g1 install url in huggingface.co:

https://huggingface.co/fla-hub/rwkv7-2.9B-g1

Url of rwkv7-2.9B-g1

rwkv7-2.9B-g1 huggingface.co Url

Provider of rwkv7-2.9B-g1 huggingface.co

fla-hub
ORGANIZATIONS

Other API from fla-hub

huggingface.co

Total runs: 5.0K
Run Growth: 2.0K
Growth Rate: 40.88%
Updated:September 09 2025
huggingface.co

Total runs: 2.1K
Run Growth: 1.8K
Growth Rate: 87.90%
Updated:August 06 2025
huggingface.co

Total runs: 1.3K
Run Growth: 393
Growth Rate: 31.02%
Updated:February 09 2025
huggingface.co

Total runs: 1.1K
Run Growth: 924
Growth Rate: 83.24%
Updated:February 09 2025
huggingface.co

Total runs: 791
Run Growth: -693
Growth Rate: -87.61%
Updated:August 06 2025
huggingface.co

Total runs: 194
Run Growth: -227
Growth Rate: -119.47%
Updated:August 06 2025
huggingface.co

Total runs: 11
Run Growth: -1
Growth Rate: -9.09%
Updated:August 09 2024
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:July 29 2025