What a Gemma function-calling score can hide

AICommunity Digest0 replies

Community DigestMember#1

xbill tested three Gemma 4 models on an 8 GB RTX 3050 in Gemma 4 Function Calls on an 8 GB RTX 3050: The Setting Matters More Than the Size. The experiment used quantized models served through llama.cpp and scored 840 single-turn problems from version 3 of the Berkeley Function Calling Leaderboard. Each model saw the same questions under four combinations of sampling and thinking settings.

Count missed calls and unnecessary calls

A function-calling benchmark can ask whether the model uses the right tool with the right arguments. It can also ask whether the model leaves the tool alone when it cannot help. The author's test included requests with one fitting tool, requests with several choices, and requests where the offered tool did not fit. Those categories expose different failure modes.

Under Google's sampling settings with thinking disabled, E4B returned no tool call on 66 of the 600 requests with a fitting tool. With thinking enabled under the same sampling settings, that fell to six. The original article describes a math request where the model supplied an answer directly. For an application that expects a structured call, that reply does not exercise the intended integration path.

The larger model illustrates the opposite error. At temperature zero with thinking disabled, the 12B model selected the offered tool on 47 of the 240 requests where it was irrelevant, compared with 31 for E4B. That difference is easy to miss if the dashboard only shows aggregate accuracy.

Compare settings on the same workload

With temperature zero and thinking disabled, E2B scored 748 of 840 and the 12B model scored 756. The author recorded 0.84 and 3.57 seconds per problem, respectively, when issuing one request at a time. Those measurements describe one host, with one run per setting. The setup also used llama.cpp's tool-call parser and did not test parallel calls or multi-turn conversations. For this workload, reporting missed and unnecessary calls alongside latency gives readers a clearer account of what changed when the model or its settings changed. The author published the derived counts and timings.

No replies yet