CodeT5 icon indicating copy to clipboard operation
CodeT5 copied to clipboard

LoRA fine-tuned CodeT5+ generating random final encoder outputs in inference time

Open monilouise opened this issue 1 year ago • 0 comments

Hi,

I'm developing a bug detection system but realized the metrics are slightly random. I noticed that this line is returning different values for a saved model in inference time:

outputs = self.encoder.encoder(input_ids=input_ids, attention_mask=input_mask)

Considering the encoder is an instance of T5Stack.

Any clues about it?

Thanks in advance.

monilouise avatar Jun 26 '24 00:06 monilouise