selbl commited on
Commit
3e231ed
1 Parent(s): 0b384a2

Update StreamlitModel.py

Browse files
Files changed (1) hide show
  1. StreamlitModel.py +1 -1
StreamlitModel.py CHANGED
@@ -126,7 +126,7 @@ def TextGeneration(prompt,prof=False,parts=True):
126
 
127
  sample_outputs = generate(generated,
128
  max_new_tokens=200,
129
- context_size=400,
130
  tokenizer=tokenizer,
131
  model=gpt_model,
132
  top_k=10,
 
126
 
127
  sample_outputs = generate(generated,
128
  max_new_tokens=200,
129
+ context_size=450,
130
  tokenizer=tokenizer,
131
  model=gpt_model,
132
  top_k=10,