Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0ad99673b | ||
|
|
510683c57e | ||
|
|
cea1d8b4d1 | ||
|
|
b7c34b0d42 | ||
|
|
a95fbbbd78 | ||
|
|
d1560674b3 | ||
|
|
4fdfbd2f82 | ||
|
|
635767408f | ||
|
|
39a7eee8ea | ||
|
|
6ec6044901 | ||
|
|
4760a552d4 | ||
|
|
6294327273 | ||
|
|
260f51955a | ||
|
|
29ea886576 | ||
|
|
dae3f72d04 | ||
|
|
796338a32f | ||
|
|
66621e4ceb | ||
|
|
a6f5b520c3 | ||
|
|
c23c644fbc | ||
|
|
cb85c0938d |
112
.github/workflows/release.yml
vendored
Normal file
112
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
name: release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
create-draft:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: master
|
||||||
|
|
||||||
|
- uses: jossef/action-set-json-field@v2.1
|
||||||
|
with:
|
||||||
|
file: manifest.json
|
||||||
|
field: version
|
||||||
|
value: ${{ env.VERSION }}
|
||||||
|
|
||||||
|
- continue-on-error: true
|
||||||
|
run: |
|
||||||
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git config --global user.name "github-actions[bot]"
|
||||||
|
git commit -am "release ${{github.ref_name}}"
|
||||||
|
git push
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
gh release create ${{github.ref_name}} -d -F CURRENT_CHANGE.md -t ${{github.ref_name}}
|
||||||
|
|
||||||
|
windows:
|
||||||
|
runs-on: windows-latest
|
||||||
|
needs: create-draft
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: master
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '1.20.5'
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
id: cp310
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
|
- uses: crazy-max/ghaction-chocolatey@v2
|
||||||
|
with:
|
||||||
|
args: install upx
|
||||||
|
- run: |
|
||||||
|
Start-BitsTransfer https://www.python.org/ftp/python/3.10.11/python-3.10.11-embed-amd64.zip ./python-3.10.11-embed-amd64.zip
|
||||||
|
Expand-Archive ./python-3.10.11-embed-amd64.zip -DestinationPath ./py310
|
||||||
|
$content=Get-Content "./py310/python310._pth"; $content | ForEach-Object {if ($_.ReadCount -eq 3) {"Lib\\site-packages"} else {$_}} | Set-Content ./py310/python310._pth
|
||||||
|
./py310/python ./backend-python/get-pip.py
|
||||||
|
./py310/python -m pip install Cython
|
||||||
|
Copy-Item -Path "${{ steps.cp310.outputs.python-path }}/../include" -Destination "py310/include" -Recurse
|
||||||
|
Copy-Item -Path "${{ steps.cp310.outputs.python-path }}/../libs" -Destination "py310/libs" -Recurse
|
||||||
|
./py310/python -m pip install cyac
|
||||||
|
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||||
|
make
|
||||||
|
Rename-Item -Path "build/bin/RWKV-Runner.exe" -NewName "RWKV-Runner_windows_x64.exe"
|
||||||
|
|
||||||
|
- run: gh release upload ${{github.ref_name}} build/bin/RWKV-Runner_windows_x64.exe
|
||||||
|
|
||||||
|
linux:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: create-draft
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: master
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '1.20.5'
|
||||||
|
- run: |
|
||||||
|
sudo apt-get install upx
|
||||||
|
sudo apt-get install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev
|
||||||
|
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||||
|
make
|
||||||
|
mv build/bin/RWKV-Runner build/bin/RWKV-Runner_linux_x64
|
||||||
|
|
||||||
|
- run: gh release upload ${{github.ref_name}} build/bin/RWKV-Runner_linux_x64
|
||||||
|
|
||||||
|
macos:
|
||||||
|
runs-on: macos-13
|
||||||
|
needs: create-draft
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: master
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '1.20.5'
|
||||||
|
- run: |
|
||||||
|
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||||
|
make
|
||||||
|
cp build/darwin/Readme_Install.txt build/bin/Readme_Install.txt
|
||||||
|
cp build/bin/RWKV-Runner.app/Contents/MacOS/RWKV-Runner build/bin/RWKV-Runner_darwin_universal
|
||||||
|
cd build/bin && zip -r RWKV-Runner_macos_universal.zip RWKV-Runner.app Readme_Install.txt
|
||||||
|
|
||||||
|
- run: gh release upload ${{github.ref_name}} build/bin/RWKV-Runner_macos_universal.zip build/bin/RWKV-Runner_darwin_universal
|
||||||
|
|
||||||
|
publish-release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [ windows, linux, macos ]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- run: gh release edit ${{github.ref_name}} --draft=false
|
||||||
17
CURRENT_CHANGE.md
Normal file
17
CURRENT_CHANGE.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
## Changes
|
||||||
|
|
||||||
|
- CI/CD pipeline
|
||||||
|
- update InstallPyDep for better macOS support
|
||||||
|
- improve update process for macOS and Linux
|
||||||
|
- add server deploy examples for windows and linux
|
||||||
|
- organize the structure of manifest.json
|
||||||
|
- add logs for state cache and switch-model
|
||||||
|
- fix UnboundLocalError: local variable 'response' referenced before assignment
|
||||||
|
- remove `enableHighPrecisionForLastLayer`
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
- Windows: https://github.com/josStorer/RWKV-Runner/blob/master/build/windows/Readme_Install.txt
|
||||||
|
- MacOS: https://github.com/josStorer/RWKV-Runner/blob/master/build/darwin/Readme_Install.txt
|
||||||
|
- Linux: https://github.com/josStorer/RWKV-Runner/blob/master/build/linux/Readme_Install.txt
|
||||||
|
- Server-Deploy-Examples: https://github.com/josStorer/RWKV-Runner/tree/master/deploy-examples
|
||||||
28
README.md
28
README.md
@@ -15,7 +15,13 @@ compatible with the OpenAI API, which means that every ChatGPT client is an RWKV
|
|||||||
|
|
||||||
English | [简体中文](README_ZH.md)
|
English | [简体中文](README_ZH.md)
|
||||||
|
|
||||||
[FAQs](https://github.com/josStorer/RWKV-Runner/wiki/FAQs) | [Preview](#Preview) | [Download][download-url]
|
### Install
|
||||||
|
|
||||||
|
[![Windows][Windows-image]][Windows-url]
|
||||||
|
[![MacOS][MacOS-image]][MacOS-url]
|
||||||
|
[![Linux][Linux-image]][Linux-url]
|
||||||
|
|
||||||
|
[FAQs](https://github.com/josStorer/RWKV-Runner/wiki/FAQs) | [Preview](#Preview) | [Download][download-url] | [Server-Deploy-Examples](https://github.com/josStorer/RWKV-Runner/tree/master/deploy-examples)
|
||||||
|
|
||||||
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg
|
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg
|
||||||
|
|
||||||
@@ -27,9 +33,23 @@ English | [简体中文](README_ZH.md)
|
|||||||
|
|
||||||
[download-url]: https://github.com/josStorer/RWKV-Runner/releases
|
[download-url]: https://github.com/josStorer/RWKV-Runner/releases
|
||||||
|
|
||||||
|
[Windows-image]: https://img.shields.io/badge/-Windows-blue?logo=windows
|
||||||
|
|
||||||
|
[Windows-url]: https://github.com/josStorer/RWKV-Runner/blob/master/build/windows/Readme_Install.txt
|
||||||
|
|
||||||
|
[MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple
|
||||||
|
|
||||||
|
[MacOS-url]: https://github.com/josStorer/RWKV-Runner/blob/master/build/darwin/Readme_Install.txt
|
||||||
|
|
||||||
|
[Linux-image]: https://img.shields.io/badge/-Linux-black?logo=linux
|
||||||
|
|
||||||
|
[Linux-url]: https://github.com/josStorer/RWKV-Runner/blob/master/build/linux/Readme_Install.txt
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
#### Default configs do not enable custom CUDA kernel acceleration, but I strongly recommend that you enable it and run with int8 precision, which is much faster and consumes much less VRAM. Go to the Configs page and turn on `Use Custom CUDA kernel to Accelerate`.
|
#### Default configs has enabled custom CUDA kernel acceleration, which is much faster and consumes much less VRAM. If you encounter possible compatibility issues, go to the Configs page and turn off `Use Custom CUDA kernel to Accelerate`.
|
||||||
|
|
||||||
|
#### If Windows Defender claims this is a virus, you can try downloading [v1.0.8](https://github.com/josStorer/RWKV-Runner/releases/tag/v1.0.8)/[v1.0.9](https://github.com/josStorer/RWKV-Runner/releases/tag/v1.0.9) and letting it update automatically to the latest version, or add it to the trusted list.
|
||||||
|
|
||||||
#### For different tasks, adjusting API parameters can achieve better results. For example, for translation tasks, you can try setting Temperature to 1 and Top_P to 0.3.
|
#### For different tasks, adjusting API parameters can achieve better results. For example, for translation tasks, you can try setting Temperature to 1 and Top_P to 0.3.
|
||||||
|
|
||||||
@@ -71,8 +91,8 @@ body.json:
|
|||||||
|
|
||||||
- [ ] Model training functionality
|
- [ ] Model training functionality
|
||||||
- [x] CUDA operator int8 acceleration
|
- [x] CUDA operator int8 acceleration
|
||||||
- [ ] macOS support
|
- [x] macOS support
|
||||||
- [ ] Linux support
|
- [x] Linux support
|
||||||
- [ ] Local State Cache DB
|
- [ ] Local State Cache DB
|
||||||
|
|
||||||
## Related Repositories:
|
## Related Repositories:
|
||||||
|
|||||||
30
README_ZH.md
30
README_ZH.md
@@ -14,7 +14,13 @@ API兼容的接口,这意味着一切ChatGPT客户端都是RWKV客户端。
|
|||||||
|
|
||||||
[English](README.md) | 简体中文
|
[English](README.md) | 简体中文
|
||||||
|
|
||||||
[视频演示](https://www.bilibili.com/video/BV1hM4y1v76R) | [疑难解答](https://www.bilibili.com/read/cv23921171) | [预览](#Preview) | [下载][download-url] | [懒人包](https://pan.baidu.com/s/1wchIUHgne3gncIiLIeKBEQ?pwd=1111)
|
### 安装
|
||||||
|
|
||||||
|
[![Windows][Windows-image]][Windows-url]
|
||||||
|
[![MacOS][MacOS-image]][MacOS-url]
|
||||||
|
[![Linux][Linux-image]][Linux-url]
|
||||||
|
|
||||||
|
[视频演示](https://www.bilibili.com/video/BV1hM4y1v76R) | [疑难解答](https://www.bilibili.com/read/cv23921171) | [预览](#Preview) | [下载][download-url] | [懒人包](https://pan.baidu.com/s/1wchIUHgne3gncIiLIeKBEQ?pwd=1111) | [服务器部署示例](https://github.com/josStorer/RWKV-Runner/tree/master/deploy-examples)
|
||||||
|
|
||||||
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg
|
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg
|
||||||
|
|
||||||
@@ -26,11 +32,25 @@ API兼容的接口,这意味着一切ChatGPT客户端都是RWKV客户端。
|
|||||||
|
|
||||||
[download-url]: https://github.com/josStorer/RWKV-Runner/releases
|
[download-url]: https://github.com/josStorer/RWKV-Runner/releases
|
||||||
|
|
||||||
|
[Windows-image]: https://img.shields.io/badge/-Windows-blue?logo=windows
|
||||||
|
|
||||||
|
[Windows-url]: https://github.com/josStorer/RWKV-Runner/blob/master/build/windows/Readme_Install.txt
|
||||||
|
|
||||||
|
[MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple
|
||||||
|
|
||||||
|
[MacOS-url]: https://github.com/josStorer/RWKV-Runner/blob/master/build/darwin/Readme_Install.txt
|
||||||
|
|
||||||
|
[Linux-image]: https://img.shields.io/badge/-Linux-black?logo=linux
|
||||||
|
|
||||||
|
[Linux-url]: https://github.com/josStorer/RWKV-Runner/blob/master/build/linux/Readme_Install.txt
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
#### 注意 目前RWKV中文模型质量一般,推荐使用英文模型体验实际RWKV能力
|
#### 注意 目前RWKV中文模型质量一般,推荐使用英文模型或World(100+ 语言)体验实际RWKV能力
|
||||||
|
|
||||||
#### 预设配置没有开启自定义CUDA算子加速,但我强烈建议你开启它并使用int8量化运行,速度非常快,且显存消耗少得多。前往配置页面,打开`使用自定义CUDA算子加速`
|
#### 预设配置已经开启自定义CUDA算子加速,速度更快,且显存消耗更少。如果你遇到可能的兼容性问题,前往配置页面,关闭`使用自定义CUDA算子加速`
|
||||||
|
|
||||||
|
#### 如果Windows Defender说这是一个病毒,你可以尝试下载[v1.0.8](https://github.com/josStorer/RWKV-Runner/releases/tag/v1.0.8)/[v1.0.9](https://github.com/josStorer/RWKV-Runner/releases/tag/v1.0.9)然后让其自动更新到最新版,或添加信任
|
||||||
|
|
||||||
#### 对于不同的任务,调整API参数会获得更好的效果,例如对于翻译任务,你可以尝试设置Temperature为1,Top_P为0.3
|
#### 对于不同的任务,调整API参数会获得更好的效果,例如对于翻译任务,你可以尝试设置Temperature为1,Top_P为0.3
|
||||||
|
|
||||||
@@ -71,8 +91,8 @@ body.json:
|
|||||||
|
|
||||||
- [ ] 模型训练功能
|
- [ ] 模型训练功能
|
||||||
- [x] CUDA算子int8提速
|
- [x] CUDA算子int8提速
|
||||||
- [ ] macOS支持
|
- [x] macOS支持
|
||||||
- [ ] linux支持
|
- [x] linux支持
|
||||||
- [ ] 本地状态缓存数据库
|
- [ ] 本地状态缓存数据库
|
||||||
|
|
||||||
## 相关仓库:
|
## 相关仓库:
|
||||||
|
|||||||
@@ -53,12 +53,14 @@ func (a *App) UpdateApp(url string) (broken bool, err error) {
|
|||||||
}
|
}
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
name, err := os.Executable()
|
if runtime.GOOS == "windows" {
|
||||||
if err != nil {
|
name, err := os.Executable()
|
||||||
return false, err
|
if err != nil {
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
exec.Command(name, os.Args[1:]...).Start()
|
||||||
|
wruntime.Quit(a.ctx)
|
||||||
}
|
}
|
||||||
exec.Command(name, os.Args[1:]...).Start()
|
|
||||||
wruntime.Quit(a.ctx)
|
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -52,17 +52,22 @@ func (a *App) InstallPyDep(python string, cnMirror bool) (string, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
ChangeFileLine("./py310/python310._pth", 3, "Lib\\site-packages")
|
ChangeFileLine("./py310/python310._pth", 3, "Lib\\site-packages")
|
||||||
}
|
}
|
||||||
if cnMirror {
|
|
||||||
_, err = Cmd(python, "./backend-python/get-pip.py", "-i", "https://pypi.tuna.tsinghua.edu.cn/simple")
|
if runtime.GOOS == "windows" {
|
||||||
} else {
|
if cnMirror {
|
||||||
_, err = Cmd(python, "./backend-python/get-pip.py")
|
_, err = Cmd(python, "./backend-python/get-pip.py", "-i", "https://pypi.tuna.tsinghua.edu.cn/simple")
|
||||||
}
|
} else {
|
||||||
if err != nil {
|
_, err = Cmd(python, "./backend-python/get-pip.py")
|
||||||
return "", err
|
}
|
||||||
|
if err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
_, err = Cmd(python, "-m", "pip", "install", "torch==1.13.1", "torchvision==0.14.1", "torchaudio==0.13.1", "--index-url", "https://download.pytorch.org/whl/cu117")
|
_, err = Cmd(python, "-m", "pip", "install", "torch==1.13.1", "torchvision==0.14.1", "torchaudio==0.13.1", "--index-url", "https://download.pytorch.org/whl/cu117")
|
||||||
} else {
|
} else {
|
||||||
@@ -71,9 +76,18 @@ func (a *App) InstallPyDep(python string, cnMirror bool) (string, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
if cnMirror {
|
|
||||||
return Cmd(python, "-m", "pip", "install", "-r", "./backend-python/requirements.txt", "-i", "https://pypi.tuna.tsinghua.edu.cn/simple")
|
if runtime.GOOS == "windows" {
|
||||||
|
if cnMirror {
|
||||||
|
return Cmd(python, "-m", "pip", "install", "-r", "./backend-python/requirements.txt", "-i", "https://pypi.tuna.tsinghua.edu.cn/simple")
|
||||||
|
} else {
|
||||||
|
return Cmd(python, "-m", "pip", "install", "-r", "./backend-python/requirements_versions.txt")
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
return Cmd(python, "-m", "pip", "install", "-r", "./backend-python/requirements_versions.txt")
|
if cnMirror {
|
||||||
|
return Cmd(python, "-m", "pip", "install", "-r", "./backend-python/requirements_without_cyac.txt", "-i", "https://pypi.tuna.tsinghua.edu.cn/simple")
|
||||||
|
} else {
|
||||||
|
return Cmd(python, "-m", "pip", "install", "-r", "./backend-python/requirements_without_cyac.txt")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,9 +25,11 @@ func Cmd(args ...string) (string, error) {
|
|||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, arg := range args {
|
if strings.Contains(cmdHelper, " ") {
|
||||||
if strings.Contains(arg, " ") && strings.Contains(cmdHelper, " ") {
|
for _, arg := range args {
|
||||||
return "", errors.New("path contains space") // golang bug https://github.com/golang/go/issues/17149#issuecomment-473976818
|
if strings.Contains(arg, " ") {
|
||||||
|
return "", errors.New("path contains space") // golang bug https://github.com/golang/go/issues/17149#issuecomment-473976818
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -138,6 +138,7 @@ The following is a coherent verbose detailed conversation between a girl named {
|
|||||||
set_rwkv_config(model, global_var.get(global_var.Model_Config))
|
set_rwkv_config(model, global_var.get(global_var.Model_Config))
|
||||||
set_rwkv_config(model, body)
|
set_rwkv_config(model, body)
|
||||||
if body.stream:
|
if body.stream:
|
||||||
|
response = ""
|
||||||
for response, delta in model.generate(
|
for response, delta in model.generate(
|
||||||
completion_text,
|
completion_text,
|
||||||
stop=f"\n\n{user}" if body.stop is None else body.stop,
|
stop=f"\n\n{user}" if body.stop is None else body.stop,
|
||||||
@@ -188,7 +189,7 @@ The following is a coherent verbose detailed conversation between a girl named {
|
|||||||
)
|
)
|
||||||
yield "[DONE]"
|
yield "[DONE]"
|
||||||
else:
|
else:
|
||||||
response = None
|
response = ""
|
||||||
for response, delta in model.generate(
|
for response, delta in model.generate(
|
||||||
completion_text,
|
completion_text,
|
||||||
stop=f"\n\n{user}" if body.stop is None else body.stop,
|
stop=f"\n\n{user}" if body.stop is None else body.stop,
|
||||||
@@ -282,6 +283,7 @@ async def completions(body: CompletionBody, request: Request):
|
|||||||
set_rwkv_config(model, global_var.get(global_var.Model_Config))
|
set_rwkv_config(model, global_var.get(global_var.Model_Config))
|
||||||
set_rwkv_config(model, body)
|
set_rwkv_config(model, body)
|
||||||
if body.stream:
|
if body.stream:
|
||||||
|
response = ""
|
||||||
for response, delta in model.generate(body.prompt, stop=body.stop):
|
for response, delta in model.generate(body.prompt, stop=body.stop):
|
||||||
if await request.is_disconnected():
|
if await request.is_disconnected():
|
||||||
break
|
break
|
||||||
@@ -329,7 +331,7 @@ async def completions(body: CompletionBody, request: Request):
|
|||||||
)
|
)
|
||||||
yield "[DONE]"
|
yield "[DONE]"
|
||||||
else:
|
else:
|
||||||
response = None
|
response = ""
|
||||||
for response, delta in model.generate(body.prompt, stop=body.stop):
|
for response, delta in model.generate(body.prompt, stop=body.stop):
|
||||||
if await request.is_disconnected():
|
if await request.is_disconnected():
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import pathlib
|
import pathlib
|
||||||
|
from utils.log import quick_log
|
||||||
|
|
||||||
from fastapi import APIRouter, HTTPException, Response, status as Status
|
from fastapi import APIRouter, HTTPException, Request, Response, status as Status
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
from utils.rwkv import *
|
from utils.rwkv import *
|
||||||
from utils.torch import *
|
from utils.torch import *
|
||||||
@@ -30,7 +31,7 @@ class SwitchModelBody(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
@router.post("/switch-model")
|
@router.post("/switch-model")
|
||||||
def switch_model(body: SwitchModelBody, response: Response):
|
def switch_model(body: SwitchModelBody, response: Response, request: Request):
|
||||||
if global_var.get(global_var.Model_Status) is global_var.ModelStatus.Loading:
|
if global_var.get(global_var.Model_Status) is global_var.ModelStatus.Loading:
|
||||||
response.status_code = Status.HTTP_304_NOT_MODIFIED
|
response.status_code = Status.HTTP_304_NOT_MODIFIED
|
||||||
return
|
return
|
||||||
@@ -53,6 +54,7 @@ def switch_model(body: SwitchModelBody, response: Response):
|
|||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
quick_log(request, body, f"Exception: {e}")
|
||||||
global_var.set(global_var.Model_Status, global_var.ModelStatus.Offline)
|
global_var.set(global_var.Model_Status, global_var.ModelStatus.Offline)
|
||||||
raise HTTPException(Status.HTTP_500_INTERNAL_SERVER_ERROR, "failed to load")
|
raise HTTPException(Status.HTTP_500_INTERNAL_SERVER_ERROR, "failed to load")
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
from typing import Any, Dict
|
from typing import Any, Dict
|
||||||
from fastapi import APIRouter, HTTPException, Response, status
|
from utils.log import quick_log
|
||||||
|
from fastapi import APIRouter, HTTPException, Request, Response, status
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
import gc
|
import gc
|
||||||
import copy
|
import copy
|
||||||
@@ -72,7 +73,7 @@ class LongestPrefixStateBody(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
@router.post("/longest-prefix-state")
|
@router.post("/longest-prefix-state")
|
||||||
def longest_prefix_state(body: LongestPrefixStateBody):
|
def longest_prefix_state(body: LongestPrefixStateBody, request: Request):
|
||||||
global trie
|
global trie
|
||||||
if trie is None:
|
if trie is None:
|
||||||
raise HTTPException(status.HTTP_400_BAD_REQUEST, "trie not loaded")
|
raise HTTPException(status.HTTP_400_BAD_REQUEST, "trie not loaded")
|
||||||
@@ -83,8 +84,10 @@ def longest_prefix_state(body: LongestPrefixStateBody):
|
|||||||
if id != -1:
|
if id != -1:
|
||||||
v = dtrie[id]
|
v = dtrie[id]
|
||||||
device = v["device"]
|
device = v["device"]
|
||||||
|
prompt = trie[id]
|
||||||
|
quick_log(request, body, "Hit: " + prompt)
|
||||||
return {
|
return {
|
||||||
"prompt": trie[id],
|
"prompt": prompt,
|
||||||
"tokens": v["tokens"],
|
"tokens": v["tokens"],
|
||||||
"state": [tensor.to(device) for tensor in v["state"]]
|
"state": [tensor.to(device) for tensor in v["state"]]
|
||||||
if device != torch.device("cpu")
|
if device != torch.device("cpu")
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ logger.addHandler(fh)
|
|||||||
|
|
||||||
def quick_log(request: Request, body: Any, response: str):
|
def quick_log(request: Request, body: Any, response: str):
|
||||||
logger.info(
|
logger.info(
|
||||||
f"Client: {request.client}\nUrl: {request.url}\n"
|
f"Client: {request.client if request else ''}\nUrl: {request.url if request else ''}\n"
|
||||||
+ (
|
+ (
|
||||||
f"Body: {json.dumps(body.__dict__, default=vars, ensure_ascii=False)}\n"
|
f"Body: {json.dumps(body.__dict__, default=vars, ensure_ascii=False)}\n"
|
||||||
if body
|
if body
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ The following is a coherent verbose detailed conversation between a girl named {
|
|||||||
delta_prompt = prompt
|
delta_prompt = prompt
|
||||||
try:
|
try:
|
||||||
cache = state_cache.longest_prefix_state(
|
cache = state_cache.longest_prefix_state(
|
||||||
state_cache.LongestPrefixStateBody(prompt=prompt)
|
state_cache.LongestPrefixStateBody(prompt=prompt), None
|
||||||
)
|
)
|
||||||
except HTTPException:
|
except HTTPException:
|
||||||
pass
|
pass
|
||||||
|
|||||||
4
build/darwin/Readme_Install.txt
vendored
4
build/darwin/Readme_Install.txt
vendored
@@ -1,3 +1,7 @@
|
|||||||
|
For Mac and Linux users, please manually install Python 3.10 (usually the latest systems come with it built-in). You can specify the Python interpreter to use in Settings.
|
||||||
|
对于Mac和Linux用户,请手动安装 Python3.10 (通常最新的系统已经内置了). 你可以在设置中指定使用的Python解释器.
|
||||||
|
MacおよびLinuxのユーザーの方は、Python3.10を手動でインストールしてください(通常、最新のシステムには既に組み込まれています)。 設定メニューで使用するPythonインタプリタを指定することができます。
|
||||||
|
|
||||||
Please execute this program in an empty directory. All related dependencies will be placed in this directory.
|
Please execute this program in an empty directory. All related dependencies will be placed in this directory.
|
||||||
请将本程序放在一个空目录内执行, 所有相关依赖均会放置于此目录.
|
请将本程序放在一个空目录内执行, 所有相关依赖均会放置于此目录.
|
||||||
このプログラムを空のディレクトリで実行してください。関連するすべての依存関係は、このディレクトリに配置されます。
|
このプログラムを空のディレクトリで実行してください。関連するすべての依存関係は、このディレクトリに配置されます。
|
||||||
|
|||||||
10
build/linux/Readme_Install.txt
vendored
10
build/linux/Readme_Install.txt
vendored
@@ -1,3 +1,7 @@
|
|||||||
|
For Mac and Linux users, please manually install Python 3.10 (usually the latest systems come with it built-in). You can specify the Python interpreter to use in Settings.
|
||||||
|
对于Mac和Linux用户,请手动安装 Python3.10 (通常最新的系统已经内置了). 你可以在设置中指定使用的Python解释器.
|
||||||
|
MacおよびLinuxのユーザーの方は、Python3.10を手動でインストールしてください(通常、最新のシステムには既に組み込まれています)。 設定メニューで使用するPythonインタプリタを指定することができます。
|
||||||
|
|
||||||
Please execute this program in an empty directory. All related dependencies will be placed in this directory.
|
Please execute this program in an empty directory. All related dependencies will be placed in this directory.
|
||||||
请将本程序放在一个空目录内执行, 所有相关依赖均会放置于此目录.
|
请将本程序放在一个空目录内执行, 所有相关依赖均会放置于此目录.
|
||||||
このプログラムを空のディレクトリで実行してください。関連するすべての依存関係は、このディレクトリに配置されます。
|
このプログラムを空のディレクトリで実行してください。関連するすべての依存関係は、このディレクトリに配置されます。
|
||||||
@@ -6,8 +10,10 @@ On Linux system, this program cannot invoke the terminal for automatic dependenc
|
|||||||
在Linux系统下, 本程序无法调用终端自动安装依赖, 你必须手动执行以下命令进行安装, 之后方可正常使用:
|
在Linux系统下, 本程序无法调用终端自动安装依赖, 你必须手动执行以下命令进行安装, 之后方可正常使用:
|
||||||
Linuxシステムでは、このプログラムはターミナルを自動的に呼び出して依存関係をインストールすることができません。以下のコマンドを手動で実行する必要があります。それが完了した後に、正常に使用することができます:
|
Linuxシステムでは、このプログラムはターミナルを自動的に呼び出して依存関係をインストールすることができません。以下のコマンドを手動で実行する必要があります。それが完了した後に、正常に使用することができます:
|
||||||
|
|
||||||
|
sudo apt install python3-dev
|
||||||
chmod +x ./RWKV-Runner
|
chmod +x ./RWKV-Runner
|
||||||
./RWKV-Runner
|
./RWKV-Runner
|
||||||
git clone https://github.com/josStorer/RWKV-Runner --depth=1
|
cd backend-python
|
||||||
cd RWKV-Runner/backend-python
|
|
||||||
pip3 install -r requirements.txt # or pip3 install -r requirements_without_cyac.txt
|
pip3 install -r requirements.txt # or pip3 install -r requirements_without_cyac.txt
|
||||||
|
|
||||||
|
# See More: https://github.com/josStorer/RWKV-Runner/tree/master/deploy-examples
|
||||||
|
|||||||
24
deploy-examples/ChatGPT-Next-Web/setup.bat
Normal file
24
deploy-examples/ChatGPT-Next-Web/setup.bat
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
: install git python3.10 yarn by yourself
|
||||||
|
: change model and strategy according to your hardware
|
||||||
|
|
||||||
|
mkdir RWKV-Next-Web
|
||||||
|
cd RWKV-Next-Web
|
||||||
|
|
||||||
|
git clone https://github.com/josStorer/RWKV-Runner --depth=1
|
||||||
|
python -m pip install torch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 --index-url https://download.pytorch.org/whl/cu117
|
||||||
|
python -m pip install -r RWKV-Runner/backend-python/requirements.txt
|
||||||
|
start python ./RWKV-Runner/backend-python/main.py
|
||||||
|
|
||||||
|
powershell -Command "(Test-Path ./RWKV-Runner/models) -or (mkdir RWKV-Runner/models)"
|
||||||
|
powershell -Command "Import-Module BitsTransfer"
|
||||||
|
powershell -Command "(Test-Path ./RWKV-Runner/models/RWKV-4-World-1.5B-v1-20230607-ctx4096.pth) -or (Start-BitsTransfer https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-1.5B-v1-20230607-ctx4096.pth ./RWKV-Runner/models/RWKV-4-World-1.5B-v1-20230607-ctx4096.pth)"
|
||||||
|
powershell -Command "Invoke-WebRequest http://127.0.0.1:8000/switch-model -Method POST -ContentType 'application/json' -Body '{\"model\":\"./RWKV-Runner/models/RWKV-4-World-1.5B-v1-20230607-ctx4096.pth\",\"strategy\":\"cuda fp32 *20+\"}'"
|
||||||
|
|
||||||
|
git clone https://github.com/Yidadaa/ChatGPT-Next-Web --depth=1
|
||||||
|
cd ChatGPT-Next-Web
|
||||||
|
call yarn install
|
||||||
|
call yarn build
|
||||||
|
set PROXY_URL=""
|
||||||
|
set BASE_URL=http://127.0.0.1:8000
|
||||||
|
start "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" "http://127.0.0.1:3000"
|
||||||
|
yarn start
|
||||||
27
deploy-examples/ChatGPT-Next-Web/setup.sh
Normal file
27
deploy-examples/ChatGPT-Next-Web/setup.sh
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# install git python3.10 yarn by yourself
|
||||||
|
# change model and strategy according to your hardware
|
||||||
|
|
||||||
|
sudo apt install python3-dev
|
||||||
|
|
||||||
|
mkdir RWKV-Next-Web
|
||||||
|
cd RWKV-Next-Web
|
||||||
|
|
||||||
|
git clone https://github.com/josStorer/RWKV-Runner --depth=1
|
||||||
|
python3 -m pip install torch torchvision torchaudio
|
||||||
|
python3 -m pip install -r RWKV-Runner/backend-python/requirements.txt
|
||||||
|
python3 ./RWKV-Runner/backend-python/main.py > log.txt &
|
||||||
|
|
||||||
|
if [ ! -d RWKV-Runner/models ]; then
|
||||||
|
mkdir RWKV-Runner/models
|
||||||
|
fi
|
||||||
|
wget -N https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-0.1B-v1-20230520-ctx4096.pth -P RWKV-Runner/models/
|
||||||
|
|
||||||
|
git clone https://github.com/Yidadaa/ChatGPT-Next-Web --depth=1
|
||||||
|
cd ChatGPT-Next-Web
|
||||||
|
yarn install
|
||||||
|
yarn build
|
||||||
|
export PROXY_URL=""
|
||||||
|
export BASE_URL=http://127.0.0.1:8000
|
||||||
|
yarn start &
|
||||||
|
|
||||||
|
curl http://127.0.0.1:8000/switch-model -X POST -H "Content-Type: application/json" -d '{"model":"./RWKV-Runner/models/RWKV-4-World-0.1B-v1-20230520-ctx4096.pth","strategy":"cpu fp32"}'
|
||||||
@@ -141,5 +141,6 @@
|
|||||||
"Current Strategy": "当前Strategy",
|
"Current Strategy": "当前Strategy",
|
||||||
"MacOS is not yet supported for performing this operation, please do it manually.": "MacOS尚未支持此操作, 请手动执行",
|
"MacOS is not yet supported for performing this operation, please do it manually.": "MacOS尚未支持此操作, 请手动执行",
|
||||||
"Linux is not yet supported for performing this operation, please do it manually.": "Linux尚未支持此操作, 请手动执行",
|
"Linux is not yet supported for performing this operation, please do it manually.": "Linux尚未支持此操作, 请手动执行",
|
||||||
"On Linux system, you must manually install python dependencies.": "在Linux系统下, 你必须手动安装python依赖"
|
"On Linux system, you must manually install python dependencies.": "在Linux系统下, 你必须手动安装python依赖",
|
||||||
|
"Update completed, please restart the program.": "更新完成, 请重启程序"
|
||||||
}
|
}
|
||||||
@@ -40,7 +40,6 @@ export type ModelParameters = {
|
|||||||
precision: Precision;
|
precision: Precision;
|
||||||
storedLayers: number;
|
storedLayers: number;
|
||||||
maxStoredLayers: number;
|
maxStoredLayers: number;
|
||||||
enableHighPrecisionForLastLayer: boolean;
|
|
||||||
useCustomCuda?: boolean;
|
useCustomCuda?: boolean;
|
||||||
customStrategy?: string;
|
customStrategy?: string;
|
||||||
}
|
}
|
||||||
@@ -323,17 +322,7 @@ export const Configs: FC = observer(() => {
|
|||||||
} />
|
} />
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
selectedConfig.modelParameters.device == 'CUDA' &&
|
selectedConfig.modelParameters.device == 'CUDA' && <div />
|
||||||
<Labeled label={t('Enable High Precision For Last Layer')}
|
|
||||||
desc={t('Whether to use CPU to calculate the last output layer of the neural network with FP32 precision to obtain better quality.')}
|
|
||||||
content={
|
|
||||||
<Switch checked={selectedConfig.modelParameters.enableHighPrecisionForLastLayer}
|
|
||||||
onChange={(e, data) => {
|
|
||||||
setSelectedConfigModelParams({
|
|
||||||
enableHighPrecisionForLastLayer: data.checked
|
|
||||||
});
|
|
||||||
}} />
|
|
||||||
} />
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
displayStrategyImg &&
|
displayStrategyImg &&
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ export const defaultModelConfigsMac: ModelConfig[] = [
|
|||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: false,
|
useCustomCuda: false,
|
||||||
customStrategy: 'mps fp32'
|
customStrategy: 'mps fp32'
|
||||||
}
|
}
|
||||||
@@ -38,7 +37,6 @@ export const defaultModelConfigsMac: ModelConfig[] = [
|
|||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: false,
|
useCustomCuda: false,
|
||||||
customStrategy: 'mps fp32'
|
customStrategy: 'mps fp32'
|
||||||
}
|
}
|
||||||
@@ -59,7 +57,6 @@ export const defaultModelConfigsMac: ModelConfig[] = [
|
|||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: false,
|
useCustomCuda: false,
|
||||||
customStrategy: 'mps fp32'
|
customStrategy: 'mps fp32'
|
||||||
}
|
}
|
||||||
@@ -79,8 +76,7 @@ export const defaultModelConfigsMac: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -98,8 +94,7 @@ export const defaultModelConfigsMac: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -117,8 +112,7 @@ export const defaultModelConfigsMac: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -136,8 +130,7 @@ export const defaultModelConfigsMac: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -155,8 +148,7 @@ export const defaultModelConfigsMac: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@@ -178,7 +170,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 4,
|
storedLayers: 4,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: true,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -198,7 +189,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -218,7 +208,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 24,
|
storedLayers: 24,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: true,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -238,7 +227,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 24,
|
storedLayers: 24,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: true,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -258,7 +246,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 8,
|
storedLayers: 8,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: true,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -278,7 +265,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 8,
|
storedLayers: 8,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: true,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -298,7 +284,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'fp16',
|
precision: 'fp16',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -318,7 +303,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -338,7 +322,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -358,7 +341,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 18,
|
storedLayers: 18,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: true,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -378,7 +360,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 18,
|
storedLayers: 18,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: true,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -398,7 +379,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'fp16',
|
precision: 'fp16',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -418,7 +398,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'fp16',
|
precision: 'fp16',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -438,7 +417,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 27,
|
storedLayers: 27,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -458,7 +436,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 27,
|
storedLayers: 27,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -478,7 +455,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -498,7 +474,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -518,7 +493,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 24,
|
storedLayers: 24,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -538,7 +512,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'fp16',
|
precision: 'fp16',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -558,7 +531,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'fp16',
|
precision: 'fp16',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -578,7 +550,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 37,
|
storedLayers: 37,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -598,7 +569,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'int8',
|
precision: 'int8',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -618,7 +588,6 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
precision: 'fp16',
|
precision: 'fp16',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41,
|
||||||
enableHighPrecisionForLastLayer: false,
|
|
||||||
useCustomCuda: true
|
useCustomCuda: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -637,8 +606,7 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -656,8 +624,7 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -675,8 +642,7 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -694,8 +660,7 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -713,8 +678,7 @@ export const defaultModelConfigs: ModelConfig[] = [
|
|||||||
device: 'CPU',
|
device: 'CPU',
|
||||||
precision: 'fp32',
|
precision: 'fp32',
|
||||||
storedLayers: 41,
|
storedLayers: 41,
|
||||||
maxStoredLayers: 41,
|
maxStoredLayers: 41
|
||||||
enableHighPrecisionForLastLayer: false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@@ -16,7 +16,6 @@ import { Button } from '@fluentui/react-components';
|
|||||||
import { Language, Languages, SettingsType } from '../pages/Settings';
|
import { Language, Languages, SettingsType } from '../pages/Settings';
|
||||||
import { ModelSourceItem } from '../pages/Models';
|
import { ModelSourceItem } from '../pages/Models';
|
||||||
import { ModelConfig, ModelParameters } from '../pages/Configs';
|
import { ModelConfig, ModelParameters } from '../pages/Configs';
|
||||||
import { BrowserOpenURL } from '../../wailsjs/runtime';
|
|
||||||
|
|
||||||
export type Cache = {
|
export type Cache = {
|
||||||
models: ModelSourceItem[]
|
models: ModelSourceItem[]
|
||||||
@@ -138,8 +137,6 @@ export const getStrategy = (modelConfig: ModelConfig | undefined = undefined) =>
|
|||||||
strategy += params.precision === 'fp16' ? 'fp16' : params.precision === 'int8' ? 'fp16i8' : 'fp32';
|
strategy += params.precision === 'fp16' ? 'fp16' : params.precision === 'int8' ? 'fp16i8' : 'fp32';
|
||||||
if (params.storedLayers < params.maxStoredLayers)
|
if (params.storedLayers < params.maxStoredLayers)
|
||||||
strategy += ` *${params.storedLayers}+`;
|
strategy += ` *${params.storedLayers}+`;
|
||||||
if (params.enableHighPrecisionForLastLayer)
|
|
||||||
strategy += ' -> cpu fp32 *1';
|
|
||||||
break;
|
break;
|
||||||
case 'MPS':
|
case 'MPS':
|
||||||
strategy += 'mps ';
|
strategy += 'mps ';
|
||||||
@@ -250,24 +247,27 @@ export async function checkUpdate(notifyEvenLatest: boolean = false) {
|
|||||||
`https://gitee.com/josc146/RWKV-Runner/releases/download/${versionTag}/${asset.name}`;
|
`https://gitee.com/josc146/RWKV-Runner/releases/download/${versionTag}/${asset.name}`;
|
||||||
toastWithButton(t('New Version Available') + ': ' + versionTag, t('Update'), () => {
|
toastWithButton(t('New Version Available') + ': ' + versionTag, t('Update'), () => {
|
||||||
DeleteFile('cache.json');
|
DeleteFile('cache.json');
|
||||||
if (commonStore.platform != 'darwin') {
|
toast(t('Downloading update, please wait. If it is not completed, please manually download the program from GitHub and replace the original program.'), {
|
||||||
toast(t('Downloading update, please wait. If it is not completed, please manually download the program from GitHub and replace the original program.'), {
|
type: 'info',
|
||||||
type: 'info',
|
position: 'bottom-left',
|
||||||
position: 'bottom-left',
|
autoClose: 30000
|
||||||
autoClose: 20000
|
});
|
||||||
});
|
setTimeout(() => {
|
||||||
setTimeout(() => {
|
UpdateApp(updateUrl).then(() => {
|
||||||
UpdateApp(updateUrl).catch((e) => {
|
toast(t('Update completed, please restart the program.'), {
|
||||||
toast(t('Update Error') + ' - ' + e.message || e, {
|
type: 'success',
|
||||||
type: 'error',
|
|
||||||
position: 'bottom-left',
|
position: 'bottom-left',
|
||||||
autoClose: false
|
autoClose: false
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
}).catch((e) => {
|
||||||
|
toast(t('Update Error') + ' - ' + e.message || e, {
|
||||||
|
type: 'error',
|
||||||
|
position: 'bottom-left',
|
||||||
|
autoClose: false
|
||||||
});
|
});
|
||||||
}, 500);
|
});
|
||||||
} else {
|
}, 500);
|
||||||
BrowserOpenURL(updateUrl);
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
autoClose: false,
|
autoClose: false,
|
||||||
position: 'bottom-left'
|
position: 'bottom-left'
|
||||||
|
|||||||
517
manifest.json
517
manifest.json
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "1.1.9",
|
"version": "1.2.0",
|
||||||
"introduction": {
|
"introduction": {
|
||||||
"en": "RWKV is an open-source, commercially usable large language model with high flexibility and great potential for development.\n### About This Tool\nThis tool aims to lower the barrier of entry for using large language models, making it accessible to everyone. It provides fully automated dependency and model management. You simply need to click and run, following the instructions, to deploy a local large language model. The tool itself is very compact and only requires a single executable file for one-click deployment.\nAdditionally, this tool offers an interface that is fully compatible with the OpenAI API. This means you can use any ChatGPT client as a client for RWKV, enabling capability expansion beyond just chat functionality.\n### Preset Configuration Rules at the Bottom\nThis tool comes with a series of preset configurations to reduce complexity. The naming rules for each configuration represent the following in order: device - required VRAM/memory - model size - model language.\nFor example, \"GPU-8G-3B-EN\" indicates that this configuration is for a graphics card with 8GB of VRAM, a model size of 3 billion parameters, and it uses an English language model.\nLarger model sizes have higher performance and VRAM requirements. Among configurations with the same model size, those with higher VRAM usage will have faster runtime.\nFor example, if you have 12GB of VRAM but running the \"GPU-12G-7B-EN\" configuration is slow, you can downgrade to \"GPU-8G-3B-EN\" for a significant speed improvement.\n### About RWKV\nRWKV is an RNN with Transformer-level LLM performance, which can also be directly trained like a GPT transformer (parallelizable). And it's 100% attention-free. You only need the hidden state at position t to compute the state at position t+1. You can use the \"GPT\" mode to quickly compute the hidden state for the \"RNN\" mode.<br/>So it's combining the best of RNN and transformer - great performance, fast inference, saves VRAM, fast training, \"infinite\" ctx_len, and free sentence embedding (using the final hidden state).",
|
"en": "RWKV is an open-source, commercially usable large language model with high flexibility and great potential for development.\n### About This Tool\nThis tool aims to lower the barrier of entry for using large language models, making it accessible to everyone. It provides fully automated dependency and model management. You simply need to click and run, following the instructions, to deploy a local large language model. The tool itself is very compact and only requires a single executable file for one-click deployment.\nAdditionally, this tool offers an interface that is fully compatible with the OpenAI API. This means you can use any ChatGPT client as a client for RWKV, enabling capability expansion beyond just chat functionality.\n### Preset Configuration Rules at the Bottom\nThis tool comes with a series of preset configurations to reduce complexity. The naming rules for each configuration represent the following in order: device - required VRAM/memory - model size - model language.\nFor example, \"GPU-8G-3B-EN\" indicates that this configuration is for a graphics card with 8GB of VRAM, a model size of 3 billion parameters, and it uses an English language model.\nLarger model sizes have higher performance and VRAM requirements. Among configurations with the same model size, those with higher VRAM usage will have faster runtime.\nFor example, if you have 12GB of VRAM but running the \"GPU-12G-7B-EN\" configuration is slow, you can downgrade to \"GPU-8G-3B-EN\" for a significant speed improvement.\n### About RWKV\nRWKV is an RNN with Transformer-level LLM performance, which can also be directly trained like a GPT transformer (parallelizable). And it's 100% attention-free. You only need the hidden state at position t to compute the state at position t+1. You can use the \"GPT\" mode to quickly compute the hidden state for the \"RNN\" mode.<br/>So it's combining the best of RNN and transformer - great performance, fast inference, saves VRAM, fast training, \"infinite\" ctx_len, and free sentence embedding (using the final hidden state).",
|
||||||
"zh": "RWKV是一个开源且允许商用的大语言模型,灵活性很高且极具发展潜力。\n### 关于本工具\n本工具旨在降低大语言模型的使用门槛,做到人人可用,本工具提供了全自动化的依赖和模型管理,你只需要直接点击运行,跟随引导,即可完成本地大语言模型的部署,工具本身体积极小,只需要一个exe即可完成一键部署。\n此外,本工具提供了与OpenAI API完全兼容的接口,这意味着你可以把任意ChatGPT客户端用作RWKV的客户端,实现能力拓展,而不局限于聊天。\n### 底部的预设配置规则\n本工具内置了一系列预设配置,以降低使用难度,每个配置名的规则,依次代表着:设备-所需显存/内存-模型规模-模型语言。\n例如,GPU-8G-3B-CN,表示该配置用于显卡,需要8G显存,模型规模为30亿参数,使用的是中文模型。\n模型规模越大,性能要求越高,显存要求也越高,而同样模型规模的配置中,显存占用越高的,运行速度越快。\n例如当你有12G显存,但运行GPU-12G-7B-CN配置速度比较慢,可降级成GPU-8G-3B-CN,将会大幅提速。\n### 关于RWKV\nRWKV是具有Transformer级别LLM性能的RNN,也可以像GPT Transformer一样直接进行训练(可并行化)。而且它是100% attention-free的。你只需在位置t处获得隐藏状态即可计算位置t + 1处的状态。你可以使用“GPT”模式快速计算用于“RNN”模式的隐藏状态。\n因此,它将RNN和Transformer的优点结合起来 - 高性能、快速推理、节省显存、快速训练、“无限”上下文长度以及免费的语句嵌入(使用最终隐藏状态)。"
|
"zh": "RWKV是一个开源且允许商用的大语言模型,灵活性很高且极具发展潜力。\n### 关于本工具\n本工具旨在降低大语言模型的使用门槛,做到人人可用,本工具提供了全自动化的依赖和模型管理,你只需要直接点击运行,跟随引导,即可完成本地大语言模型的部署,工具本身体积极小,只需要一个exe即可完成一键部署。\n此外,本工具提供了与OpenAI API完全兼容的接口,这意味着你可以把任意ChatGPT客户端用作RWKV的客户端,实现能力拓展,而不局限于聊天。\n### 底部的预设配置规则\n本工具内置了一系列预设配置,以降低使用难度,每个配置名的规则,依次代表着:设备-所需显存/内存-模型规模-模型语言。\n例如,GPU-8G-3B-CN,表示该配置用于显卡,需要8G显存,模型规模为30亿参数,使用的是中文模型。\n模型规模越大,性能要求越高,显存要求也越高,而同样模型规模的配置中,显存占用越高的,运行速度越快。\n例如当你有12G显存,但运行GPU-12G-7B-CN配置速度比较慢,可降级成GPU-8G-3B-CN,将会大幅提速。\n### 关于RWKV\nRWKV是具有Transformer级别LLM性能的RNN,也可以像GPT Transformer一样直接进行训练(可并行化)。而且它是100% attention-free的。你只需在位置t处获得隐藏状态即可计算位置t + 1处的状态。你可以使用“GPT”模式快速计算用于“RNN”模式的隐藏状态。\n因此,它将RNN和Transformer的优点结合起来 - 高性能、快速推理、节省显存、快速训练、“无限”上下文长度以及免费的语句嵌入(使用最终隐藏状态)。"
|
||||||
@@ -16,16 +16,227 @@
|
|||||||
],
|
],
|
||||||
"models": [
|
"models": [
|
||||||
{
|
{
|
||||||
"name": "RWKV-4-Raven-3B-v12-Eng49%-Chn49%-Jpn1%-Other1%-20230527-ctx4096.pth",
|
"name": "RWKV-4-World-0.1B-v1-20230520-ctx4096.pth",
|
||||||
"desc": {
|
"desc": {
|
||||||
"en": "Chinese 3B v12",
|
"en": "100+ Languages 0.1B v1",
|
||||||
"zh": "中文 3B v12"
|
"zh": "100+ 语言 0.1B v1"
|
||||||
},
|
},
|
||||||
"size": 5969345330,
|
"size": 385594610,
|
||||||
"SHA256": "c0abb4b745ba3523b9d8b3e1293110867ee55b1ef3dc8c122212f78396755721",
|
"SHA256": "a10ef99df2a8f8a6801edf4fc92a9c49bedd63dcb900d3e5667a2136b3d671e7",
|
||||||
"lastUpdated": "2023-05-28T11:51:12",
|
"lastUpdated": "2023-05-25T09:21:27",
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-3B-v12-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230527-ctx4096.pth",
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-0.1B-v1-20230520-ctx4096.pth",
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-3B-v12-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230527-ctx4096.pth"
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-0.1B-v1-20230520-ctx4096.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-0.4B-v1-20230529-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 0.4B v1",
|
||||||
|
"zh": "100+ 语言 0.4B v1"
|
||||||
|
},
|
||||||
|
"size": 923362866,
|
||||||
|
"SHA256": "4b4a2733cf5e5dc97dd62106f391d99895d16b11c5ccd10c89f28c52067a4919",
|
||||||
|
"lastUpdated": "2023-05-29T13:25:53",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-0.4B-v1-20230529-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-0.4B-v1-20230529-ctx4096.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-1.5B-v1-OnlyForTest_57%_trained-20230529-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 1.5B v1 Test",
|
||||||
|
"zh": "100+ 语言 1.5B v1 测试"
|
||||||
|
},
|
||||||
|
"size": 3155281581,
|
||||||
|
"SHA256": "ac36770931776c5aa179690918c9a3b0b5f4ebe3301ea3574a7e182209778788",
|
||||||
|
"lastUpdated": "2023-05-29T13:25:53",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-1.5B-v1-OnlyForTest_57%25_trained-20230529-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-1.5B-v1-OnlyForTest_57%25_trained-20230529-ctx4096.pth",
|
||||||
|
"hide": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-1.5B-v1-OnlyForTest_81%_trained-20230603-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 1.5B v1 Test",
|
||||||
|
"zh": "100+ 语言 1.5B v1 测试"
|
||||||
|
},
|
||||||
|
"size": 3155281581,
|
||||||
|
"SHA256": "044fb10daa71f4c012493ac8ef455c8c3301095b5f009dae58f0f6382a53e23c",
|
||||||
|
"lastUpdated": "2023-06-03T13:57:20",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-1.5B-v1-OnlyForTest_81%25_trained-20230603-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-1.5B-v1-OnlyForTest_81%25_trained-20230603-ctx4096.pth",
|
||||||
|
"hide": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-1.5B-v1-20230607-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 1.5B v1",
|
||||||
|
"zh": "100+ 语言 1.5B v1"
|
||||||
|
},
|
||||||
|
"size": 3155281586,
|
||||||
|
"SHA256": "05bad4ab0ce41250064153d5352587b83215a82eb50134489675129bd4ad1087",
|
||||||
|
"lastUpdated": "2023-06-07T09:33:32",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-1.5B-v1-20230607-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-1.5B-v1-20230607-ctx4096.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-3B-v1-OnlyForTest_35%_trained-20230529-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 3B v1 Test",
|
||||||
|
"zh": "100+ 语言 3B v1 测试"
|
||||||
|
},
|
||||||
|
"size": 6125597613,
|
||||||
|
"SHA256": "e4ee6e91a80d56de43bc79841f3a8be3b7b215d7d9788f79c467b9b1f7f03cb8",
|
||||||
|
"lastUpdated": "2023-05-29T13:25:53",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-3B-v1-OnlyForTest_35%25_trained-20230529-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-3B-v1-OnlyForTest_35%25_trained-20230529-ctx4096.pth",
|
||||||
|
"hide": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-3B-v1-OnlyForTest_52%_trained-20230603-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 3B v1 Test",
|
||||||
|
"zh": "100+ 语言 3B v1 测试"
|
||||||
|
},
|
||||||
|
"size": 6125597613,
|
||||||
|
"SHA256": "aad3671078a0c686368add4f4b695a76c2ba1ddd505a64c0949bb003beeee9a3",
|
||||||
|
"lastUpdated": "2023-06-03T13:57:20",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-3B-v1-OnlyForTest_52%25_trained-20230603-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-3B-v1-OnlyForTest_52%25_trained-20230603-ctx4096.pth",
|
||||||
|
"hide": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-3B-v1-OnlyForTest_64%_trained-20230607-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 3B v1 Test",
|
||||||
|
"zh": "100+ 语言 3B v1 测试"
|
||||||
|
},
|
||||||
|
"size": 6125597613,
|
||||||
|
"SHA256": "49e8675e09e0786ca12a554442c37b9e809ed93e9211af937cd149968a6b81e9",
|
||||||
|
"lastUpdated": "2023-06-07T09:33:32",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-3B-v1-OnlyForTest_64%25_trained-20230607-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-3B-v1-OnlyForTest_64%25_trained-20230607-ctx4096.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-7B-v1-OnlyForTest_30%_trained-20230529-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 7B v1 Test",
|
||||||
|
"zh": "100+ 语言 7B v1 测试"
|
||||||
|
},
|
||||||
|
"size": 15035393581,
|
||||||
|
"SHA256": "05f91562b2ae8b025226e40b3fb536d6f8eb3c142ac899c0808ee1c9dc189ec4",
|
||||||
|
"lastUpdated": "2023-05-29T13:25:53",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-7B-v1-OnlyForTest_30%25_trained-20230529-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-7B-v1-OnlyForTest_30%25_trained-20230529-ctx4096.pth",
|
||||||
|
"hide": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-7B-v1-OnlyForTest_40%_trained-20230601-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 7B v1 Test",
|
||||||
|
"zh": "100+ 语言 7B v1 测试"
|
||||||
|
},
|
||||||
|
"size": 15035393581,
|
||||||
|
"SHA256": "63c060c472e45b6c3af2baaaee448ffd95f9b46e3cc6e1ef70ce7ecb1d01bcfa",
|
||||||
|
"lastUpdated": "2023-06-02T00:09:39",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-7B-v1-OnlyForTest_40%25_trained-20230601-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-7B-v1-OnlyForTest_40%25_trained-20230601-ctx4096.pth",
|
||||||
|
"hide": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-World-7B-v1-OnlyForTest_52%_trained-20230606-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "100+ Languages 7B v1 Test",
|
||||||
|
"zh": "100+ 语言 7B v1 测试"
|
||||||
|
},
|
||||||
|
"size": 15035393581,
|
||||||
|
"SHA256": "636405626eadbab230e1a7dc2855bb6244e09b5850547dda7103f650b4849de7",
|
||||||
|
"lastUpdated": "2023-06-06T14:21:31",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-7B-v1-OnlyForTest_52%25_trained-20230606-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-7B-v1-OnlyForTest_52%25_trained-20230606-ctx4096.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Novel-7B-v1-ChnEng-ChnPro-20230410-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "Professional Writer 7B v1",
|
||||||
|
"zh": "专业写作 7B v1"
|
||||||
|
},
|
||||||
|
"size": 14785389618,
|
||||||
|
"SHA256": "cd40b661930dea46c0f930c51d99cef6b484fe3d641388981dee5a0c68e2b1c7",
|
||||||
|
"lastUpdated": "2023-04-10T13:55:52",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-7B-v1-ChnEng-ChnPro-20230410-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-7B-v1-ChnEng-ChnPro-20230410-ctx4096.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Novel-3B-v1-ChnEng-20230412-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "Balanced Writer 3B v1",
|
||||||
|
"zh": "均衡写作 3B v1"
|
||||||
|
},
|
||||||
|
"size": 5969345064,
|
||||||
|
"SHA256": "283c6e6fa10c52a93e9a01d9630f288473267ea152a49c6579b5c0427bdc9c61",
|
||||||
|
"lastUpdated": "2023-04-12T13:18:29",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-3B-v1-ChnEng-20230412-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-3B-v1-ChnEng-20230412-ctx4096.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Novel-7B-v1-ChnEng-20230426-ctx8192.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "Balanced Writer 7B v1",
|
||||||
|
"zh": "均衡写作 7B v1"
|
||||||
|
},
|
||||||
|
"size": 14785389864,
|
||||||
|
"SHA256": "bd08c75a296bd193dcfadb993fe06d7f9dd91ca3385231f24c592c89d25cd596",
|
||||||
|
"lastUpdated": "2023-04-26T18:57:01",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-7B-v1-ChnEng-20230426-ctx8192.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-7B-v1-ChnEng-20230426-ctx8192.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Novel-3B-v1-Chn-20230412-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "Popular Writer 3B v1",
|
||||||
|
"zh": "通俗写作 3B v1"
|
||||||
|
},
|
||||||
|
"size": 5969345064,
|
||||||
|
"SHA256": "c41e0af2cbc66e94121377680e8224a1504fac6c9ea620c395f0a79281db26e7",
|
||||||
|
"lastUpdated": "2023-04-12T13:18:29",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-3B-v1-Chn-20230412-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-3B-v1-Chn-20230412-ctx4096.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Novel-7B-v1-Chn-20230426-ctx8192.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "Popular Writer 7B v1",
|
||||||
|
"zh": "通俗写作 7B v1"
|
||||||
|
},
|
||||||
|
"size": 14785389864,
|
||||||
|
"SHA256": "5fced44febdf80d303250eef9c020f087abded43aaecc8caaea8a9e7f1fb771e",
|
||||||
|
"lastUpdated": "2023-04-26T18:57:01",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-7B-v1-Chn-20230426-ctx8192.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-7B-v1-Chn-20230426-ctx8192.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Raven-1B5-v11-Eng99%-Other1%-20230425-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "English 1.5B v11",
|
||||||
|
"zh": "英文 1.5B v11"
|
||||||
|
},
|
||||||
|
"size": 3030279730,
|
||||||
|
"SHA256": "4ac715aecc5b1c90e8e37eebb8163392699066ec23b18144416e91cb4e78675a",
|
||||||
|
"lastUpdated": "2023-04-26T14:27:55",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-1B5-v11-Eng99%25-Other1%25-20230425-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-1B5-v11-Eng99%25-Other1%25-20230425-ctx4096.pth",
|
||||||
|
"hide": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Raven-1B5-v12-Eng98%-Other2%-20230520-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "English 1B5 v12",
|
||||||
|
"zh": "英文 1B5 v12"
|
||||||
|
},
|
||||||
|
"size": 3030279730,
|
||||||
|
"SHA256": "6bbbffb3ee2372dfa9ef49c599e9a2bc0a01b94b6a264ba9bf5bd524fc38f723",
|
||||||
|
"lastUpdated": "2023-05-21T07:08:56",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-1B5-v12-Eng98%25-Other2%25-20230520-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-1B5-v12-Eng98%25-Other2%25-20230520-ctx4096.pth"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "RWKV-4-Raven-3B-v11-Eng99%-Other1%-20230425-ctx4096.pth",
|
"name": "RWKV-4-Raven-3B-v11-Eng99%-Other1%-20230425-ctx4096.pth",
|
||||||
@@ -52,6 +263,56 @@
|
|||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-3B-v12-Eng98%25-Other2%25-20230520-ctx4096.pth",
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-3B-v12-Eng98%25-Other2%25-20230520-ctx4096.pth",
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-3B-v12-Eng98%25-Other2%25-20230520-ctx4096.pth"
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-3B-v12-Eng98%25-Other2%25-20230520-ctx4096.pth"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Raven-3B-v11-Eng49%-Chn49%-Jpn1%-Other1%-20230429-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "Chinese 3B v11",
|
||||||
|
"zh": "中文 3B v11"
|
||||||
|
},
|
||||||
|
"size": 5969345074,
|
||||||
|
"SHA256": "af12300d9875e0e166c23d6e9b20928db435073060bf1d36f874060de92ada98",
|
||||||
|
"lastUpdated": "2023-04-29T11:51:51",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-3B-v11-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230429-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-3B-v11-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230429-ctx4096.pth",
|
||||||
|
"hide": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Raven-3B-v12-Eng49%-Chn49%-Jpn1%-Other1%-20230527-ctx4096.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "Chinese 3B v12",
|
||||||
|
"zh": "中文 3B v12"
|
||||||
|
},
|
||||||
|
"size": 5969345330,
|
||||||
|
"SHA256": "c0abb4b745ba3523b9d8b3e1293110867ee55b1ef3dc8c122212f78396755721",
|
||||||
|
"lastUpdated": "2023-05-28T11:51:12",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-3B-v12-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230527-ctx4096.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-3B-v12-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230527-ctx4096.pth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Raven-7B-v11x-Eng99%-Other1%-20230429-ctx8192.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "English 7B v11x",
|
||||||
|
"zh": "英文 7B v11x"
|
||||||
|
},
|
||||||
|
"size": 14785389874,
|
||||||
|
"SHA256": "f00d5c75b453f2b20ad875fb5a324564c34024eea25a015f5eb441e4f364c3fe",
|
||||||
|
"lastUpdated": "2023-04-29T11:44:32",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-7B-v11x-Eng99%25-Other1%25-20230429-ctx8192.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-7B-v11x-Eng99%25-Other1%25-20230429-ctx8192.pth",
|
||||||
|
"hide": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RWKV-4-Raven-7B-v12-Eng98%-Other2%-20230521-ctx8192.pth",
|
||||||
|
"desc": {
|
||||||
|
"en": "English 7B v12",
|
||||||
|
"zh": "英文 7B v12"
|
||||||
|
},
|
||||||
|
"size": 14785389618,
|
||||||
|
"SHA256": "5a725eaeb9e09b724de6c97e6845dd0283097c7920acd05b46852ab7afa9ec32",
|
||||||
|
"lastUpdated": "2023-05-22T10:32:17",
|
||||||
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-7B-v12-Eng98%25-Other2%25-20230521-ctx8192.pth",
|
||||||
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-7B-v12-Eng98%25-Other2%25-20230521-ctx8192.pth"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "RWKV-4-Raven-7B-v10x-Eng49%-Chn50%-Other1%-20230423-ctx4096.pth",
|
"name": "RWKV-4-Raven-7B-v10x-Eng49%-Chn50%-Other1%-20230423-ctx4096.pth",
|
||||||
"desc": {
|
"desc": {
|
||||||
@@ -90,81 +351,6 @@
|
|||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-7B-v12-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230530-ctx8192.pth",
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-7B-v12-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230530-ctx8192.pth",
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-7B-v12-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230530-ctx8192.pth"
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-7B-v12-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230530-ctx8192.pth"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "RWKV-4-Raven-7B-v12-Eng98%-Other2%-20230521-ctx8192.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "English 7B v12",
|
|
||||||
"zh": "英文 7B v12"
|
|
||||||
},
|
|
||||||
"size": 14785389618,
|
|
||||||
"SHA256": "5a725eaeb9e09b724de6c97e6845dd0283097c7920acd05b46852ab7afa9ec32",
|
|
||||||
"lastUpdated": "2023-05-22T10:32:17",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-7B-v12-Eng98%25-Other2%25-20230521-ctx8192.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-7B-v12-Eng98%25-Other2%25-20230521-ctx8192.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-Raven-7B-v11x-Eng99%-Other1%-20230429-ctx8192.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "English 7B v11x",
|
|
||||||
"zh": "英文 7B v11x"
|
|
||||||
},
|
|
||||||
"size": 14785389874,
|
|
||||||
"SHA256": "f00d5c75b453f2b20ad875fb5a324564c34024eea25a015f5eb441e4f364c3fe",
|
|
||||||
"lastUpdated": "2023-04-29T11:44:32",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-7B-v11x-Eng99%25-Other1%25-20230429-ctx8192.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-7B-v11x-Eng99%25-Other1%25-20230429-ctx8192.pth",
|
|
||||||
"hide": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-Raven-1B5-v11-Eng99%-Other1%-20230425-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "English 1.5B v11",
|
|
||||||
"zh": "英文 1.5B v11"
|
|
||||||
},
|
|
||||||
"size": 3030279730,
|
|
||||||
"SHA256": "4ac715aecc5b1c90e8e37eebb8163392699066ec23b18144416e91cb4e78675a",
|
|
||||||
"lastUpdated": "2023-04-26T14:27:55",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-1B5-v11-Eng99%25-Other1%25-20230425-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-1B5-v11-Eng99%25-Other1%25-20230425-ctx4096.pth",
|
|
||||||
"hide": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-Raven-1B5-v12-Eng98%-Other2%-20230520-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "English 1B5 v12",
|
|
||||||
"zh": "英文 1B5 v12"
|
|
||||||
},
|
|
||||||
"size": 3030279730,
|
|
||||||
"SHA256": "6bbbffb3ee2372dfa9ef49c599e9a2bc0a01b94b6a264ba9bf5bd524fc38f723",
|
|
||||||
"lastUpdated": "2023-05-21T07:08:56",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-1B5-v12-Eng98%25-Other2%25-20230520-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-1B5-v12-Eng98%25-Other2%25-20230520-ctx4096.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-Raven-3B-v11-Eng49%-Chn49%-Jpn1%-Other1%-20230429-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "Chinese 3B v11",
|
|
||||||
"zh": "中文 3B v11"
|
|
||||||
},
|
|
||||||
"size": 5969345074,
|
|
||||||
"SHA256": "af12300d9875e0e166c23d6e9b20928db435073060bf1d36f874060de92ada98",
|
|
||||||
"lastUpdated": "2023-04-29T11:51:51",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-3B-v11-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230429-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-3B-v11-Eng49%25-Chn49%25-Jpn1%25-Other1%25-20230429-ctx4096.pth",
|
|
||||||
"hide": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-Raven-14B-v12-Eng98%-Other2%-20230523-ctx8192.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "English 14B v12",
|
|
||||||
"zh": "英文 14B v12"
|
|
||||||
},
|
|
||||||
"size": 28297309490,
|
|
||||||
"SHA256": "1193b5a9ceab572e4dbb9ed1d798eab7bf4793d18904d08bd4bf183579338ae7",
|
|
||||||
"lastUpdated": "2023-05-23T11:22:41",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-14B-v12-Eng98%25-Other2%25-20230523-ctx8192.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-14B-v12-Eng98%25-Other2%25-20230523-ctx8192.pth"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "RWKV-4-Raven-14B-v11x-Eng99%-Other1%-20230501-ctx8192.pth",
|
"name": "RWKV-4-Raven-14B-v11x-Eng99%-Other1%-20230501-ctx8192.pth",
|
||||||
"desc": {
|
"desc": {
|
||||||
@@ -179,163 +365,16 @@
|
|||||||
"hide": true
|
"hide": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "RWKV-4-Novel-7B-v1-ChnEng-ChnPro-20230410-ctx4096.pth",
|
"name": "RWKV-4-Raven-14B-v12-Eng98%-Other2%-20230523-ctx8192.pth",
|
||||||
"desc": {
|
"desc": {
|
||||||
"en": "Professional Writer 7B v1",
|
"en": "English 14B v12",
|
||||||
"zh": "专业写作 7B v1"
|
"zh": "英文 14B v12"
|
||||||
},
|
},
|
||||||
"size": 14785389618,
|
"size": 28297309490,
|
||||||
"SHA256": "cd40b661930dea46c0f930c51d99cef6b484fe3d641388981dee5a0c68e2b1c7",
|
"SHA256": "1193b5a9ceab572e4dbb9ed1d798eab7bf4793d18904d08bd4bf183579338ae7",
|
||||||
"lastUpdated": "2023-04-10T13:55:52",
|
"lastUpdated": "2023-05-23T11:22:41",
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-7B-v1-ChnEng-ChnPro-20230410-ctx4096.pth",
|
"url": "https://huggingface.co/BlinkDL/rwkv-4-raven/blob/main/RWKV-4-Raven-14B-v12-Eng98%25-Other2%25-20230523-ctx8192.pth",
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-7B-v1-ChnEng-ChnPro-20230410-ctx4096.pth"
|
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-raven/resolve/main/RWKV-4-Raven-14B-v12-Eng98%25-Other2%25-20230523-ctx8192.pth"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-Novel-7B-v1-Chn-20230426-ctx8192.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "Popular Writer 7B v1",
|
|
||||||
"zh": "通俗写作 7B v1"
|
|
||||||
},
|
|
||||||
"size": 14785389864,
|
|
||||||
"SHA256": "5fced44febdf80d303250eef9c020f087abded43aaecc8caaea8a9e7f1fb771e",
|
|
||||||
"lastUpdated": "2023-04-26T18:57:01",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-7B-v1-Chn-20230426-ctx8192.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-7B-v1-Chn-20230426-ctx8192.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-Novel-3B-v1-Chn-20230412-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "Popular Writer 3B v1",
|
|
||||||
"zh": "通俗写作 3B v1"
|
|
||||||
},
|
|
||||||
"size": 5969345064,
|
|
||||||
"SHA256": "c41e0af2cbc66e94121377680e8224a1504fac6c9ea620c395f0a79281db26e7",
|
|
||||||
"lastUpdated": "2023-04-12T13:18:29",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-3B-v1-Chn-20230412-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-3B-v1-Chn-20230412-ctx4096.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-Novel-3B-v1-ChnEng-20230412-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "Balanced Writer 3B v1",
|
|
||||||
"zh": "均衡写作 3B v1"
|
|
||||||
},
|
|
||||||
"size": 5969345064,
|
|
||||||
"SHA256": "283c6e6fa10c52a93e9a01d9630f288473267ea152a49c6579b5c0427bdc9c61",
|
|
||||||
"lastUpdated": "2023-04-12T13:18:29",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-3B-v1-ChnEng-20230412-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-3B-v1-ChnEng-20230412-ctx4096.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-Novel-7B-v1-ChnEng-20230426-ctx8192.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "Balanced Writer 7B v1",
|
|
||||||
"zh": "均衡写作 7B v1"
|
|
||||||
},
|
|
||||||
"size": 14785389864,
|
|
||||||
"SHA256": "bd08c75a296bd193dcfadb993fe06d7f9dd91ca3385231f24c592c89d25cd596",
|
|
||||||
"lastUpdated": "2023-04-26T18:57:01",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-novel/blob/main/RWKV-4-Novel-7B-v1-ChnEng-20230426-ctx8192.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-novel/resolve/main/RWKV-4-Novel-7B-v1-ChnEng-20230426-ctx8192.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-World-7B-v1-OnlyForTest_40%_trained-20230601-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "100+ Languages 7B v1 Test",
|
|
||||||
"zh": "100+ 语言 7B v1 测试"
|
|
||||||
},
|
|
||||||
"size": 15035393581,
|
|
||||||
"SHA256": "63c060c472e45b6c3af2baaaee448ffd95f9b46e3cc6e1ef70ce7ecb1d01bcfa",
|
|
||||||
"lastUpdated": "2023-06-02T00:09:39",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-7B-v1-OnlyForTest_40%25_trained-20230601-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-7B-v1-OnlyForTest_40%25_trained-20230601-ctx4096.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-World-7B-v1-OnlyForTest_30%_trained-20230529-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "100+ Languages 7B v1 Test",
|
|
||||||
"zh": "100+ 语言 7B v1 测试"
|
|
||||||
},
|
|
||||||
"size": 15035393581,
|
|
||||||
"SHA256": "05f91562b2ae8b025226e40b3fb536d6f8eb3c142ac899c0808ee1c9dc189ec4",
|
|
||||||
"lastUpdated": "2023-05-29T13:25:53",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-7B-v1-OnlyForTest_30%25_trained-20230529-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-7B-v1-OnlyForTest_30%25_trained-20230529-ctx4096.pth",
|
|
||||||
"hide": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-World-0.1B-v1-20230520-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "100+ Languages 0.1B v1",
|
|
||||||
"zh": "100+ 语言 0.1B v1"
|
|
||||||
},
|
|
||||||
"size": 385594610,
|
|
||||||
"SHA256": "a10ef99df2a8f8a6801edf4fc92a9c49bedd63dcb900d3e5667a2136b3d671e7",
|
|
||||||
"lastUpdated": "2023-05-25T09:21:27",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-0.1B-v1-20230520-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-0.1B-v1-20230520-ctx4096.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-World-1.5B-v1-OnlyForTest_57%_trained-20230529-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "100+ Languages 1.5B v1 Test",
|
|
||||||
"zh": "100+ 语言 1.5B v1 测试"
|
|
||||||
},
|
|
||||||
"size": 3155281581,
|
|
||||||
"SHA256": "ac36770931776c5aa179690918c9a3b0b5f4ebe3301ea3574a7e182209778788",
|
|
||||||
"lastUpdated": "2023-05-29T13:25:53",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-1.5B-v1-OnlyForTest_57%25_trained-20230529-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-1.5B-v1-OnlyForTest_57%25_trained-20230529-ctx4096.pth",
|
|
||||||
"hide": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-World-3B-v1-OnlyForTest_35%_trained-20230529-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "100+ Languages 3B v1 Test",
|
|
||||||
"zh": "100+ 语言 3B v1 测试"
|
|
||||||
},
|
|
||||||
"size": 6125597613,
|
|
||||||
"SHA256": "e4ee6e91a80d56de43bc79841f3a8be3b7b215d7d9788f79c467b9b1f7f03cb8",
|
|
||||||
"lastUpdated": "2023-05-29T13:25:53",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-3B-v1-OnlyForTest_35%25_trained-20230529-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-3B-v1-OnlyForTest_35%25_trained-20230529-ctx4096.pth",
|
|
||||||
"hide": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-World-1.5B-v1-OnlyForTest_81%_trained-20230603-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "100+ Languages 1.5B v1 Test",
|
|
||||||
"zh": "100+ 语言 1.5B v1 测试"
|
|
||||||
},
|
|
||||||
"size": 3155281581,
|
|
||||||
"SHA256": "044fb10daa71f4c012493ac8ef455c8c3301095b5f009dae58f0f6382a53e23c",
|
|
||||||
"lastUpdated": "2023-06-03T13:57:20",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-1.5B-v1-OnlyForTest_81%25_trained-20230603-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-1.5B-v1-OnlyForTest_81%25_trained-20230603-ctx4096.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-World-3B-v1-OnlyForTest_52%_trained-20230603-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "100+ Languages 3B v1 Test",
|
|
||||||
"zh": "100+ 语言 3B v1 测试"
|
|
||||||
},
|
|
||||||
"size": 6125597613,
|
|
||||||
"SHA256": "aad3671078a0c686368add4f4b695a76c2ba1ddd505a64c0949bb003beeee9a3",
|
|
||||||
"lastUpdated": "2023-06-03T13:57:20",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-3B-v1-OnlyForTest_52%25_trained-20230603-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-3B-v1-OnlyForTest_52%25_trained-20230603-ctx4096.pth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RWKV-4-World-0.4B-v1-20230529-ctx4096.pth",
|
|
||||||
"desc": {
|
|
||||||
"en": "100+ Languages 0.4B v1",
|
|
||||||
"zh": "100+ 语言 0.4B v1"
|
|
||||||
},
|
|
||||||
"size": 923362866,
|
|
||||||
"SHA256": "4b4a2733cf5e5dc97dd62106f391d99895d16b11c5ccd10c89f28c52067a4919",
|
|
||||||
"lastUpdated": "2023-05-29T13:25:53",
|
|
||||||
"url": "https://huggingface.co/BlinkDL/rwkv-4-world/blob/main/RWKV-4-World-0.4B-v1-20230529-ctx4096.pth",
|
|
||||||
"downloadUrl": "https://huggingface.co/BlinkDL/rwkv-4-world/resolve/main/RWKV-4-World-0.4B-v1-20230529-ctx4096.pth"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user