Mattimax commited on
Commit
185bfda
·
verified ·
1 Parent(s): b881972

Upload 8 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": null,
7
+ "dtype": "bfloat16",
8
+ "eos_token_id": 151645,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 896,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 4864,
13
+ "layer_types": [
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention"
38
+ ],
39
+ "max_position_embeddings": 32768,
40
+ "max_window_layers": 21,
41
+ "model_type": "qwen2",
42
+ "num_attention_heads": 14,
43
+ "num_hidden_layers": 24,
44
+ "num_key_value_heads": 2,
45
+ "pad_token_id": 151645,
46
+ "rms_norm_eps": 1e-06,
47
+ "rope_parameters": {
48
+ "rope_theta": 1000000.0,
49
+ "rope_type": "default"
50
+ },
51
+ "sliding_window": null,
52
+ "tie_word_embeddings": true,
53
+ "transformers_version": "5.7.0",
54
+ "use_cache": false,
55
+ "use_sliding_window": false,
56
+ "vocab_size": 151936
57
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_sample": true,
3
+ "eos_token_id": [
4
+ 151645,
5
+ 151643
6
+ ],
7
+ "pad_token_id": 151645,
8
+ "repetition_penalty": 1.1,
9
+ "temperature": 0.7,
10
+ "top_k": 20,
11
+ "top_p": 0.8,
12
+ "transformers_version": "5.7.0"
13
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55ee9e3f1c699343db7c22ffeaaa5831674a333852483c7548fc75f488a4a677
3
+ size 988097824
test_report.json ADDED
@@ -0,0 +1,598 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "input": "Accendi la torcia",
4
+ "tipo": "tool",
5
+ "risposta_raw": "<tool_call>\n{\"name\": \"turn_on_flashlight\", \"arguments\": {}}\n</tool_call><|im_end|>",
6
+ "tool_name": "turn_on_flashlight",
7
+ "args": {},
8
+ "esito_tool": "🔦 Torcia ACCESA",
9
+ "corretto": true,
10
+ "stato": "✅ CORRETTO"
11
+ },
12
+ {
13
+ "input": "Spegni la torcia",
14
+ "tipo": "tool",
15
+ "risposta_raw": "<tool_call>\n{\"name\": \"turn_off_flashlight\", \"arguments\": {}}\n</tool_call><|im_end|>",
16
+ "tool_name": "turn_off_flashlight",
17
+ "args": {},
18
+ "esito_tool": "🔦 Torcia SPENTA",
19
+ "corretto": true,
20
+ "stato": "✅ CORRETTO"
21
+ },
22
+ {
23
+ "input": "Attiva bluetooth",
24
+ "tipo": "tool",
25
+ "risposta_raw": "<tool_call>\n{\"name\": \"enable_bluetooth\", \"arguments\": {}}\n</tool_call><|im_end|>",
26
+ "tool_name": "enable_bluetooth",
27
+ "args": {},
28
+ "esito_tool": "🔵 Bluetooth ON",
29
+ "corretto": true,
30
+ "stato": "✅ CORRETTO"
31
+ },
32
+ {
33
+ "input": "Disattiva bluetooth",
34
+ "tipo": "tool",
35
+ "risposta_raw": "<tool_call>\n{\"name\": \"disable_bluetooth\", \"arguments\": {}}\n</tool_call><|im_end|>",
36
+ "tool_name": "disable_bluetooth",
37
+ "args": {},
38
+ "esito_tool": "🔵 Bluetooth OFF",
39
+ "corretto": true,
40
+ "stato": "✅ CORRETTO"
41
+ },
42
+ {
43
+ "input": "Apri il wifi",
44
+ "tipo": "tool",
45
+ "risposta_raw": "<tool_call>\n{\"name\": \"open_wifi_settings\", \"arguments\": {}}\n</tool_call><|im_end|>",
46
+ "tool_name": "open_wifi_settings",
47
+ "args": {},
48
+ "esito_tool": "⚙️ Wi-Fi impostazioni",
49
+ "corretto": true,
50
+ "stato": "✅ CORRETTO"
51
+ },
52
+ {
53
+ "input": "Alza il volume",
54
+ "tipo": "tool",
55
+ "risposta_raw": "<tool_call>\n{\"name\": \"increase_volume\", \"arguments\": {}}\n</tool_call><|im_end|>",
56
+ "tool_name": "increase_volume",
57
+ "args": {},
58
+ "esito_tool": "🔊 Volume +",
59
+ "corretto": true,
60
+ "stato": "✅ CORRETTO"
61
+ },
62
+ {
63
+ "input": "Abbassa il volume",
64
+ "tipo": "tool",
65
+ "risposta_raw": "<tool_call>\n{\"name\": \"decrease_volume\", \"arguments\": {}}\n</tool_call><|im_end|>",
66
+ "tool_name": "decrease_volume",
67
+ "args": {},
68
+ "esito_tool": "🔉 Volume -",
69
+ "corretto": true,
70
+ "stato": "✅ CORRETTO"
71
+ },
72
+ {
73
+ "input": "Metti silenzioso",
74
+ "tipo": "tool",
75
+ "risposta_raw": "<tool_call>\n{\"name\": \"set_silent_mode\", \"arguments\": {}}\n</tool_call><|im_end|>",
76
+ "tool_name": "set_silent_mode",
77
+ "args": {},
78
+ "esito_tool": "🔕 Silenzioso ON",
79
+ "corretto": true,
80
+ "stato": "✅ CORRETTO"
81
+ },
82
+ {
83
+ "input": "Attiva modalità aereo",
84
+ "tipo": "tool",
85
+ "risposta_raw": "<tool_call>\n{\"name\": \"enable_airplane_mode\", \"arguments\": {}}\n</tool_call><|im_end|>",
86
+ "tool_name": "enable_airplane_mode",
87
+ "args": {},
88
+ "esito_tool": "✈️ Aereo ON",
89
+ "corretto": true,
90
+ "stato": "✅ CORRETTO"
91
+ },
92
+ {
93
+ "input": "Disattiva modalità aereo",
94
+ "tipo": "tool",
95
+ "risposta_raw": "<tool_call>\n{\"name\": \"disable_airplane_mode\", \"arguments\": {}}\n</tool_call><|im_end|>",
96
+ "tool_name": "disable_airplane_mode",
97
+ "args": {},
98
+ "esito_tool": "✈️ Aereo OFF",
99
+ "corretto": true,
100
+ "stato": "✅ CORRETTO"
101
+ },
102
+ {
103
+ "input": "Fai una foto",
104
+ "tipo": "tool",
105
+ "risposta_raw": "<tool_call>\n{\"name\": \"take_photo\", \"arguments\": {}}\n</tool_call><|im_end|>",
106
+ "tool_name": "take_photo",
107
+ "args": {},
108
+ "esito_tool": "📷 Foto scattata",
109
+ "corretto": true,
110
+ "stato": "✅ CORRETTO"
111
+ },
112
+ {
113
+ "input": "Fai un selfie",
114
+ "tipo": "tool",
115
+ "risposta_raw": "<tool_call>\n{\"name\": \"take_selfie\", \"arguments\": {}}\n</tool_call><|im_end|>",
116
+ "tool_name": "take_selfie",
117
+ "args": {},
118
+ "esito_tool": "🤳 Selfie scattato",
119
+ "corretto": true,
120
+ "stato": "✅ CORRETTO"
121
+ },
122
+ {
123
+ "input": "Apri fotocamera",
124
+ "tipo": "tool",
125
+ "risposta_raw": "<tool_call>\n{\"name\": \"open_camera\", \"arguments\": {}}\n</tool_call><|im_end|>",
126
+ "tool_name": "open_camera",
127
+ "args": {},
128
+ "esito_tool": "📷 Camera aperta",
129
+ "corretto": true,
130
+ "stato": "✅ CORRETTO"
131
+ },
132
+ {
133
+ "input": "Metti la musica",
134
+ "tipo": "tool",
135
+ "risposta_raw": "<tool_call>\n{\"name\": \"play_music\", \"arguments\": {}}\n</tool_call><|im_end|>",
136
+ "tool_name": "play_music",
137
+ "args": {},
138
+ "esito_tool": "🎵 Musica play",
139
+ "corretto": true,
140
+ "stato": "✅ CORRETTO"
141
+ },
142
+ {
143
+ "input": "Pausa musica",
144
+ "tipo": "tool",
145
+ "risposta_raw": "<tool_call>\n{\"name\": \"pause_music\", \"arguments\": {}}\n</tool_call><|im_end|>",
146
+ "tool_name": "pause_music",
147
+ "args": {},
148
+ "esito_tool": "⏸️ Musica pausa",
149
+ "corretto": true,
150
+ "stato": "✅ CORRETTO"
151
+ },
152
+ {
153
+ "input": "Canzone successiva",
154
+ "tipo": "tool",
155
+ "risposta_raw": "<tool_call>\n{\"name\": \"next_track\", \"arguments\": {}}\n</tool_call><|im_end|>",
156
+ "tool_name": "next_track",
157
+ "args": {},
158
+ "esito_tool": "⏭️ Brano succ.",
159
+ "corretto": true,
160
+ "stato": "✅ CORRETTO"
161
+ },
162
+ {
163
+ "input": "Sveglia alle 7",
164
+ "tipo": "tool",
165
+ "risposta_raw": "<tool_call>\n{\"name\": \"set_alarm\", \"arguments\": {\"time\": \"07:00\"}}\n</tool_call><|im_end|>",
166
+ "tool_name": "set_alarm",
167
+ "args": {
168
+ "time": "07:00"
169
+ },
170
+ "esito_tool": "⏰ Sveglia 07:00",
171
+ "corretto": true,
172
+ "stato": "✅ CORRETTO"
173
+ },
174
+ {
175
+ "input": "Timer 5 minuti",
176
+ "tipo": "tool",
177
+ "risposta_raw": "<tool_call>\n{\"name\": \"set_timer\", \"arguments\": {\"duration_minutes\": 5}}\n</tool_call><|im_end|>",
178
+ "tool_name": "set_timer",
179
+ "args": {
180
+ "duration_minutes": 5
181
+ },
182
+ "esito_tool": "⏱️ Timer 5 min",
183
+ "corretto": true,
184
+ "stato": "✅ CORRETTO"
185
+ },
186
+ {
187
+ "input": "Chiama Marco",
188
+ "tipo": "tool",
189
+ "risposta_raw": "<tool_call>\n{\"name\": \"make_call\", \"arguments\": {\"contact\": \"Marco\"}}\n</tool_call><|im_end|>",
190
+ "tool_name": "make_call",
191
+ "args": {
192
+ "contact": "Marco"
193
+ },
194
+ "esito_tool": "📞 Chiamo Marco",
195
+ "corretto": true,
196
+ "stato": "✅ CORRETTO"
197
+ },
198
+ {
199
+ "input": "Apri calcolatrice",
200
+ "tipo": "tool",
201
+ "risposta_raw": "<tool_call>\n{\"name\": \"open_calculator\", \"arguments\": {}}\n</tool_call><|im_end|>",
202
+ "tool_name": "open_calculator",
203
+ "args": {},
204
+ "esito_tool": "🔢 Calcolatrice",
205
+ "corretto": true,
206
+ "stato": "✅ CORRETTO"
207
+ },
208
+ {
209
+ "input": "Apri impostazioni",
210
+ "tipo": "tool",
211
+ "risposta_raw": "<tool_call>\n{\"name\": \"open_settings\", \"arguments\": {}}\n</tool_call><|im_end|>",
212
+ "tool_name": "open_settings",
213
+ "args": {},
214
+ "esito_tool": "⚙️ Impostazioni",
215
+ "corretto": true,
216
+ "stato": "✅ CORRETTO"
217
+ },
218
+ {
219
+ "input": "Apri Spotify",
220
+ "tipo": "tool",
221
+ "risposta_raw": "<tool_call>\n{\"name\": \"open_app\", \"arguments\": {\"app_name\": \"Spotify\"}}\n</tool_call><|im_end|>",
222
+ "tool_name": "open_app",
223
+ "args": {
224
+ "app_name": "Spotify"
225
+ },
226
+ "esito_tool": "📱 'Spotify' aperta",
227
+ "corretto": true,
228
+ "stato": "✅ CORRETTO"
229
+ },
230
+ {
231
+ "input": "Apri WhatsApp",
232
+ "tipo": "tool",
233
+ "risposta_raw": "<tool_call>\n{\"name\": \"open_app\", \"arguments\": {\"app_name\": \"WhatsApp\"}}\n</tool_call><|im_end|>",
234
+ "tool_name": "open_app",
235
+ "args": {
236
+ "app_name": "WhatsApp"
237
+ },
238
+ "esito_tool": "📱 'WhatsApp' aperta",
239
+ "corretto": true,
240
+ "stato": "✅ CORRETTO"
241
+ },
242
+ {
243
+ "input": "Attiva dark mode",
244
+ "tipo": "tool",
245
+ "risposta_raw": "<tool_call>\n{\"name\": \"enable_dark_mode\", \"arguments\": {}}\n</tool_call><|im_end|>",
246
+ "tool_name": "enable_dark_mode",
247
+ "args": {},
248
+ "esito_tool": "🌙 Dark mode ON",
249
+ "corretto": true,
250
+ "stato": "✅ CORRETTO"
251
+ },
252
+ {
253
+ "input": "Attiva GPS",
254
+ "tipo": "tool",
255
+ "risposta_raw": "<tool_call>\n{\"name\": \"enable_gps\", \"arguments\": {}}\n</tool_call><|im_end|>",
256
+ "tool_name": "enable_gps",
257
+ "args": {},
258
+ "esito_tool": "📍 GPS ON",
259
+ "corretto": true,
260
+ "stato": "✅ CORRETTO"
261
+ },
262
+ {
263
+ "input": "Fai screenshot",
264
+ "tipo": "tool",
265
+ "risposta_raw": "<tool_call>\n{\"name\": \"take_screenshot\", \"arguments\": {}}\n</tool_call><|im_end|>",
266
+ "tool_name": "take_screenshot",
267
+ "args": {},
268
+ "esito_tool": "📸 Screenshot",
269
+ "corretto": true,
270
+ "stato": "✅ CORRETTO"
271
+ },
272
+ {
273
+ "input": "Naviga verso Roma",
274
+ "tipo": "tool",
275
+ "risposta_raw": "<tool_call>\n{\"name\": \"navigate_to\", \"arguments\": {\"destination\": \"Roma\"}}\n</tool_call><|im_end|>",
276
+ "tool_name": "navigate_to",
277
+ "args": {
278
+ "destination": "Roma"
279
+ },
280
+ "esito_tool": "🧭 → Roma",
281
+ "corretto": true,
282
+ "stato": "✅ CORRETTO"
283
+ },
284
+ {
285
+ "input": "Blocca schermo",
286
+ "tipo": "tool",
287
+ "risposta_raw": "<tool_call>\n{\"name\": \"lock_screen\", \"arguments\": {}}\n</tool_call><|im_end|>",
288
+ "tool_name": "lock_screen",
289
+ "args": {},
290
+ "esito_tool": "🔒 Schermo bloccato",
291
+ "corretto": true,
292
+ "stato": "✅ CORRETTO"
293
+ },
294
+ {
295
+ "input": "Attiva hotspot",
296
+ "tipo": "tool",
297
+ "risposta_raw": "<tool_call>\n{\"name\": \"enable_hotspot\", \"arguments\": {}}\n</tool_call><|im_end|>",
298
+ "tool_name": "enable_hotspot",
299
+ "args": {},
300
+ "esito_tool": "📡 Hotspot ON",
301
+ "corretto": true,
302
+ "stato": "✅ CORRETTO"
303
+ },
304
+ {
305
+ "input": "Cerca meteo Milano",
306
+ "tipo": "tool",
307
+ "risposta_raw": "<tool_call>\n{\"name\": \"web_search\", \"arguments\": {\"query\": \"meteo Milano\"}}\n</tool_call><|im_end|>",
308
+ "tool_name": "web_search",
309
+ "args": {
310
+ "query": "meteo Milano"
311
+ },
312
+ "esito_tool": "🔍 \"meteo Milano\"",
313
+ "corretto": true,
314
+ "stato": "✅ CORRETTO"
315
+ },
316
+ {
317
+ "input": "Attiva risparmio energetico",
318
+ "tipo": "tool",
319
+ "risposta_raw": "<tool_call>\n{\"name\": \"enable_battery_saver\", \"arguments\": {}}\n</tool_call><|im_end|>",
320
+ "tool_name": "enable_battery_saver",
321
+ "args": {},
322
+ "esito_tool": "🔋 Risparmio ON",
323
+ "corretto": true,
324
+ "stato": "✅ CORRETTO"
325
+ },
326
+ {
327
+ "input": "Attiva la rotazione automatica",
328
+ "tipo": "tool",
329
+ "risposta_raw": "<tool_call>\n{\"name\": \"enable_auto_rotate\", \"arguments\": {}}\n</tool_call><|im_end|>",
330
+ "tool_name": "enable_auto_rotate",
331
+ "args": {},
332
+ "esito_tool": "🔄 Rotazione AUTO",
333
+ "corretto": true,
334
+ "stato": "✅ CORRETTO"
335
+ },
336
+ {
337
+ "input": "Riavvia il telefono",
338
+ "tipo": "tool",
339
+ "risposta_raw": "<tool_call>\n{\"name\": \"restart_device\", \"arguments\": {}}\n</tool_call><|im_end|>",
340
+ "tool_name": "restart_device",
341
+ "args": {},
342
+ "esito_tool": "🔄 Riavvio...",
343
+ "corretto": true,
344
+ "stato": "✅ CORRETTO"
345
+ },
346
+ {
347
+ "input": "Spegni il telefono",
348
+ "tipo": "tool",
349
+ "risposta_raw": "<tool_call>\n{\"name\": \"power_off_device\", \"arguments\": {}}\n</tool_call><|im_end|>",
350
+ "tool_name": "power_off_device",
351
+ "args": {},
352
+ "esito_tool": "🔌 Spegnimento...",
353
+ "corretto": true,
354
+ "stato": "✅ CORRETTO"
355
+ },
356
+ {
357
+ "input": "Apri Maps",
358
+ "tipo": "tool",
359
+ "risposta_raw": "<tool_call>\n{\"name\": \"open_maps\", \"arguments\": {}}\n</tool_call><|im_end|>",
360
+ "tool_name": "open_maps",
361
+ "args": {},
362
+ "esito_tool": "🗺️ Maps",
363
+ "corretto": true,
364
+ "stato": "✅ CORRETTO"
365
+ },
366
+ {
367
+ "input": "acceni la torcia",
368
+ "tipo": "tool",
369
+ "risposta_raw": "<tool_call>\n{\"name\": \"turn_on_flashlight\", \"arguments\": {}}\n</tool_call><|im_end|>",
370
+ "tool_name": "turn_on_flashlight",
371
+ "args": {},
372
+ "esito_tool": "🔦 Torcia ACCESA",
373
+ "corretto": true,
374
+ "stato": "✅ CORRETTO"
375
+ },
376
+ {
377
+ "input": "speni bluetooth",
378
+ "tipo": "tool",
379
+ "risposta_raw": "<tool_call>\n{\"name\": \"disable_bluetooth\", \"arguments\": {}}\n</tool_call><|im_end|>",
380
+ "tool_name": "disable_bluetooth",
381
+ "args": {},
382
+ "esito_tool": "🔵 Bluetooth OFF",
383
+ "corretto": true,
384
+ "stato": "✅ CORRETTO"
385
+ },
386
+ {
387
+ "input": "sveia 8",
388
+ "tipo": "tool",
389
+ "risposta_raw": "<tool_call>\n{\"name\": \"set_alarm\", \"arguments\": {\"time\": \"08:00\"}}\n</tool_call><|im_end|>",
390
+ "tool_name": "set_alarm",
391
+ "args": {
392
+ "time": "08:00"
393
+ },
394
+ "esito_tool": "⏰ Sveglia 08:00",
395
+ "corretto": true,
396
+ "stato": "✅ CORRETTO"
397
+ },
398
+ {
399
+ "input": "Ciao",
400
+ "tipo": "chat",
401
+ "risposta_raw": "Ciao! Come posso aiutarti?<|im_end|>",
402
+ "tool_name": null,
403
+ "args": {},
404
+ "esito_tool": "—",
405
+ "corretto": true,
406
+ "stato": "✅ CHAT OK"
407
+ },
408
+ {
409
+ "input": "Ciao, come stai?",
410
+ "tipo": "chat",
411
+ "risposta_raw": "Sto bene, grazie. Come posso aiutarti?<|im_end|>",
412
+ "tool_name": null,
413
+ "args": {},
414
+ "esito_tool": "—",
415
+ "corretto": true,
416
+ "stato": "✅ CHAT OK"
417
+ },
418
+ {
419
+ "input": "Buongiorno",
420
+ "tipo": "chat",
421
+ "risposta_raw": "Buongiorno! Dimmi pure.<|im_end|>",
422
+ "tool_name": null,
423
+ "args": {},
424
+ "esito_tool": "—",
425
+ "corretto": true,
426
+ "stato": "✅ CHAT OK"
427
+ },
428
+ {
429
+ "input": "Buonanotte",
430
+ "tipo": "chat",
431
+ "risposta_raw": "Buonanotte! A presto.<|im_end|>",
432
+ "tool_name": null,
433
+ "args": {},
434
+ "esito_tool": "—",
435
+ "corretto": true,
436
+ "stato": "✅ CHAT OK"
437
+ },
438
+ {
439
+ "input": "Grazie mille",
440
+ "tipo": "chat",
441
+ "risposta_raw": "Di niente! Fammi sapere se ti serve altro.<|im_end|>",
442
+ "tool_name": null,
443
+ "args": {},
444
+ "esito_tool": "—",
445
+ "corretto": true,
446
+ "stato": "✅ CHAT OK"
447
+ },
448
+ {
449
+ "input": "Cos'è un algoritmo?",
450
+ "tipo": "chat",
451
+ "risposta_raw": "Un algoritmo è una sequenza di istruzioni per risolvere un problema.<|im_end|>",
452
+ "tool_name": null,
453
+ "args": {},
454
+ "esito_tool": "—",
455
+ "corretto": true,
456
+ "stato": "✅ CHAT OK"
457
+ },
458
+ {
459
+ "input": "Qual è la capitale d'Italia?",
460
+ "tipo": "chat",
461
+ "risposta_raw": "Roma.<|im_end|>",
462
+ "tool_name": null,
463
+ "args": {},
464
+ "esito_tool": "—",
465
+ "corretto": true,
466
+ "stato": "✅ CHAT OK"
467
+ },
468
+ {
469
+ "input": "Quanti pianeti ci sono?",
470
+ "tipo": "chat",
471
+ "risposta_raw": "Otto: Mercurio, Venere, Terra, Marte, Giove, Saturno, Urano e Nettuno.<|im_end|>",
472
+ "tool_name": null,
473
+ "args": {},
474
+ "esito_tool": "—",
475
+ "corretto": true,
476
+ "stato": "✅ CHAT OK"
477
+ },
478
+ {
479
+ "input": "Dimmi una curiosità",
480
+ "tipo": "chat",
481
+ "risposta_raw": "Il cuore umano batte circa 100.000 volte al giorno.<|im_end|>",
482
+ "tool_name": null,
483
+ "args": {},
484
+ "esito_tool": "—",
485
+ "corretto": true,
486
+ "stato": "✅ CHAT OK"
487
+ },
488
+ {
489
+ "input": "Cos'è il machine learning?",
490
+ "tipo": "chat",
491
+ "risposta_raw": "Un sottoinsieme dell'intelligenza artificiale che permette ai sistemi di imparare dai dati.<|im_end|>",
492
+ "tool_name": null,
493
+ "args": {},
494
+ "esito_tool": "—",
495
+ "corretto": true,
496
+ "stato": "✅ CHAT OK"
497
+ },
498
+ {
499
+ "input": "Come creo una password sicura?",
500
+ "tipo": "chat",
501
+ "risposta_raw": "Usa almeno 12 caratteri, mescola lettere, numeri e simboli. Evita parole comuni.<|im_end|>",
502
+ "tool_name": null,
503
+ "args": {},
504
+ "esito_tool": "—",
505
+ "corretto": true,
506
+ "stato": "✅ CHAT OK"
507
+ },
508
+ {
509
+ "input": "Cosa mangio per stare bene?",
510
+ "tipo": "chat",
511
+ "risposta_raw": "Frutta, verdura, cereali integrali e proteine magre. Evita troppi cibi processati.<|im_end|>",
512
+ "tool_name": null,
513
+ "args": {},
514
+ "esito_tool": "—",
515
+ "corretto": true,
516
+ "stato": "✅ CHAT OK"
517
+ },
518
+ {
519
+ "input": "Mi sento triste",
520
+ "tipo": "chat",
521
+ "risposta_raw": "Mi dispiace. Parlare con qualcuno di fiducia può aiutare. Vuoi parlare con me?<|im_end|>",
522
+ "tool_name": null,
523
+ "args": {},
524
+ "esito_tool": "—",
525
+ "corretto": true,
526
+ "stato": "✅ CHAT OK"
527
+ },
528
+ {
529
+ "input": "Voglio imparare a programmare",
530
+ "tipo": "chat",
531
+ "risposta_raw": "Ottimo! Da dove vuoi partire: web, mobile o dati?<|im_end|>",
532
+ "tool_name": null,
533
+ "args": {},
534
+ "esito_tool": "—",
535
+ "corretto": true,
536
+ "stato": "✅ CHAT OK"
537
+ },
538
+ {
539
+ "input": "Cos'è la fotosintesi?",
540
+ "tipo": "chat",
541
+ "risposta_raw": "Le piante convertono luce solare, acqua e CO2 in glucosio e ossigeno.<|im_end|>",
542
+ "tool_name": null,
543
+ "args": {},
544
+ "esito_tool": "—",
545
+ "corretto": true,
546
+ "stato": "✅ CHAT OK"
547
+ },
548
+ {
549
+ "input": "Aiutami a studiare",
550
+ "tipo": "chat",
551
+ "risposta_raw": "Certo. A chi la devi (essere, ora?<|im_end|>",
552
+ "tool_name": null,
553
+ "args": {},
554
+ "esito_tool": "—",
555
+ "corretto": true,
556
+ "stato": "✅ CHAT OK"
557
+ },
558
+ {
559
+ "input": "Non ho voglia di fare niente",
560
+ "tipo": "chat",
561
+ "risposta_raw": "Capita. Anche riposarsi è importante. Vuoi un po' di ispirazione leggera?<|im_end|>",
562
+ "tool_name": null,
563
+ "args": {},
564
+ "esito_tool": "—",
565
+ "corretto": true,
566
+ "stato": "✅ CHAT OK"
567
+ },
568
+ {
569
+ "input": "Hai una barzelletta?",
570
+ "tipo": "chat",
571
+ "risposta_raw": "Perché il libro di matematica era triste? Perché aveva troppi problemi.<|im_end|>",
572
+ "tool_name": null,
573
+ "args": {},
574
+ "esito_tool": "—",
575
+ "corretto": true,
576
+ "stato": "✅ CHAT OK"
577
+ },
578
+ {
579
+ "input": "Che ore sono?",
580
+ "tipo": "chat",
581
+ "risposta_raw": "Non ho accesso all'orologio, controlla il display del telefono.<|im_end|>",
582
+ "tool_name": null,
583
+ "args": {},
584
+ "esito_tool": "—",
585
+ "corretto": true,
586
+ "stato": "✅ CHAT OK"
587
+ },
588
+ {
589
+ "input": "Fa caldo oggi",
590
+ "tipo": "chat",
591
+ "risposta_raw": "Idratati bene e cerca di stare all'ombra. Vuoi qualche consiglio per rinfrescarti?<|im_end|>",
592
+ "tool_name": null,
593
+ "args": {},
594
+ "esito_tool": "—",
595
+ "corretto": true,
596
+ "stato": "✅ CHAT OK"
597
+ }
598
+ ]
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eebd9c029073eb5ba19362dbf135000e52b3b3a51cc873df3b5c8f1b7640070e
3
+ size 11421990
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "is_local": true,
9
+ "local_files_only": false,
10
+ "max_length": 512,
11
+ "model_max_length": 131072,
12
+ "pad_token": "<|im_end|>",
13
+ "split_special_tokens": false,
14
+ "stride": 0,
15
+ "tokenizer_class": "Qwen2Tokenizer",
16
+ "truncation_side": "right",
17
+ "truncation_strategy": "longest_first",
18
+ "unk_token": null
19
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a806ee79018dbfeff706182410729a53c83e6a7d9e4dfbfecaab3a1a70a8b5a6
3
+ size 5265