Spaces:
Sleeping
Sleeping
Update StreamlitModel.py
Browse files- 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=
|
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,
|