[Fix] Fix AttributeError in Qwen2.5 LoRA: 'Qwen2ForCausalLM' object has no attribute 'get_hidden_dim' (#1536)

Co-authored-by: Ying Sheng <sqy1415@gmail.com>
This commit is contained in:
Minsang Song
2024-10-03 12:41:15 +09:00
committed by GitHub
parent 4ae0969c0a
commit e6852b0dd2
4 changed files with 73 additions and 8 deletions

View File

@@ -51,6 +51,7 @@ CI_MODELS = [
# All other models
ALL_OTHER_MODELS = [
ModelCase("Qwen/Qwen2-1.5B"),
ModelCase("Qwen/Qwen2.5-14B-Instruct"),
ModelCase("HuggingFaceTB/SmolLM-135M-Instruct"),
]