From 77868c798be0a37c22d504083f11f1db0a13f2e6 Mon Sep 17 00:00:00 2001 From: josc146 Date: Tue, 25 Jul 2023 16:37:06 +0800 Subject: [PATCH] chore --- README.md | 1 + README_JA.md | 1 + README_ZH.md | 1 + backend-python/routes/midi.py | 2 ++ manifest.json | 4 ++-- 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 995eaba..4f076b1 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,7 @@ for i in np.argsort(embeddings_cos_sim)[::-1]: - ChatRWKV: https://github.com/BlinkDL/ChatRWKV - RWKV-LM: https://github.com/BlinkDL/RWKV-LM - RWKV-LM-LoRA: https://github.com/Blealtan/RWKV-LM-LoRA +- MIDI-LLM-tokenizer: https://github.com/briansemrau/MIDI-LLM-tokenizer ## Preview diff --git a/README_JA.md b/README_JA.md index 13884dd..1a2ad30 100644 --- a/README_JA.md +++ b/README_JA.md @@ -135,6 +135,7 @@ for i in np.argsort(embeddings_cos_sim)[::-1]: - ChatRWKV: https://github.com/BlinkDL/ChatRWKV - RWKV-LM: https://github.com/BlinkDL/RWKV-LM - RWKV-LM-LoRA: https://github.com/Blealtan/RWKV-LM-LoRA +- MIDI-LLM-tokenizer: https://github.com/briansemrau/MIDI-LLM-tokenizer ## プレビュー diff --git a/README_ZH.md b/README_ZH.md index 3f70531..16f3e5a 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -133,6 +133,7 @@ for i in np.argsort(embeddings_cos_sim)[::-1]: - ChatRWKV: https://github.com/BlinkDL/ChatRWKV - RWKV-LM: https://github.com/BlinkDL/RWKV-LM - RWKV-LM-LoRA: https://github.com/Blealtan/RWKV-LM-LoRA +- MIDI-LLM-tokenizer: https://github.com/briansemrau/MIDI-LLM-tokenizer ## Preview diff --git a/backend-python/routes/midi.py b/backend-python/routes/midi.py index 0b04a26..28cba22 100644 --- a/backend-python/routes/midi.py +++ b/backend-python/routes/midi.py @@ -48,6 +48,7 @@ class MidiToWavBody(BaseModel): } +# install fluidsynth first, see more: https://github.com/FluidSynth/fluidsynth/wiki/Download#distributions @router.post("/midi-to-wav") def midi_to_wav(body: MidiToWavBody): if not body.wav_path.startswith("midi/"): @@ -72,6 +73,7 @@ class TextToWavBody(BaseModel): } +# install fluidsynth first, see more: https://github.com/FluidSynth/fluidsynth/wiki/Download#distributions @router.post("/text-to-wav") def text_to_wav(body: TextToWavBody): text = body.text.strip() diff --git a/manifest.json b/manifest.json index 618ad2f..4787bca 100644 --- a/manifest.json +++ b/manifest.json @@ -5,8 +5,8 @@ "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的优点结合起来 - 高性能、快速推理、节省显存、快速训练、“无限”上下文长度以及免费的语句嵌入(使用最终隐藏状态)。" }, "about": { - "en": "
\n\nProject Source Code:\nhttps://github.com/josStorer/RWKV-Runner\nAuthor: [@josStorer](https://github.com/josStorer)\nFAQs: https://github.com/josStorer/RWKV-Runner/wiki/FAQs\n\nRelated Repositories:\nRWKV-4-World: https://huggingface.co/BlinkDL/rwkv-4-world/tree/main\nRWKV-4-Raven: https://huggingface.co/BlinkDL/rwkv-4-raven/tree/main\nChatRWKV: https://github.com/BlinkDL/ChatRWKV\nRWKV-LM: https://github.com/BlinkDL/RWKV-LM\nRWKV-LM-LoRA: https://github.com/Blealtan/RWKV-LM-LoRA\n\n
", - "zh": "
\n\n本项目源码:\nhttps://github.com/josStorer/RWKV-Runner\n作者: [@josStorer](https://github.com/josStorer)\n演示与常见问题说明视频: https://www.bilibili.com/video/BV1hM4y1v76R\n疑难解答: https://www.bilibili.com/read/cv23921171\n\n相关仓库:\nRWKV-4-World: https://huggingface.co/BlinkDL/rwkv-4-world/tree/main\nRWKV-4-Raven: https://huggingface.co/BlinkDL/rwkv-4-raven/tree/main\nChatRWKV: https://github.com/BlinkDL/ChatRWKV\nRWKV-LM: https://github.com/BlinkDL/RWKV-LM\nRWKV-LM-LoRA: https://github.com/Blealtan/RWKV-LM-LoRA\n\n
" + "en": "
\n\nProject Source Code:\nhttps://github.com/josStorer/RWKV-Runner\nAuthor: [@josStorer](https://github.com/josStorer)\nFAQs: https://github.com/josStorer/RWKV-Runner/wiki/FAQs\n\nRelated Repositories:\nRWKV-4-World: https://huggingface.co/BlinkDL/rwkv-4-world/tree/main\nRWKV-4-Raven: https://huggingface.co/BlinkDL/rwkv-4-raven/tree/main\nChatRWKV: https://github.com/BlinkDL/ChatRWKV\nRWKV-LM: https://github.com/BlinkDL/RWKV-LM\nRWKV-LM-LoRA: https://github.com/Blealtan/RWKV-LM-LoRA\nMIDI-LLM-tokenizer: https://github.com/briansemrau/MIDI-LLM-tokenizer\n\n
", + "zh": "
\n\n本项目源码:\nhttps://github.com/josStorer/RWKV-Runner\n作者: [@josStorer](https://github.com/josStorer)\n演示与常见问题说明视频: https://www.bilibili.com/video/BV1hM4y1v76R\n疑难解答: https://www.bilibili.com/read/cv23921171\n\n相关仓库:\nRWKV-4-World: https://huggingface.co/BlinkDL/rwkv-4-world/tree/main\nRWKV-4-Raven: https://huggingface.co/BlinkDL/rwkv-4-raven/tree/main\nChatRWKV: https://github.com/BlinkDL/ChatRWKV\nRWKV-LM: https://github.com/BlinkDL/RWKV-LM\nRWKV-LM-LoRA: https://github.com/Blealtan/RWKV-LM-LoRA\nMIDI-LLM-tokenizer: https://github.com/briansemrau/MIDI-LLM-tokenizer\n\n
" }, "programFiles": [ {