|
Download README.md from mrKola/AndroidLiteRtModels: direct link, hf CLI and curl.
- Browser
- Download file 2.46 kB
-
https://huggingface.co/mrKola/AndroidLiteRtModels/resolve/main/README.md
- Command line
-
hf download hf://mrKola/AndroidLiteRtModels/README.md
-
curl -L -o README.md https://huggingface.co/mrKola/AndroidLiteRtModels/resolve/main/README.md
2.46 kB
| license: apache-2.0 | |
| # π€ Gemma TFLite Models for Android Demos | |
| This repository hosts quantized TensorFlow Lite (`.tflite`) versions of Google's Gemma models, specifically for use in Android sample applications, hackathons, and educational projects. | |
| The goal is to provide a frictionless, anonymous download path for on-device integration without requiring app users to log in or developers to embed secret API keys. | |
| ## π€ Why This Repository Exists | |
| The original Gemma models are created by Google and are officially hosted on platforms like [Kaggle](https://www.kaggle.com/models/google/gemma-3n) and the [official Google Hugging Face account](https://huggingface.co/google). | |
| These official repositories are often **"gated,"** meaning they require a user to be logged in and to have explicitly accepted the license terms before a download can start. This is a necessary compliance step for Google to ensure users agree to their Responsible AI terms. | |
| However, this authentication requirement prevents direct, anonymous downloads from within a mobile application and would create a poor user experience (e.g., asking an app user to log in to a developer service). | |
| This repository acts as a public, non-gated mirror. The models are redistributed here under the permissions granted by their **Apache 2.0 License**. This allows mobile demo apps to fetch the model file via a direct URL without any user-side authentication, while still respecting the original license terms. | |
| ## π± Intended Use | |
| The models here are intended for developers who need to quickly integrate a Gemma model into an Android application for demonstration or prototyping purposes. | |
| They can be downloaded directly within an app using Android's `DownloadManager` or a networking library like OkHttp, providing a seamless "first-run" experience for the end-user. | |
| ## π¦ Models Included | |
| * `gemma-3n-e2b-it-int4.task` | |
| * `gemma-3n-e4b-it-int4.task` | |
| * *(More models may be added)* | |
| ## π License and Attribution | |
| All models in this repository are the property of Google and are governed by the **Apache 2.0 License** and the **Gemma Terms of Use**. | |
| **Official Gemma Terms of Use:** [https://ai.google.dev/gemma/terms](https://ai.google.dev/gemma/terms) | |
| **β οΈ IMPORTANT:** If you use these models in your application, you **must include proper attribution to Google** and provide a copy of or link to the license in your app, as required by the license terms. |