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

Addition of Tokenization API #357

Closed
GirinMan opened this issue Mar 26, 2024 · 0 comments · Fixed by #358
Closed

Addition of Tokenization API #357

GirinMan opened this issue Mar 26, 2024 · 0 comments · Fixed by #358
Labels
enhancement New feature or request

Comments

@GirinMan
Copy link
Contributor

Feature request

  • I propose the addition of a /tokenize route to the API, allowing users to obtain tokenization results directly through the API.
  • This feature is inspired by the functionality seen in HF TGI, which introduced a similar feature.
  • Implementing this in LoRAX would greatly enhance its utility and align it with current advancements in NLP APIs.

Motivation

  • The motivation behind this feature request is to streamline the process for users to get tokenization results without the need for external tools.
  • Tokenization is a fundamental step in many NLP tasks, and integrating this functionality directly into our API would significantly improve user experience.
  • This feature request is not directly related to a problem but is an enhancement to expand the API's capabilities.

Your contribution

  • I am prepared to contribute to this feature by submitting a PR that introduces the /tokenize route to the API, along with necessary documentation and tests to ensure its functionality and reliability.
@tgaddair tgaddair added the enhancement New feature or request label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants