CodeT5 icon indicating copy to clipboard operation
CodeT5 copied to clipboard

How to train models with contrastive losses, masks, etc.

Open 18liumin opened this issue 1 year ago • 1 comments

18liumin avatar Nov 07 '23 07:11 18liumin

I would like to see the actual pretraining of CodeT5, I am reading up on the Identifier Tagging objective, where you transform the contextual representation of the encoder into a vector of probabilities. Unfortunately there no discussion on how, I assume there is an ProjectionLayer with an L2 norm that gets fed into a sigmoid. I came to look up the code, but I either to struggle to find it, or I am just blind.

n1o avatar May 29 '24 09:05 n1o