https://github.com/notnaton/tinyrwkv7
https://github.com/notnaton/tinyrwkv7
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/notnaton/tinyrwkv7
- Owner: Notnaton
- License: apache-2.0
- Created: 2025-01-11T12:57:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-23T17:38:33.000Z (over 1 year ago)
- Last Synced: 2025-04-11T00:06:13.996Z (about 1 year ago)
- Language: Python
- Size: 632 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tinyrwkv7
Based on: https://github.com/BlinkDL/RWKV-LM/blob/main/RWKV-v7/rwkv_v7_demo_rnn.py
download model: https://huggingface.co/BlinkDL/rwkv-7-pile/tree/main
Run the code:
```
python3 -m venv venv
source .venv/bin/activate
pip install -r requirements.txt
python3 rwkv7.py
```
Current output:
```
People from France speak French,
People from France speak French, and
People from France speak French, and the
People from France speak French, and the rest
People from France speak French, and the rest of
People from France speak French, and the rest of the
People from France speak French, and the rest of the world
People from France speak French, and the rest of the world speaks
People from France speak French, and the rest of the world speaks English
People from France speak French, and the rest of the world speaks English.
```