File size: 2,164 Bytes
d025370
c5a60f7
 
d025370
c5a60f7
 
 
 
 
 
 
 
 
 
d025370
c5a60f7
d025370
 
c5a60f7
d025370
c5a60f7
d025370
c5a60f7
d025370
c5a60f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
license: gemma
library_name: transformers
tags:
  - function-calling
  - tool-use
  - mobile
  - gemma
  - unsloth
  - fine-tuned
base_model: google/gemma-3-1b-it
datasets:
  - google/mobile-actions
pipeline_tag: text-generation
language:
  - en
---

# FunctionGemma Mobile Actions v6

A fine-tuned version of [FunctionGemma 270M](https://huggingface.co/google/gemma-3-1b-it) optimized for mobile device function calling. This model excels at understanding natural language commands and mapping them to structured function calls for common mobile actions.

## Model Description

- **Base Model:** google/gemma-3-1b-it (270M parameters)
- **Fine-tuning Method:** LoRA (r=128, alpha=128)
- **Training Data:** [google/mobile-actions](https://huggingface.co/datasets/google/mobile-actions) + synthetic augmentation
- **Optimized For:** Mobile assistant function calling

## Supported Functions

| Function | Description | Example Input |
|----------|-------------|---------------|
| `set_alarm` | Set alarms | "Wake me up at 7am" |
| `create_reminder` | Create reminders | "Remind me to buy milk" |
| `set_timer` | Set countdown timers | "Timer for 10 minutes" |
| `make_call` | Make phone calls | "Call Mom" |
| `send_message` | Send text messages | "Text John I'm running late" |
| `create_calendar_event` | Schedule events | "Schedule meeting at 3pm" |
| `play_music` | Play music | "Play some jazz" |
| `get_weather` | Get weather info | "What's the weather like?" |
| `open_app` | Open applications | "Open the camera" |
| `navigate` | Get directions | "Navigate to the airport" |
| `set_volume` | Adjust volume | "Turn the volume up" |
| `calculator` | Math calculations | "What's 15 times 23?" |

## Usage

```python
from vllm import LLM, SamplingParams

llm = LLM(model="essobi/functiongemma-mobile-actions-v6-16bit", trust_remote_code=True)

# See full documentation for prompt format and tool definitions
```

## Output Format

```
<start_function_call>call:function_name{param1:<escape>value1<escape>,param2:<escape>value2<escape>}<end_function_call>
```

## License

This model is released under the [Gemma License](https://ai.google.dev/gemma/terms).