(self, model_path: str)
| 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: |
nothing calls this directly
no test coverage detected