Support starcoder2 architecture (#3089)

This commit is contained in:
Seonghyeon
2024-02-29 00:51:48 -08:00
committed by GitHub
parent 9289e577ec
commit bfdcfa6a05
7 changed files with 452 additions and 0 deletions
+1
View File
@@ -45,6 +45,7 @@ _MODELS = {
"RWForCausalLM": ("falcon", "FalconForCausalLM"),
"StableLMEpochForCausalLM": ("stablelm", "StablelmForCausalLM"),
"StableLmForCausalLM": ("stablelm", "StablelmForCausalLM"),
"Starcoder2ForCausalLM": ("starcoder2", "Starcoder2ForCausalLM"),
}
# Models not supported by ROCm.