Skip to content

Commit

Permalink
fix autoflake error (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yimi81 authored Feb 23, 2024
1 parent add9305 commit 0b74ef0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion VL/openai_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ def generate_stream(

model_name = params.get("model", "llm")
temperature = float(params.get("temperature", 1.0))
repetition_penalty = float(params.get("repetition_penalty", 1.0))
top_p = float(params.get("top_p", 1.0))
top_k = int(params.get("top_k", 40))
max_new_tokens = int(params.get("max_tokens", 1024))
Expand Down

0 comments on commit 0b74ef0

Please sign in to comment.