1. 09 Apr, 2023 2 commits
  2. 30 Mar, 2023 2 commits
  3. 29 Mar, 2023 1 commit
  4. 28 Mar, 2023 1 commit
  5. 16 Mar, 2023 1 commit
  6. 13 Mar, 2023 1 commit
  7. 09 Mar, 2023 3 commits
  8. 07 Mar, 2023 1 commit
  9. 06 Mar, 2023 1 commit
  10. 02 Mar, 2023 2 commits
  11. 28 Feb, 2023 1 commit
  12. 27 Feb, 2023 1 commit
  13. 24 Feb, 2023 1 commit
  14. 17 Feb, 2023 1 commit
  15. 16 Feb, 2023 1 commit
  16. 15 Feb, 2023 1 commit
  17. 13 Feb, 2023 1 commit
  18. 08 Feb, 2023 1 commit
  19. 03 Feb, 2023 1 commit
  20. 02 Feb, 2023 2 commits
  21. 01 Feb, 2023 1 commit
  22. 31 Jan, 2023 4 commits
  23. 30 Jan, 2023 1 commit
  24. 26 Jan, 2023 1 commit
  25. 23 Jan, 2023 2 commits
  26. 20 Jan, 2023 1 commit
  27. 17 Jan, 2023 2 commits
  28. 03 Jan, 2023 1 commit
  29. 30 Dec, 2022 1 commit
    • Nick Hill's avatar
      fix(router): Include special tokens when tokenizing (#14) · 3efa5bbb
      Nick Hill authored
      There's currently a discrepancy in the tokenization between the router
      and python server code. The latter includes special tokens but former
      does not.
      
      This results in a token count mismatch for seq2seq models such as mt0
      where the tokenizer emits an EOS token at the end.
      
      This in turn results in some unexpected/incorrect output, in particular
      when batch concatenation is involved, because the python code uses the
      input length passed from the router for each row.
      
      As far as I can tell, it is better to include this token in the encoder
      `input_ids`, so I guess it's best to just adjust on the router side.
      3efa5bbb