2796gauravc commited on
Commit
45a43ce
·
verified ·
1 Parent(s): 0256cc6

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +48 -0
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: [en, hi]
3
+ license: gemma
4
+ tags:
5
+ - function-calling
6
+ - gemma
7
+ - pocketassist
8
+ - android
9
+ - litert
10
+ - mediapipe
11
+ base_model: 2796gauravc/functiongemma-pocketassist-v5
12
+ ---
13
+
14
+ # FunctionGemma PocketAssist v5 — Android .task File
15
+
16
+ This is the **MediaPipe-ready `.task` file** for deployment in Android apps.
17
+ The merged model is at [2796gauravc/functiongemma-pocketassist-v5](https://huggingface.co/2796gauravc/functiongemma-pocketassist-v5).
18
+
19
+ ## How to use on Android
20
+
21
+ Download the `.task` file and use with MediaPipe LLM Inference API:
22
+
23
+ ```kotlin
24
+ // build.gradle.kts
25
+ implementation("com.google.mediapipe:tasks-genai:0.10.22")
26
+
27
+ // Inference
28
+ val options = LlmInference.LlmInferenceOptions.builder()
29
+ .setModelPath("/path/to/pocketassist_v5_q8_ekv1024.task")
30
+ .setMaxTokens(1024)
31
+ .setTopK(64)
32
+ .setTopP(0.95f)
33
+ .setTemperature(1.0f)
34
+ .setPreferredBackend(LlmInference.Backend.GPU) // or CPU
35
+ .build()
36
+ val llm = LlmInference.createFromOptions(context, options)
37
+ ```
38
+
39
+ ## Functions
40
+
41
+ This model handles: `search`, `get_password`, `save_password`, `save_note`,
42
+ `get_notes`, `get_digest`, `status`, `help`
43
+
44
+ ## File Info
45
+ - Format: `.task` (MediaPipe / LiteRT)
46
+ - Quantization: `dynamic_int8`
47
+ - KV cache max len: 1024
48
+ - Size: ~290 MB