djl-serving icon indicating copy to clipboard operation
djl-serving copied to clipboard

Are there any plans to expose the skip_special_tokens parameter in the future, driven by serving configuration?

Open extraleo opened this issue 1 year ago • 1 comments

image https://github.com/deepjavalibrary/djl-serving/blob/d3ecca3ed0cccead885f6b68c2c5b977198a2446/engines/python/setup/djl_python/deepspeed.py#L367C32-L367C51

For developers working on relevant applications, the truncation of certain endoftext tokens is helpful for the extraction of answers.

extraleo avatar Jul 05 '23 13:07 extraleo

@extraleo

If you are interested this feature, would you mind create a PR to add skip_special_tokens support?

frankfliu avatar Jul 06 '23 04:07 frankfliu

deepspeed handler is deprecated. Closing this issue.

frankfliu avatar Jun 28 '24 17:06 frankfliu