Hugging Face Blog·· 2023-07-05AI 评分50
使用 Transformers.js 构建 Doodle Dash:一款浏览器端 ML 网页游戏教程
Making ML-powered web games with Transformers.js
AI 导读
教程演示如何使用 Transformers.js 在浏览器中完全本地运行 ML 网页游戏 Doodle Dash。该游戏基于 Google Quick, Draw! 数据集微调了 5.6M 参数的 apple/mobilevit-small 模型,通过 Web Workers 实现每秒 60 次以上的实时推理预测。
来源:Hugging Face Blog · huggingface.co