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

Method match

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

Source from the content-addressed store, hash-verified

29 """The base and the default model adapter."""
30
31 def match(self, model_path: str):
32 return True
33
34 def load_model(self, model_path: str, from_pretrained_kwargs: dict):
35 tokenizer = AutoTokenizer.from_pretrained(model_path, use_fast=False)

Callers 2

get_model_adapterFunction · 0.45
method_converterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected