fla-hub / rwkv7-0.1B-g1a

huggingface.co
Total runs: 1.6K
24-hour runs: 0
7-day runs: 126
30-day runs: 1.6K
Model's Last Updated: September 15 2025
text-generation

Introduction of rwkv7-0.1B-g1a

Model Details of rwkv7-0.1B-g1a

rwkv7-0.1B-g1a

This is RWKV-7 g1 model under flash-linear attention format. The g1 model series added significant more data and incorporated deep thinking abilities.

Model Details
Model Description
  • Developed by: Bo Peng, Yu Zhang, Songlin Yang, Ruichong Zhang
  • Funded by: RWKV Project (Under LF AI & Data Foundation)
  • Model type: RWKV7
  • Language(s) (NLP): Multilingal
  • License: Apache-2.0
  • Parameter count: 191M
  • 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-0.1B-g1a', trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained('fla-hub/rwkv7-0.1B-g1a', 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'

Thinking Prompt
<|rwkv_tokenizer_end_of_text|>User: <Your Question Here>

Assistant: <think

Don't close the brackets for <think !

Addidtional Caveats for Prompting

Always add <|rwkv_tokenizer_end_of_text|> (Token ID = 0) before your prompt. The model is incapable of attending the first token it receives due to state initialization issues.

Bad prompt example:

Mathews lifted a dark brow. "Are you sure about that? I mean, wouldn't it be better to wait until Dale is home safe and sound?"

"The longer I wait to tell her, the worse it will be for both of us."

"Good luck. You're going to need it," said

The model is unable to recall Mathews because it is the very first token of the input.

Good prompt example:

<|rwkv_tokenizer_end_of_text|>Mathews lifted a dark brow. "Are you sure about that? I mean, wouldn't it be better to wait until Dale is home safe and sound?"

"The longer I wait to tell her, the worse it will be for both of us."

"Good luck. You're going to need it," said

the model will output Mathews as expected.

Without this token: lambada_openai ppl=13.84 acc=48.13%

With this token added: lambada_openai ppl=12.36 acc=49.12%

Note: this phenomenon is very rare for Transformers but significant for RNNs. We speculate that the model uses the first token to pin the states, to better acquire information from later tokens.

Runs of fla-hub rwkv7-0.1B-g1a on huggingface.co

1.6K
Total runs
0
24-hour runs
0
3-day runs
126
7-day runs
1.6K
30-day runs

More Information About rwkv7-0.1B-g1a huggingface.co Model

More rwkv7-0.1B-g1a license Visit here:

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

rwkv7-0.1B-g1a huggingface.co

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

rwkv7-0.1B-g1a huggingface.co Url

https://huggingface.co/fla-hub/rwkv7-0.1B-g1a

fla-hub rwkv7-0.1B-g1a online free

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

fla-hub rwkv7-0.1B-g1a online free url in huggingface.co:

https://huggingface.co/fla-hub/rwkv7-0.1B-g1a

rwkv7-0.1B-g1a install

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

rwkv7-0.1B-g1a install url in huggingface.co:

https://huggingface.co/fla-hub/rwkv7-0.1B-g1a

Url of rwkv7-0.1B-g1a

rwkv7-0.1B-g1a huggingface.co Url

Provider of rwkv7-0.1B-g1a huggingface.co

fla-hub
ORGANIZATIONS

Other API from fla-hub

huggingface.co

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

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

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

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

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

Total runs: 243
Run Growth: -848
Growth Rate: -340.56%
Updated:August 06 2025
huggingface.co

Total runs: 190
Run Growth: -245
Growth Rate: -151.23%
Updated:August 06 2025
huggingface.co

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

Total runs: 8
Run Growth: 1
Growth Rate: 11.11%
Updated:July 29 2025