CodeT5 icon indicating copy to clipboard operation
CodeT5 copied to clipboard

How to initialize encoder with CodeGen-mono 350M?

Open skye95git opened this issue 1 year ago • 0 comments

From the paper "CODEGEN: AN OPEN LARGE LANGUAGE MODEL FOR CODE WITH MULTI-TURN PROGRAM SYNTHESIS", the architecture of CodeGen follows a standard transformer decoder with left-to-right causal masking. How do you use CodeGen-mono 350M (decoder) to initialize the encoder? As far as I know, there is a slight difference between encoder and decoder.

skye95git avatar Jan 10 '24 09:01 skye95git