MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / match

Method match

toolbench/model/model_adapter.py:252–253  ·  view source on GitHub ↗
(self, model_path: str)

Source from the content-addressed store, hash-verified

250 "Model adapater for tool-llama"
251
252 def match(self, model_path: str):
253 return "tool-llama" == model_path
254
255 def load_model(self, model_path: str, from_pretrained_kwargs: dict):
256 tokenizer = AutoTokenizer.from_pretrained(model_path, use_fast=False)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected