Demo App for llama.cpp Model

A mobile Implementation of llama.cpp

This app is a demo of the llama.cpp model that tries to recreate an offline chatbot, working similar to OpenAI’s ChatGPT. The source code for this app is available on GitHub.

The app was developed using Flutter and implements ggerganov/llama.cpp, recompiled to work on mobiles. Please note that Meta officially distributes the LLaMA models, and they will not be provided by the app developers.

To run this app, you need to download the 7B llama model from Meta for research purposes. You should rename it to ggml-model.bin and place it in your device’s download folder.

Additionally, you can fine-tune the ouput with preprompts to improve its performance.

Working demo

A mobile Implementation of llama.cpp
Click on the image to view the video on YouTube.
It shows a OnePlus 7 with 8Gb running Sherpa without speed up.

Usage

To use this app, follow these steps:

  1. Download the ggml-model.bin from Meta for research purposes.
  2. Rename the downloaded file to ggml-model.bin.
  3. Place the file in your device’s download folder.
  4. Run the app on your mobile device.

Disclaimer

Please note that the llama.cpp models are owned and officially distributed by Meta. This app only serves as a demo for the model’s capabilities and functionality. The developers of this app do not provide the LLaMA models and are not responsible for any issues related to their usage.

GitHub

View Github

Entradas similares

Deja una respuesta