Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def clear_session():
|
|
8 |
|
9 |
model = AutoModelForCausalLM.from_pretrained("Cran-May/OpenSLIDE", model_file="SLIDE.0.1.gguf", model_type="mistral", gpu_layers=0)
|
10 |
|
11 |
-
model_dir = hf_hub_download(repo_id="
|
12 |
tokenizer = AutoTokenizer.from_pretrained(model_dir, trust_remote_code=True)
|
13 |
|
14 |
DEFAULT_SYSTEM_PROMPT = """You are a helpful, respectful and honest INTP-T AI Assistant named "Shi-Ci" in English or "兮辞" in Chinese.
|
|
|
8 |
|
9 |
model = AutoModelForCausalLM.from_pretrained("Cran-May/OpenSLIDE", model_file="SLIDE.0.1.gguf", model_type="mistral", gpu_layers=0)
|
10 |
|
11 |
+
model_dir = hf_hub_download(repo_id="OpenBuddy/openbuddy-mistral-7b-v13.1",local_dir="./", filename="tokenizer.model")
|
12 |
tokenizer = AutoTokenizer.from_pretrained(model_dir, trust_remote_code=True)
|
13 |
|
14 |
DEFAULT_SYSTEM_PROMPT = """You are a helpful, respectful and honest INTP-T AI Assistant named "Shi-Ci" in English or "兮辞" in Chinese.
|