1. 26 Mar, 2020 4 commits
    • Patrick von Platen's avatar
      Adds translation pipeline (#3419) · 022e8fab
      Patrick von Platen authored
      * fix merge conflicts
      
      * add t5 summarization example
      
      * change parameters for t5 summarization
      
      * make style
      
      * add first code snippet for translation
      
      * only add prefixes
      
      * add prefix patterns
      
      * make style
      
      * renaming
      
      * fix conflicts
      
      * remove unused patterns
      
      * solve conflicts
      
      * fix merge conflicts
      
      * remove translation example
      
      * remove summarization example
      
      * make sure tensors are in numpy for float comparsion
      
      * re-add t5 config
      
      * fix t5 import config typo
      
      * make style
      
      * remove unused numpy statements
      
      * update doctstring
      
      * import translation pipeline
      022e8fab
    • HUSEIN ZOLKEPLI's avatar
      Update model card huseinzol05/bert-base-bahasa-cased (#3425) · 3c5c5675
      HUSEIN ZOLKEPLI authored
      * add bert bahasa readme
      
      * update readme
      
      * update readme
      
      * added xlnet
      3c5c5675
    • Patrick von Platen's avatar
      Add t5 to pipeline(task='summarization') (#3413) · 9c683ef0
      Patrick von Platen authored
      * solve conflicts
      
      * move warnings below
      
      * incorporate changes
      
      * add pad_to_max_length to pipelines
      
      * add bug fix for T5 beam search
      
      * add prefix patterns
      
      * make style
      
      * fix conflicts
      
      * adapt pipelines for task specific parameters
      
      * improve docstring
      
      * remove unused patterns
      9c683ef0
    • Lysandre Debut's avatar
      ffcffebe
  2. 25 Mar, 2020 5 commits
  3. 24 Mar, 2020 13 commits
  4. 23 Mar, 2020 9 commits
  5. 20 Mar, 2020 5 commits
  6. 19 Mar, 2020 4 commits
    • Nitish Shirish Keskar's avatar
      removing torch.cuda.empty_cache() from TF function (#3267) · 8becb732
      Nitish Shirish Keskar authored
      torch.cuda.empty_cache() was being called from a TF function (even when torch is unavailable)
      not sure any replacement is needed if TF OOMs
      8becb732
    • Julien Chaumond's avatar
    • Kyeongpil Kang's avatar
      Update 01-training-tokenizers.ipynb (typo issue) (#3343) · 8eeefcb5
      Kyeongpil Kang authored
      I found there are two grammar errors or typo issues in the explanation of the encoding properties.
      
      The original sentences:
      If your was made of multiple \"parts\" such as (question, context), then this would be a vector with for each token the segment it belongs to
      If your has been truncated into multiple subparts because of a length limit (for BERT for example the sequence length is limited to 512), this will contain all the remaining overflowing parts.
      
      I think "input" should be inserted after the phrase "If your".
      8eeefcb5
    • Patrick von Platen's avatar
      Support T5 Generation (#3228) · bbf26c4e
      Patrick von Platen authored
      
      
      * fix conflicts
      
      * update bart max length test
      
      * correct spelling mistakes
      
      * implemented model specific encode function
      
      * fix merge conflicts
      
      * better naming
      
      * save intermediate state -> need to rethink strucuture a bit
      
      * leave tf problem as it is for now
      
      * current version
      
      * add layers.pop
      
      * remove ipdb
      
      * make style
      
      * clean return cut decoding
      
      * remove ipdbs
      
      * Fix restoring layers in the decoders that doesnt exists.
      
      * push good intermediate solution for now
      
      * fix conflicts
      
      * always good to refuse to merge conflicts when rebasing
      
      * fix small bug
      
      * improve function calls
      
      * remove unused file
      
      * add correct scope behavior for t5_generate
      Co-authored-by: default avatarMorgan Funtowicz <funtowiczmo@gmail.com>
      bbf26c4e