ONNX Hf Core Lib
作者:TheDevKenji
ONNX Hf Core, is a library mod which implements Java Libraries, such as: -Onnx-runtime/engine, -DLJ API -HF Tokenizers and -Symspell). And some helper methods of my own related to Ai Speech-To-Text (If a mod like 'Simple Voice Chat' is present)).
介绍
中文介绍正在准备中,下面暂时显示原文。
-ONNX HF CORE IS A LIBRARY MOD AND DOES NOTHING ON IT’S OWN!
Onnx Hugging-Face Core is a library mod which incorperates some other java libraries and custom helper methods to allow for usage of completly offline/connectionless LLM Usages!
You see, other mods which have tried to incorperate LLM’s to speak to in-game, either need 1 of 2 things to work: [
1. Other mods either need an online connection and/or API token to work (Which costs money).
OR
2. And others like LocrowAI have needed external source downloads at runtime (Which isn’t and SHOUDN’T be an option as that violates Curseforges TOS)
]
This Library takes a completly different approch:
You see the included java libraries like Onnx-Runtime, allow for completely offline and costless calls to a single .onnx file (and the tokenizer.json). And the best part is, this does NOT require any external downloads like LocrowAi does.
Simply put, any Ai/LLM calls are that are done are all from .onnx files stored in the recources folder. H O W E V E R the only caviat is the .onnx file has to be small enough to fit in the .jar file, and fast enough for good reply wait time.
As well as, depending on what purpose the ai serves you might need to train an ai yourself lol.
-Possible upcomming villager mod Wink wink 😉
——————————————–
Lastly, this Library also contains a .onnx (and vocab.json) file that is capable of speech-to-text recognition! As I said at the start, they do nothing by themselves, However I’ve also made my own helper methods for converting audio to text(Which is useful when paired with mods like SimpleVoiceChat).
-Cheers!
常见问题
ONNX Hf Core Lib 支持哪些 Minecraft 版本?
ONNX Hf Core Lib 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
ONNX Hf Core Lib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
TheDevKenji 的其他作品
查看全部 →Epic Fight: Combat Forms | [Recontinue Update!]
by TheDevKenji
这个模组旨在为 Epic Fight 模组增添精彩的徒手格斗体验!
8.8万
1 个月前
CurseForge
YDM’s Weapon Master x Epic Fight
by TheDevKenji
Epic Fight 与 YDM's Weapon Master 的兼容模组!
5.5万
1 个月前
CurseForge
Epic Fight – Weapons Of Harmony[Mod Overhaul Update]
by TheDevKenji
Epic Fight Mod 的史诗级附属模组,为你的武器库增添全新武器!
5.3万
4 个月前
CurseForge
Epic Fight – Mobs Plus
by TheDevKenji
Mobs Plus 是一款为原版 Minecraft 生物添加动画和拟真表情的模组!它还为生物攻击加入了 Epic Fights 战斗系统,让它们能够使用 EFM 系统发动攻击。
4.3万
1 个月前
CurseForge
评论
登录后评论和评分