From ca00dc64ec5f4dc0a245b204cc7fd40fccddc221 Mon Sep 17 00:00:00 2001 From: Michael <67104840+thavens@users.noreply.github.com> Date: Sun, 7 Jan 2024 18:46:45 -0800 Subject: [PATCH] Update model_adapter.py --- fastchat/model/model_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastchat/model/model_adapter.py b/fastchat/model/model_adapter.py index b0f1c8062..bb268e093 100644 --- a/fastchat/model/model_adapter.py +++ b/fastchat/model/model_adapter.py @@ -1975,7 +1975,7 @@ class TinyLlamaAdapter(BaseModelAdapter): """The model adapter for TinyLlama (e.g. TinyLlama/TinyLlama-1.1B-Chat-v1.0)""" def match(self, model_path: str): - return "TinyLlama" in model_path.lower() + return "tinyllama" in model_path.lower() def get_default_conv_template(self, model_path: str) -> Conversation: return get_conv_template("TinyLlama")