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'1from transformers import AutoModelForCausalLM, AutoTokenizer
2model = AutoModelForCausalLM.from_pretrained('fla-hub/rwkv7-168M-pile', trust_remote_code=True)
3tokenizer = AutoTokenizer.from_pretrained('fla-hub/rwkv7-168M-pile', trust_remote_code=True)lambada_openai: ppl 14.2 acc 45.6%piqa: acc 65.5%pip install 'transformers>=4.48.0'