Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip tokenisation and detokenisation #7

Open
HennerM opened this issue Jun 22, 2023 · 0 comments
Open

Skip tokenisation and detokenisation #7

HennerM opened this issue Jun 22, 2023 · 0 comments

Comments

@HennerM
Copy link
Collaborator

HennerM commented Jun 22, 2023

CTranslate does not provide an API that takes numerical token Ids, thus we convert the IDs we get from Triton to subwords for the encoder input and convert the decoder outputs back to IDs. This is unnecessary since it means that it has to be done on both the client and server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant