Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastchat/model/model_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down