KeyError: 'codegen'
Hi all,
I am running the example from the "how to use" section of the model card. AutoModelForCausalLM.from_pretrained('Salesforce/codegen-350M-multi') gives a KeyError for 'codgen', the model_type in the config. This seems to imply that I am missing a model file or other dependency, does anyone know how to fix this? Thanks!
I am running transformers v4.19.4 btw.
Hi @EnriqueD ,
Thanks for your interest!!
This is because CodeGen hasn't been merged into the main branch yet (pull request). It should be ready on main branch very soon.
If you'd like to give the model a try, please take a look at the original repo here in the mean time.
I will ping here when the pull request is merged.
Thanks for the prompt and helpful reply!
Looking forward to your ping!