Offline AI Chat Mobile App. Also with LLM finetuning code.
Dart
3
2 commits
updated Mar 11, 2025
This repository contains the source code for a Flutter-based offline AI chat application. The AI model runs entirely on the mobile device, providing privacy and efficiency without relying on internet connectivity. The chat also supports image processing powered by Qwen2VL 2B.
Additionally, this repository includes QLoRA finetuning scripts for further training and optimization of the Large Language Model (LLM) used in the chat system. If you're looking to build your own AI assistant, many reusable components are available.
Tested Platform: Android
To run this application, ensure you have Flutter installed. Then, follow these steps:
# Clone the repository
git clone https://github.com/your-repo/flutter-offline-ai-chat.git
cd flutter-offline-ai-chat
# Install dependencies
flutter pub get
# Run the app on an Android device
flutter run
This repository also contains scripts for QLoRA fine-tuning to adapt the LLM to your specific needs. To start training:
cd qlora-finetune
python finetune.py --model Qwen2VL-2B --dataset your_dataset
[Specify your license here, e.g., MIT, Apache-2.0, etc.]
For questions or discussions, open an issue or reach out via [your contact info].
Offline AI Chat Mobile App. Also with LLM finetuning code.
Dart
3
2 commits
updated Mar 11, 2025
This repository contains the source code for a Flutter-based offline AI chat application. The AI model runs entirely on the mobile device, providing privacy and efficiency without relying on internet connectivity. The chat also supports image processing powered by Qwen2VL 2B.
Additionally, this repository includes QLoRA finetuning scripts for further training and optimization of the Large Language Model (LLM) used in the chat system. If you're looking to build your own AI assistant, many reusable components are available.
Tested Platform: Android
To run this application, ensure you have Flutter installed. Then, follow these steps:
# Clone the repository
git clone https://github.com/your-repo/flutter-offline-ai-chat.git
cd flutter-offline-ai-chat
# Install dependencies
flutter pub get
# Run the app on an Android device
flutter run
This repository also contains scripts for QLoRA fine-tuning to adapt the LLM to your specific needs. To start training:
cd qlora-finetune
python finetune.py --model Qwen2VL-2B --dataset your_dataset
[Specify your license here, e.g., MIT, Apache-2.0, etc.]
For questions or discussions, open an issue or reach out via [your contact info].