1. 24 Jan, 2021 1 commit
  2. 21 Jan, 2021 1 commit
  3. 16 Jan, 2021 1 commit
  4. 12 Jan, 2021 1 commit
  5. 10 Jan, 2021 1 commit
  6. 09 Jan, 2021 2 commits
  7. 05 Jan, 2021 1 commit
  8. 28 Dec, 2020 2 commits
  9. 30 Nov, 2020 4 commits
    • Leo Gao's avatar
      Update docstring · 75db3899
      Leo Gao authored
      75db3899
    • 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
    • Leo Gao's avatar
      Make fewshot_examples fast · 6de520af
      Leo Gao authored
      6de520af
  10. 06 Oct, 2020 1 commit
  11. 05 Oct, 2020 2 commits
  12. 17 Sep, 2020 1 commit
  13. 14 Sep, 2020 1 commit
  14. 07 Sep, 2020 9 commits
  15. 06 Sep, 2020 1 commit
  16. 28 Aug, 2020 1 commit