Add local-tool-calling module: six small Ollama models scored on one MCP-served tool suite
Four tools served over MCP, twelve prompts, LangChain4j 1.24.0 OllamaChatModel, a scorer that validates each call against the tool's own JSON schema, and scripts to run and summarise the benchmark. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b3obqqePfZ9m2Jk5Ub
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
ae8fe985b4
commit
f4f90b3b30
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# The real benchmark. Needs a running Ollama with the models pulled (see README) and: pip install mcp
|
||||
# scripts/benchmark.sh # the six models from the post, 3 runs each
|
||||
# MODELS=llama3.2:3b RUNS=1 scripts/benchmark.sh
|
||||
source "$(dirname "$0")/_cp.sh"
|
||||
MODELS="${MODELS:-qwen3:0.6b,qwen3:1.7b,llama3.2:1b,llama3.2:3b,qwen2.5:1.5b,granite3.3:2b}"
|
||||
java -cp "$CP" com.ankurm.lc4j.localtools.Benchmark --models "$MODELS" --runs "${RUNS:-3}" --temp "${TEMPERATURE:-0.3}" \
|
||||
--out results --python "${PYTHON:-python3}" --server mcp/tool_server.py 2>&1 | grep --line-buffered -v -e '^Picked up' -e '^\[main\] INFO'
|
||||
Reference in New Issue
Block a user