1. 20 Jan, 2023 1 commit
  2. 03 Jan, 2023 1 commit
  3. 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
  4. 12 Dec, 2022 1 commit
  5. 05 Dec, 2022 1 commit
  6. 14 Nov, 2022 2 commits
  7. 27 Oct, 2022 1 commit
  8. 21 Oct, 2022 2 commits
  9. 20 Oct, 2022 1 commit
  10. 17 Oct, 2022 2 commits
  11. 11 Oct, 2022 1 commit