Unverified Commit d2571dd5 authored by Hui Liu's avatar Hui Liu Committed by GitHub
Browse files

Enable Cohere2 Models (#3018)

parent b730aa6b
...@@ -386,4 +386,8 @@ class CohereForCausalLM(nn.Module): ...@@ -386,4 +386,8 @@ class CohereForCausalLM(nn.Module):
loaded_params.add(name) loaded_params.add(name)
EntryClass = CohereForCausalLM class Cohere2ForCausalLM(CohereForCausalLM):
pass
EntryClass = [CohereForCausalLM, Cohere2ForCausalLM]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment