(self, model_path: str)
| 720 | return False |
| 721 | |
| 722 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| 723 | if "-3." in model_path or "-3p" in model_path: |
| 724 | return get_conv_template("airoboros_v3") |
| 725 | if "spicyboros" in model_path or re.search(r"-(2\.[2-9]+)", model_path): |
| 726 | return get_conv_template("airoboros_v2") |
| 727 | return get_conv_template("airoboros_v1") |
| 728 | |
| 729 | def load_model(self, model_path: str, from_pretrained_kwargs: dict): |
| 730 | if "mpt" not in model_path.lower(): |
nothing calls this directly
no test coverage detected