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

Method get_default_conv_template

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

Source from the content-addressed store, hash-verified

232 return model, tokenizer
233
234 def get_default_conv_template(self, model_path: str) -> Conversation:
235 return get_conv_template("vicuna-v1.1")
236
237 def raise_warning_for_old_weights(self, model):
238 if isinstance(model, LlamaForCausalLM) and model.model.vocab_size > 32000:

Callers

nothing calls this directly

Calls 1

get_conv_templateFunction · 0.90

Tested by

no test coverage detected