Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ except ImportError:
|
|
| 15 |
# Initialize model
|
| 16 |
model_path = "tinyllama-1.1b-chat-v1.0.Q4_0.gguf" # Downloaded from TinyLlama/TinyLlama-1.1B-Chat-v1.0-GGUF
|
| 17 |
llm = Llama.from_pretrained(
|
| 18 |
-
repo_id="
|
| 19 |
filename=model_path,
|
| 20 |
n_ctx=2048, # Context length for prompts
|
| 21 |
n_threads=2 # Use 2 CPU cores
|
|
|
|
| 15 |
# Initialize model
|
| 16 |
model_path = "tinyllama-1.1b-chat-v1.0.Q4_0.gguf" # Downloaded from TinyLlama/TinyLlama-1.1B-Chat-v1.0-GGUF
|
| 17 |
llm = Llama.from_pretrained(
|
| 18 |
+
repo_id="TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF",
|
| 19 |
filename=model_path,
|
| 20 |
n_ctx=2048, # Context length for prompts
|
| 21 |
n_threads=2 # Use 2 CPU cores
|