hmahadik commited on
Commit
a8332b8
·
verified ·
1 Parent(s): c0eb2b7

Update Modelfile: FROM v7 GGUF, drop <end> stop (was truncating multi-tool)

Browse files
Files changed (1) hide show
  1. Modelfile +6 -4
Modelfile CHANGED
@@ -1,16 +1,18 @@
1
- # FunctionGemma 270M Physical AI — function-token format
2
  # Function tokens (<tool_N>) + <end> terminator. ~8-15 output tokens per call.
3
  # Optimized for CPU decode on small Cortex-A55 / similar edge targets.
4
 
5
- FROM ./functiongemma-physical-ai-Q4_K_M.gguf
6
 
7
  PARAMETER temperature 0
8
  PARAMETER top_p 1
9
  PARAMETER num_ctx 1024
10
  PARAMETER num_predict 80
11
 
12
- # Function-token format terminators + base-model end-of-turn
13
- PARAMETER stop "<end>"
 
 
14
  PARAMETER stop "<end_of_turn>"
15
  PARAMETER stop "<eos>"
16
 
 
1
+ # FunctionGemma 270M Physical AI — v7, function-token format
2
  # Function tokens (<tool_N>) + <end> terminator. ~8-15 output tokens per call.
3
  # Optimized for CPU decode on small Cortex-A55 / similar edge targets.
4
 
5
+ FROM ./functiongemma-physical-ai-v7-Q5_K_M.gguf
6
 
7
  PARAMETER temperature 0
8
  PARAMETER top_p 1
9
  PARAMETER num_ctx 1024
10
  PARAMETER num_predict 80
11
 
12
+ # Stop on the turn-level markers ONLY, not on <end>. Multi-tool sequences
13
+ # emit <tool_A>(args)<end><tool_B>(args)<end>, and stopping at the first
14
+ # <end> truncates the second call. <end_of_turn> + <eos> are the right
15
+ # stops for both single- and multi-tool output.
16
  PARAMETER stop "<end_of_turn>"
17
  PARAMETER stop "<eos>"
18