Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ login(token=hf_token)
|
|
| 11 |
|
| 12 |
config = AutoConfig.from_pretrained( "mistralai/Mistral-7B-Instruct-v0.1")
|
| 13 |
config.config.max_new_tokens = 2000
|
| 14 |
-
config.config.context_length = 4000
|
| 15 |
|
| 16 |
model = AutoModelForCausalLM.from_pretrained(
|
| 17 |
"mistralai/Mistral-7B-Instruct-v0.1",
|
|
|
|
| 11 |
|
| 12 |
config = AutoConfig.from_pretrained( "mistralai/Mistral-7B-Instruct-v0.1")
|
| 13 |
config.config.max_new_tokens = 2000
|
| 14 |
+
config.config.context_length = 4000
|
| 15 |
|
| 16 |
model = AutoModelForCausalLM.from_pretrained(
|
| 17 |
"mistralai/Mistral-7B-Instruct-v0.1",
|