1. 03 Jan, 2023 2 commits
  2. 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
  3. 16 Dec, 2022 2 commits
  4. 15 Dec, 2022 1 commit
  5. 12 Dec, 2022 1 commit
  6. 08 Dec, 2022 2 commits
  7. 05 Dec, 2022 1 commit
  8. 01 Dec, 2022 1 commit
  9. 14 Nov, 2022 4 commits
  10. 09 Nov, 2022 1 commit
  11. 08 Nov, 2022 1 commit
  12. 07 Nov, 2022 1 commit
  13. 04 Nov, 2022 3 commits
  14. 03 Nov, 2022 1 commit
  15. 02 Nov, 2022 1 commit
  16. 28 Oct, 2022 1 commit
  17. 27 Oct, 2022 1 commit
  18. 22 Oct, 2022 3 commits
  19. 21 Oct, 2022 2 commits
  20. 20 Oct, 2022 1 commit
  21. 17 Oct, 2022 3 commits
  22. 15 Oct, 2022 1 commit
  23. 14 Oct, 2022 1 commit
  24. 11 Oct, 2022 3 commits