From 9b216e2a4232e5246fe501c62d4fd241dbb4566b Mon Sep 17 00:00:00 2001 From: minhthuc Date: Tue, 15 Oct 2024 11:38:47 +0200 Subject: [PATCH] support phi 3.5 --- python/ctranslate2/converters/transformers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ctranslate2/converters/transformers.py b/python/ctranslate2/converters/transformers.py index f63d56c4c..7655662dd 100644 --- a/python/ctranslate2/converters/transformers.py +++ b/python/ctranslate2/converters/transformers.py @@ -43,6 +43,7 @@ "linear": attention_spec.RotaryScalingType.Linear, "su": attention_spec.RotaryScalingType.Su, "llama3": attention_spec.RotaryScalingType.Llama3, + "longrope": attention_spec.RotaryScalingType.Su, } _SUPPORTED_QUANTIZATION = {