AliRGHZ commited on
Commit
3e38aa4
·
verified ·
1 Parent(s): fd51877

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +60 -21
README.md CHANGED
@@ -1,23 +1,62 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: 'Unnamed: 0'
5
- dtype: int64
6
- - name: metadata
7
- dtype: string
8
- - name: tools
9
- dtype: string
10
- - name: messages
11
- dtype: string
12
- splits:
13
- - name: train
14
- num_bytes: 37993800
15
- num_examples: 9500
16
- download_size: 341147
17
- dataset_size: 37993800
18
- configs:
19
- - config_name: default
20
- data_files:
21
- - split: train
22
- path: data/train-*
23
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ name: Mobile Action
4
+ tags:
5
+ - function-calling
6
+ - mobile-actions
7
+ - functiongemma
8
+ formats:
9
+ - json
10
+ Languages:
11
+ - English
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
+
14
+ ## Mobile Action
15
+ Mobile Actions is the dataset designed to fine-tune function calling models such as FunctionGemma 270M over mobile functionalities.
16
+ The dataset contains conversational traces over current 15 Android OS system capabilities.
17
+ Fine-tuned model is able to execute on-device's functions with the following provided tools:
18
+ ```list
19
+ - Turning the flashlight on
20
+ - Turning the flashlight off
21
+ - Send email
22
+ - Check battery status
23
+ - Check bluetooth status
24
+ - Make a phone call
25
+ - Send sms message
26
+ - Take a picture,
27
+ - Take a screenshot
28
+ - Get current_brightness
29
+ - Decrease brightness
30
+ - Increase brightness
31
+ - Set brightness
32
+ - List installed application
33
+ - Open an application
34
+
35
+ ```
36
+
37
+
38
+ ## Dataset Format
39
+ Dataset contains 9500 records, each represents a data sample in JSON format. Each record is distinguished for training
40
+ and evaluation (90/10 split) purposes using metadata field assigned to ```train``` and ```eval```, respectively.
41
+
42
+ Record's fields:
43
+ - ```metadata:``` A flag to determine the sample type assigned among training and evaluation datasets.
44
+ - ```tools:``` Contains a list of available tools (functions) schema that the model literally is able to call and made of the following elements:
45
+ - ```function:``` An object corresponding to a function:
46
+ - ```name:``` name of the function.
47
+ - ```description:``` A description to the function.
48
+ - ```parameters:``` An object to represent the function's parameters:
49
+ - ```type:``` It's usually OBJECT: Used to encapsulate complex, structured data.
50
+ - ```properties:``` A details on the parameters:
51
+ - ```type:``` Type of the parameter, usually among ```[STRING, NUMBER/INTEGER, BOOLEAN, ARRAY, DATE/TIME]```.
52
+ - ```description:``` A description to the parameter.
53
+ - ```required:``` A list of required properties.
54
+
55
+ - ```messages:``` A list of messages contain of different roles. Each message contains:
56
+ - ```role:``` The role among ```[developer, user, assistant]```. The ```user``` role encapsulate the user prompt and ```assistant``` is used for function call by the model.
57
+ - ```content:``` It's used for the ```developer``` and ```user``` role and indicates the content of the developer and user's message, respectively.
58
+ - ```tool_calls:``` It's used for the ```assistant``` role and determines the functions to be called.
59
+ - ```function:``` An object representing a function to be called:
60
+ - ```name:``` The name of the function. It should be among the tools' function name
61
+ - ```arguments:``` A list of the parameters to pass over the function.
62
+