From e626e264460d12b282099bfbb8e6679c31e85fc0 Mon Sep 17 00:00:00 2001 From: hiyouga <467089858@qq.com> Date: Mon, 27 May 2024 20:23:24 +0800 Subject: [PATCH] support Aya23 --- src/llamafactory/extras/constants.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/llamafactory/extras/constants.py b/src/llamafactory/extras/constants.py index 087612fc..32ca5387 100644 --- a/src/llamafactory/extras/constants.py +++ b/src/llamafactory/extras/constants.py @@ -86,6 +86,19 @@ def register_model_group( VISION_MODELS.add(prefix) +register_model_group( + models={ + "Aya-23-8B-Chat": { + DownloadSource.DEFAULT: "CohereForAI/aya-23-8B", + }, + "Aya-23-35B-Chat": { + DownloadSource.DEFAULT: "CohereForAI/aya-23-35B", + }, + }, + template="cohere", +) + + register_model_group( models={ "Baichuan-7B-Base": {