-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: enable passing
max_length
for text2text-generation task (#5420)
* bug fix * add unit test * reformatting * add release note * add release note * Update releasenotes/notes/enable-set-max-length-during-runtime-097d65e537bf800b.yaml Co-authored-by: bogdankostic <[email protected]> * Update test/prompt/invocation_layer/test_hugging_face.py Co-authored-by: bogdankostic <[email protected]> * Update test/prompt/invocation_layer/test_hugging_face.py Co-authored-by: bogdankostic <[email protected]> * Update test/prompt/invocation_layer/test_hugging_face.py Co-authored-by: bogdankostic <[email protected]> * Update test/prompt/invocation_layer/test_hugging_face.py Co-authored-by: bogdankostic <[email protected]> * bug fix --------- Co-authored-by: bogdankostic <[email protected]>
- Loading branch information
1 parent
40a2e9b
commit 73fa796
Showing
3 changed files
with
22 additions
and
1 deletion.
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
4 changes: 4 additions & 0 deletions
4
releasenotes/notes/enable-set-max-length-during-runtime-097d65e537bf800b.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
enhancements: | ||
- | | ||
Enable setting the `max_length` value when running PromptNodes using local HF text2text-generation models. |
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