| language: [en, hi] | |
| license: gemma | |
| tags: | |
| - function-calling | |
| - gemma | |
| - pocketassist | |
| - android | |
| - litert | |
| - mediapipe | |
| base_model: 2796gauravc/functiongemma-pocketassist-v5 | |
| # FunctionGemma PocketAssist v5 — Android .task File | |
| This is the **MediaPipe-ready `.task` file** for deployment in Android apps. | |
| The merged model is at [2796gauravc/functiongemma-pocketassist-v5](https://huggingface.co/2796gauravc/functiongemma-pocketassist-v5). | |
| ## How to use on Android | |
| Download the `.task` file and use with MediaPipe LLM Inference API: | |
| ```kotlin | |
| // build.gradle.kts | |
| implementation("com.google.mediapipe:tasks-genai:0.10.22") | |
| // Inference | |
| val options = LlmInference.LlmInferenceOptions.builder() | |
| .setModelPath("/path/to/pocketassist_v5_q8_ekv1024.task") | |
| .setMaxTokens(1024) | |
| .setTopK(64) | |
| .setTopP(0.95f) | |
| .setTemperature(1.0f) | |
| .setPreferredBackend(LlmInference.Backend.GPU) // or CPU | |
| .build() | |
| val llm = LlmInference.createFromOptions(context, options) | |
| ``` | |
| ## Functions | |
| This model handles: `search`, `get_password`, `save_password`, `save_note`, | |
| `get_notes`, `get_digest`, `status`, `help` | |
| ## File Info | |
| - Format: `.task` (MediaPipe / LiteRT) | |
| - Quantization: `dynamic_int8` | |
| - KV cache max len: 1024 | |
| - Size: ~290 MB | |