区块链 - Cartesi汇总中的机器学习

发布于 2025-02-07 00:49:36 字数 616 浏览 1 评论 0 原文

是否有可能在Cartesi机器中以某种方式训练机器学习模型?我相信,如果模型在Cartesi外受过训练,则不可能审核结果完整性,如果有偏见。如果一切都在Cartesi中,我认为这是可能的。

我看到的项目:

https://github.com/souzavinny/rollups-examps-rollups-examamples- /tree/main/biometrics

Is it possible somehow to train a machine learnig model inside the Cartesi Machine? I believe, if models are trained outside Cartesi, its not possible to audit the results integrity, if it is biased or not. If everything is within Cartesi, I think this would be possible.

projects that I saw:

https://github.com/souzavinny/rollups-examples/tree/main/biometrics

https://medium.com/cartesi/ecosystem-update-mainstream-developers-on-the-blockchain-os-e7210b381ca4

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅语花开 2025-02-14 00:49:36

可以采用两种方法:只需在Cartesi机器内运行训练有素的型号或在其中训练它即可。如果您的DAPP无法通过证明模型本身受益,则可以将模型仅移植到Cartesi机器。如果允许其他人复制培训以获得完全相同的模型对您的DAPP很重要,那么您可以将培训集与Cartesi Machine一起训练,以便其他人可以重现它。

请记住,如果您想在Cartesi机器内训练该模型,则必须将训练所需的所有依赖项移植,而如果您只想运行模型,则可以采用类似的方法,您提供的示例,仅需要对本机计算机上的依赖项来生成模型,而不必担心将它们移植到基于Cartesi Machine RISC-V基于ISA的ISA。

It's possible to have two approaches: just run the trained model inside the Cartesi Machine or train it inside. If your DApp doesn't benefit from proving the model itself, you can port just the model to the Cartesi Machine. If allowing others to replicate the training to obtain exactly the same model is important to your DApp, you can have the training set available along with the Cartesi Machine to train it so others can reproduce it.

Bare in mind that if you want to train the model inside the Cartesi Machine, you'll have to port all the dependencies needed to train it while if you just want to run the model you can take a similar approach to the one on the biometric example you provided, needing the dependencies only on your native machine to generate the model and not having to worry about porting them to the Cartesi Machine RISC-V based ISA.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文