1. 30 Dec, 2022 2 commits
    • 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
    • Nick Hill's avatar
      fix(server): Check for device type correctly when determining initial padding (#16) · 686cc667
      Nick Hill authored
      AFAIK there is no torch device type called "gpu".
      686cc667
  2. 16 Dec, 2022 2 commits
  3. 15 Dec, 2022 1 commit
  4. 12 Dec, 2022 1 commit
  5. 08 Dec, 2022 2 commits
  6. 05 Dec, 2022 1 commit
  7. 01 Dec, 2022 1 commit
  8. 14 Nov, 2022 4 commits
  9. 09 Nov, 2022 1 commit
  10. 08 Nov, 2022 1 commit
  11. 07 Nov, 2022 1 commit
  12. 04 Nov, 2022 3 commits
  13. 03 Nov, 2022 1 commit
  14. 02 Nov, 2022 1 commit
  15. 28 Oct, 2022 1 commit
  16. 27 Oct, 2022 1 commit
  17. 22 Oct, 2022 3 commits
  18. 21 Oct, 2022 2 commits
  19. 20 Oct, 2022 1 commit
  20. 17 Oct, 2022 3 commits
  21. 15 Oct, 2022 1 commit
  22. 14 Oct, 2022 1 commit
  23. 11 Oct, 2022 4 commits
  24. 08 Oct, 2022 1 commit