1. 11 Apr, 2022 3 commits
    • Jia LI's avatar
      Jia multi gpu eval (#16428) · 4868a830
      Jia LI authored
      
      
      * add simple multi gpu complet
      
      * add human_eval_multi_gpu
      
      * use copy strategy to distribute across gpu, to avoid padding
      
      * add doc string
      
      * update code style
      
      * use task id to arrange output
      
      * truncate input to avoid zero pad
      
      * Stop the copy mechanism
      
      * update style
      
      * restore copies to scale better in distributed mode
      
      * update style
      
      * replace human eval
      
      * Apply suggestions from code review
      
      1. Tokenize all input at the same time
      2. use attention_mask to get the input length
      3. other small fixes
      Co-authored-by: default avatarLeandro von Werra <lvwerra@users.noreply.github.com>
      
      * correct typo and update docstring
      
      * update code style
      
      * remove num sample division constraint
      
      * remove max len calculation
      
      * use accelerator.gather once to speed up
      
      * use accelerate set_seed; update accelerate version
      
      * correct gather bug
      Co-authored-by: default avatarLeandro von Werra <lvwerra@users.noreply.github.com>
      4868a830
    • Yih-Dar's avatar
      Fix some doc examples in task summary (#16666) · 8e93dc7e
      Yih-Dar authored
      
      
      * Fix some doc examples
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      8e93dc7e
    • SaulLu's avatar
      add a warning in `SpmConverter` for sentencepiece's model using the byte fallback feature (#16629) · 1025a9b7
      SaulLu authored
      * update proto sentencepiece model
      
      * Revert "update proto sentencepiece model"
      
      This reverts commit b07f671747fec35773d0b3d4788b8b15aefa0229.
      
      * add check
      
      * add test
      
      * Revert "Revert "update proto sentencepiece model""
      
      This reverts commit 46108257b8927b73627ec8f4f3eed53a95fc700d.
      
      * test for log level
      
      * test for log level 2
      
      * warning at the warning level
      
      * clean
      
      * format
      
      * add explanation in docstring
      1025a9b7
  2. 08 Apr, 2022 9 commits
  3. 07 Apr, 2022 8 commits
  4. 06 Apr, 2022 17 commits
  5. 05 Apr, 2022 3 commits