File size: 1,609 Bytes
3fcecd0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# functiongemma-270m-function-calling for Flutter Gemma

MediaPipe `.task` conversion of `phattrandeveloper/functiongemma-270m-function-calling` for `flutter_gemma` mobile inference.

## Artifact

- Task bundle: `functiongemma-270m-function-calling.task`
- Flutter Gemma file type: `ModelFileType.task`
- Flutter Gemma model type: `ModelType.functionGemma`
- Quantization: `dynamic_int8`
- Prefill sequence length: `2048`
- KV cache max length: `4096`
- Prompt template embedded: `False`
- SHA-256: `068757b3c6fe9ec8182fe11c2eb612423a0d77ff42cae20142476aff10f99820`

Download URL:

```text
https://huggingface.co/phattrandeveloper/functiongemma-270m-function-calling/resolve/main/functiongemma-270m-function-calling.task
```

## Flutter Gemma usage

```dart
await FlutterGemma.installModel(modelType: ModelType.functionGemma)
  .fromNetwork('https://huggingface.co/phattrandeveloper/functiongemma-270m-function-calling/resolve/main/functiongemma-270m-function-calling.task')
  .install();
```

Use the banking tool schema and `systemInstruction` from this project when creating the chat.

## Conversion references

- Google Gemma HF SafeTensors to MediaPipe Task guide: https://ai.google.dev/gemma/docs/conversions/hf-to-mediapipe-task
- Google MediaPipe LLM Inference guide: https://ai.google.dev/edge/mediapipe/solutions/genai/llm_inference
- Flutter Gemma docs: https://pub.dev/packages/flutter_gemma

## License

This converted artifact follows the license and use restrictions of the source Gemma/FunctionGemma model. Review the source model card and Gemma terms before redistribution or production use.