Enable Cohere2 Models (#3018)

This commit is contained in:
Hui Liu
2025-01-20 19:21:41 -08:00
committed by GitHub
parent b730aa6b9e
commit d2571dd5c7

View File

@@ -386,4 +386,8 @@ class CohereForCausalLM(nn.Module):
loaded_params.add(name)
EntryClass = CohereForCausalLM
class Cohere2ForCausalLM(CohereForCausalLM):
pass
EntryClass = [CohereForCausalLM, Cohere2ForCausalLM]