Closed keyboardAnt closed 3 weeks ago
This was added but only tested for instructcodet5p and HumanEvalPack here https://github.com/bigcode-project/bigcode-evaluation-harness/blob/9d17482e38eaeddee5e27488229a893dc59d42e1/main.py#L274 If more tests are done for other tasks we can generalize it
AutoModelForCausalLM.from_pretrained(Salesforce/codet5p-220m)
raisesValueError: Unrecognized configuration class <class 'transformers.models.t5.configuration_t5.T5Config'> for this kind of AutoModel: AutoModelForCausalLM.
. Consider utilizingAutoModelForSeq2SeqLM
. Here is a quick draft example.