Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -9,10 +9,11 @@ max_new_tokens = 1096,
|
|
| 9 |
threads = 3,
|
| 10 |
)
|
| 11 |
|
| 12 |
-
llm = AutoModelForCausalLM.from_pretrained("
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
|
|
|
|
| 9 |
threads = 3,
|
| 10 |
)
|
| 11 |
|
| 12 |
+
llm = AutoModelForCausalLM.from_pretrained("codellama-7b-instruct.q4_K_M.gguf",
|
| 13 |
+
model_type="llama",
|
| 14 |
+
max_new_tokens = 1096,
|
| 15 |
+
threads = 3,
|
| 16 |
+
)
|
| 17 |
|
| 18 |
|
| 19 |
|