1. 08 Dec, 2022 3 commits
  2. 29 Nov, 2022 1 commit
    • Pi Esposito's avatar
      add in layer gpt2 tokenizer (#20421) · fb2b45e5
      Pi Esposito authored
      * add minimal working gpt2 tokenizer
      
      * graph mode and output equivalence tests working
      
      * not today tensorflow. serialization test passing!
      
      * fix style, documentation, docstrings and all that jazz
      
      * passing consistency checks
      
      * move keras nlp to tf dependencies
      
      * fix tf modeling utils and gpt2 attention to enable compiling
      
      * fix (I hope) keras nlp dependencies
      
      * rever changes on generation
      
      * remove debug prints
      
      * remove redundant tf dummy objects
      
      * add from config, get config and max length settings to address review
      
      * let flake ignore the error on distillation you are welcome
      
      * test from config
      
      * add padding test
      
      * address sgugger review
      fb2b45e5
  3. 22 Nov, 2022 1 commit
  4. 09 Nov, 2022 1 commit
  5. 07 Nov, 2022 1 commit
  6. 31 Oct, 2022 1 commit
  7. 18 Oct, 2022 1 commit
    • David Yang's avatar
      Clean up deprecation warnings (#19654) · a23819ed
      David Yang authored
      * Clean up deprecation warnings
      
      Notes:
      Changed some strings in tests to raw strings, which will change the literal content of the strings as they are fed into whatever machine handles them.
      Test cases for past in the past/past_key_values switch changed/removed due to warning of impending removal
      
      * Add PILImageResampling abstraction for PIL.Image.Resampling
      a23819ed
  8. 17 Oct, 2022 1 commit
  9. 06 Oct, 2022 1 commit
  10. 03 Oct, 2022 3 commits
  11. 27 Sep, 2022 1 commit
  12. 26 Sep, 2022 1 commit
  13. 22 Sep, 2022 1 commit
  14. 20 Sep, 2022 1 commit
  15. 16 Sep, 2022 1 commit
  16. 13 Sep, 2022 1 commit
  17. 09 Sep, 2022 1 commit
  18. 24 Aug, 2022 2 commits
  19. 18 Aug, 2022 1 commit
    • Loubna Ben Allal's avatar
      Add an examples folder for code downstream tasks (#18679) · bbbb453e
      Loubna Ben Allal authored
      * add examples subfolder
      
      * mention examples in codeparrot readme
      
      * use Trainer optimizer and scheduler type and add output_dir as argument
      
      * add example of text-to-python and python-to-text models
      
      * mention the downstream examples in the readme
      
      * fix typo
      bbbb453e
  20. 11 Aug, 2022 2 commits
  21. 06 Aug, 2022 1 commit
  22. 03 Aug, 2022 1 commit
    • LSinev's avatar
      Fix torch version comparisons (#18460) · 02b176c4
      LSinev authored
      Comparisons like
      version.parse(torch.__version__) > version.parse("1.6")
      are True for torch==1.6.0+cu101 or torch==1.6.0+cpu
      
      version.parse(version.parse(torch.__version__).base_version) are preferred (and available in pytorch_utils.py
      02b176c4
  23. 01 Aug, 2022 2 commits
  24. 29 Jul, 2022 1 commit
  25. 28 Jul, 2022 1 commit
  26. 27 Jul, 2022 2 commits
  27. 11 Jul, 2022 2 commits
  28. 29 Jun, 2022 1 commit
  29. 22 Jun, 2022 2 commits
  30. 21 Jun, 2022 1 commit