Files
HuggingFace_transformer/transformers
Rémi Louf 877ef2c6ca override from_pretrained in Bert2Rnd
In the seq2seq model we need to both load pretrained weights in the
encoder and initialize the decoder randomly. Because the
`from_pretrained` method defined in the base class relies on module
names to assign weights, it would also initialize the decoder with
pretrained weights. To avoid this we override the method to only
initialize the encoder with pretrained weights.
2019-10-10 10:02:18 +02:00
..
2019-09-27 17:32:28 +02:00
2019-10-08 16:30:58 +02:00
2019-10-08 16:30:58 +02:00
2019-10-03 10:27:11 -04:00
2019-10-02 15:04:18 +00:00
2019-10-02 15:04:18 +00:00
2019-09-27 17:02:53 -04:00
2019-10-04 14:27:38 -04:00