forked from opendatahub-io/text-generation-inference
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow configuration of the max soft prompt length (opendatahub-…
…io#33) Instead of defaulting to a hard-coded 256, the default soft prompt length is now 50% of the max sequence length. The env var MAX_PROMPT_PREFIX_LENGTH can be used to override this default if desired Signed-off-by: Travis Johnson <[email protected]> Co-authored-by: TRAVIS JOHNSON <[email protected]>
- Loading branch information
1 parent
ac1f655
commit 1f4cfbe
Showing
4 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters