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

Print out what the model saw? #1560

Closed
cinjon opened this issue Oct 3, 2024 · 2 comments
Closed

Print out what the model saw? #1560

cinjon opened this issue Oct 3, 2024 · 2 comments

Comments

@cinjon
Copy link

cinjon commented Oct 3, 2024

I have a finetuned model that I'm trying to run with SGLang. I want to verify that the prompt format, etc, is correct. Is there a flag to output the prompt each time?

@merrymercy
Copy link
Contributor

merrymercy commented Oct 6, 2024

parser.add_argument(
"--log-requests",
action="store_true",
help="Log the inputs and outputs of all requests.",
)

@CedricHwong
Copy link

#1608 (comment)

@merrymercy Please help me look at this related question, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants