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

Method match

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

Source from the content-addressed store, hash-verified

219 "Model adapater for vicuna-v1.1"
220
221 def match(self, model_path: str):
222 return "vicuna" in model_path
223
224 def load_model(self, model_path: str, from_pretrained_kwargs: dict):
225 tokenizer = AutoTokenizer.from_pretrained(model_path, use_fast=False)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected