Skip to content

Ques regarding deploying api server, help #690

Answered by sunyuhan19981208
ychel asked this question in Q&A
Discussion options

You must be logged in to vote
generation_config = GenerationConfig(
    temperature=temperature,
    top_p=top_p,
    top_k=top_k,
    num_beams=num_beams,
    do_sample=True,
    **kwargs,
 )

@ychel You can add do_sample=True at openai_api_server.py's predict function, I will fix this insufficient problem ASAP.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ychel
Comment options

Comment options

You must be logged in to vote
1 reply
@ychel
Comment options

Answer selected by ychel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants