BlinkDL commited on
Commit
9b37a2c
1 Parent(s): e221531

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ os.environ["RWKV_JIT_ON"] = '1'
14
  os.environ["RWKV_CUDA_ON"] = '1' # if '1' then use CUDA kernel for seq mode (much faster)
15
 
16
  from rwkv.model import RWKV
17
- model_path = hf_hub_download(repo_id="BlinkDL/rwkv-4-pile-169m", filename="RWKV-4-Pile-169M-20220807-8023.pth")
18
  model = RWKV(model=model_path, strategy='cuda fp16')
19
  from rwkv.utils import PIPELINE, PIPELINE_ARGS
20
  pipeline = PIPELINE(model, "20B_tokenizer.json")
 
14
  os.environ["RWKV_CUDA_ON"] = '1' # if '1' then use CUDA kernel for seq mode (much faster)
15
 
16
  from rwkv.model import RWKV
17
+ model_path = hf_hub_download(repo_id="BlinkDL/rwkv-4-pile-14b", filename="RWKV-4-Pile-14B-20230227-ctx4096-test503.pth")
18
  model = RWKV(model=model_path, strategy='cuda fp16')
19
  from rwkv.utils import PIPELINE, PIPELINE_ARGS
20
  pipeline = PIPELINE(model, "20B_tokenizer.json")