Views
No views yet
flash-linear-attention and the latest version of transformers before using this model:1pip install git+https://github.com/fla-org/flash-linear-attention
2pip install 'transformers>=4.48.0'1import fla
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model = AutoModelForCausalLM.from_pretrained('RWKV7-G1i-1.5B-20260805')
5tokenizer = AutoTokenizer.from_pretrained('RWKV7-G1i-1.5B-20260805', trust_remote_code=True)
6model = model.cuda()