1. 11 May, 2021 1 commit
    • Leo Gao's avatar
      Overhaul command flags a bit · 5f42f976
      Leo Gao authored
      model_args should only be things that affect output of the model
      therefore, stuff like batch size, device, etc shouldn't be in there
      5f42f976
  2. 05 May, 2021 3 commits
  3. 03 May, 2021 1 commit
  4. 15 Apr, 2021 3 commits
  5. 11 Apr, 2021 2 commits
  6. 08 Apr, 2021 1 commit
  7. 05 Apr, 2021 1 commit
  8. 02 Apr, 2021 1 commit
  9. 31 Mar, 2021 1 commit
  10. 27 Mar, 2021 2 commits
  11. 26 Mar, 2021 3 commits
  12. 06 Mar, 2021 1 commit
  13. 19 Feb, 2021 1 commit
  14. 14 Feb, 2021 1 commit
  15. 11 Feb, 2021 3 commits
  16. 10 Feb, 2021 1 commit
  17. 08 Feb, 2021 1 commit
  18. 05 Feb, 2021 1 commit
  19. 01 Feb, 2021 1 commit
  20. 28 Jan, 2021 1 commit
  21. 22 Jan, 2021 2 commits
  22. 09 Jan, 2021 1 commit
  23. 03 Jan, 2021 1 commit
  24. 28 Dec, 2020 2 commits
  25. 30 Nov, 2020 2 commits
    • Leo Gao's avatar
      Remove num_tokens · e3031e84
      Leo Gao authored
      e3031e84
    • Leo Gao's avatar
      Refactor to remove generate and fix some bad tokenization · 90e50b4c
      Leo Gao authored
      In particular, the following assumptions are FALSE in general:
      tokenize(context + continuation) = tokenize(context) + tokenize(continuation)
      len(tokenize(context + continuation)) = len(tokenize(context)) + len(tokenize(continuation))
      tokenize(context + continuation)[:len(tokenize(context))] = tokenize(context)
      
      So we need to tip-toe around the problem by being careful with how we do it.
      
      In particular, using Fast is not just for performance; while behavour of GPT2Tokenizer differs across Transformers 2 and 3, GPT2TokenizerFast doesn't.
      90e50b4c
  26. 31 Oct, 2020 1 commit
  27. 04 Oct, 2020 1 commit