1. 18 Dec, 2019 1 commit
  2. 10 Dec, 2019 3 commits
    • Rémi Louf's avatar
      add greedy decoding and sampling · 07bc8efb
      Rémi Louf authored
      07bc8efb
    • Rémi Louf's avatar
      clean for release · f7eba090
      Rémi Louf authored
      f7eba090
    • Rémi Louf's avatar
      load the pretrained weights for encoder-decoder · 1c71ecc8
      Rémi Louf authored
      We currently save the pretrained_weights of the encoder and decoder in
      two separate directories `encoder` and `decoder`. However, for the
      `from_pretrained` function to operate with automodels we need to
      specify the type of model in the path to the weights.
      
      The path to the encoder/decoder weights is handled by the
      `PreTrainedEncoderDecoder` class in the `save_pretrained` function. Sice
      there is no easy way to infer the type of model that was initialized for
      the encoder and decoder we add a parameter `model_type` to the function.
      This is not an ideal solution as it is error prone, and the model type
      should be carried by the Model classes somehow.
      
      This is a temporary fix that should be changed before merging.
      1c71ecc8
  3. 30 Oct, 2019 3 commits
  4. 29 Oct, 2019 1 commit
  5. 28 Oct, 2019 2 commits
  6. 17 Oct, 2019 2 commits
  7. 16 Oct, 2019 2 commits
  8. 15 Oct, 2019 2 commits
  9. 14 Oct, 2019 4 commits
  10. 08 Oct, 2019 1 commit
  11. 07 Oct, 2019 2 commits