Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files
Modelfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM llama2-7b-gguf:latest
|
| 2 |
+
|
| 3 |
+
# Specify the GGUF model file
|
| 4 |
+
# PARAMETER gguf /Llama-2-7B-GGUF/llama-2-7b.Q4_K_M.gguf
|
| 5 |
+
PARAMETER gguf /models/llama-2-7b.Q4_K_M.gguf
|
| 6 |
+
|
| 7 |
+
# Set context length
|
| 8 |
+
PARAMETER num_ctx 4096
|
| 9 |
+
|
| 10 |
+
# System prompt (optional)
|
| 11 |
+
SYSTEM "You are a helpful AI assistant."
|