danrdoran commited on
Commit
b79e86b
·
verified ·
1 Parent(s): c09641c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ if student_question:
42
  # Call the pipeline with adjusted parameters
43
  response = model_pipeline(
44
  prompt,
45
- max_length=150, # Adjust this based on desired response length
46
  temperature=temperature, # Control randomness
47
  top_p=top_p, # Nucleus sampling
48
  top_k=top_k, # Top-k sampling
 
42
  # Call the pipeline with adjusted parameters
43
  response = model_pipeline(
44
  prompt,
45
+ max_length=75, # Adjust this based on desired response length
46
  temperature=temperature, # Control randomness
47
  top_p=top_p, # Nucleus sampling
48
  top_k=top_k, # Top-k sampling