-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print litellm model inputs to pdl log (#29)
* hello Signed-off-by: Mandana Vaziri <[email protected]> * hello examples Signed-off-by: Mandana Vaziri <[email protected]> * printing litellm model inputs in pdl log Signed-off-by: Mandana Vaziri <[email protected]> --------- Signed-off-by: Mandana Vaziri <[email protected]>
- Loading branch information
Showing
11 changed files
with
467 additions
and
442 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ document: | |
import string | ||
result = random.choice(string.ascii_lowercase) | ||
- '!' | ||
- "\n" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
description: Hello world showing model chaining | ||
document: | ||
- Hello, | ||
- model: ibm/granite-34b-code-instruct | ||
params: | ||
- model: watsonx/ibm/granite-34b-code-instruct | ||
parameters: | ||
decoding_method: greedy | ||
stop_sequences: | ||
stop: | ||
- '!' | ||
include_stop_sequence: false | ||
def: NAME | ||
- |- | ||
! | ||
Who is{{ NAME }}? | ||
- "\n" | ||
- model: google/flan-t5-xl | ||
params: | ||
- model: watsonx/google/flan-t5-xl | ||
#model: watsonx/ibm/granite-34b-code-instruct | ||
parameters: | ||
decoding_method: greedy | ||
stop_sequences: | ||
- '!' | ||
include_stop_sequence: false | ||
- "\n" | ||
stop: | ||
- '.' | ||
include_stop_sequence: true | ||
roles: | ||
user: | ||
pre_message: "" | ||
post_message: "" |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
description: Hello world | ||
document: | ||
- Hello, | ||
- model: ibm/granite-34b-code-instruct | ||
params: | ||
stop_sequences: | ||
- model: watsonx/ibm/granite-34b-code-instruct | ||
parameters: | ||
decoding_method: greedy | ||
stop: | ||
- '!' | ||
include_stop_sequence: true | ||
- "\n" |
Oops, something went wrong.