跳到正文
原文
Hugging Face Blog·· 2025-03-07AI 评分52

用 React Native 在手机上本地跑 LLM:一份实操教程

LLM Inference on Edge: A Fun and Easy Guide to run LLMs via React Native on your Phone!

AI 导读

Hugging Face 发布教程,讲如何用 React Native 配合 llama.rn(llama.cpp 的绑定)在 Android 和 iOS 上加载 GGUF 文件、从 Hugging Face Hub 下载模型并完全离线对话,完整代码在 EdgeLLM 仓库。

来源:Hugging Face Blog · huggingface.co