Commit ·
367d345
1
Parent(s): 3f4c5af
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,6 +132,7 @@ def pdf_to_text(file):
|
|
| 132 |
|
| 133 |
model_id = "Meta-Llama-3-8B-Instruct.Q5_K_M.gguf"
|
| 134 |
model = Llama(model_path=model_id, n_ctx=2048, n_threads=8, n_gpu_layers=32, n_batch=64)
|
|
|
|
| 135 |
|
| 136 |
# print('list of available devices is ',GPT4All.list_gpus())
|
| 137 |
# model = GPT4All("Meta-Llama-3-8B-Instruct.Q4_0.gguf", n_threads=8, device='auto')
|
|
|
|
| 132 |
|
| 133 |
model_id = "Meta-Llama-3-8B-Instruct.Q5_K_M.gguf"
|
| 134 |
model = Llama(model_path=model_id, n_ctx=2048, n_threads=8, n_gpu_layers=32, n_batch=64)
|
| 135 |
+
print('Model loaded')
|
| 136 |
|
| 137 |
# print('list of available devices is ',GPT4All.list_gpus())
|
| 138 |
# model = GPT4All("Meta-Llama-3-8B-Instruct.Q4_0.gguf", n_threads=8, device='auto')
|