[Model] Add Granite model (#7436)

Co-authored-by: Nick Hill <nickhill@us.ibm.com>
This commit is contained in:
Shawn Tan
2024-09-01 18:37:18 -07:00
committed by GitHub
co-authored by Nick Hill
parent 5b86b19954
commit f8d60145b4
4 changed files with 792 additions and 0 deletions
+1
View File
@@ -65,6 +65,7 @@ _GENERATION_MODELS = {
"EAGLEModel": ("eagle", "EAGLE"),
"MLPSpeculatorPreTrainedModel": ("mlp_speculator", "MLPSpeculator"),
"JambaForCausalLM": ("jamba", "JambaForCausalLM"),
"GraniteForCausalLM": ("granite", "GraniteForCausalLM")
}
_EMBEDDING_MODELS = {