Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBMB/ToolBench
/ get_default_conv_template
Method
get_default_conv_template
toolbench/model/model_adapter.py:41–42 ·
view source on GitHub ↗
(self, model_path: str)
Source
from the content-addressed store, hash-verified
39
return
model, tokenizer
40
41
def
get_default_conv_template(self, model_path: str) -> Conversation:
42
return
get_conv_template(
"one_shot"
)
43
44
45
# A global registry for all model adapters
Callers
1
get_conversation_template
Function · 0.45
Calls
1
get_conv_template
Function · 0.90
Tested by
no test coverage detected