Commit ·
3920039
1
Parent(s): 64f5b88
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ def pdf_to_text(file):
|
|
| 96 |
return html
|
| 97 |
|
| 98 |
model_id = "Meta-Llama-3-8B-Instruct.Q5_K_M.gguf"
|
| 99 |
-
model = Llama(model_path=model_id, n_ctx=2048, n_threads=8, n_gpu_layers=
|
| 100 |
|
| 101 |
css = ".gradio-container {background: 'logo.png'}"
|
| 102 |
|
|
|
|
| 96 |
return html
|
| 97 |
|
| 98 |
model_id = "Meta-Llama-3-8B-Instruct.Q5_K_M.gguf"
|
| 99 |
+
model = Llama(model_path=model_id, n_ctx=2048, n_threads=8, n_gpu_layers=20, n_batch=128)
|
| 100 |
|
| 101 |
css = ".gradio-container {background: 'logo.png'}"
|
| 102 |
|