Chris STC
commited on
Commit
·
59a6fc5
1
Parent(s):
89cf661
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ os.system('CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-
|
|
4 |
import wget
|
5 |
from llama_cpp import Llama
|
6 |
import random
|
7 |
-
url = 'https://huggingface.co/TheBloke/
|
8 |
filename = wget.download(url)
|
9 |
llm2 = Llama(model_path=filename, seed=random.randint(1, 2**31))
|
10 |
filename = wget.download(url)
|
|
|
4 |
import wget
|
5 |
from llama_cpp import Llama
|
6 |
import random
|
7 |
+
url = 'https://huggingface.co/TheBloke/llama2_7b_chat_uncensored-GGML/resolve/main/llama2_7b_chat_uncensored.ggmlv3.q2_K.bin'
|
8 |
filename = wget.download(url)
|
9 |
llm2 = Llama(model_path=filename, seed=random.randint(1, 2**31))
|
10 |
filename = wget.download(url)
|