Petro commited on
Commit
af54df8
1 Parent(s): bc985a0
Files changed (1) hide show
  1. main.py +0 -3
main.py CHANGED
@@ -7,9 +7,6 @@ import requests
7
  from huggingface_hub import hf_hub_download
8
 
9
  file_name = "zephyr-7b-beta.Q4_K_S.gguf"
10
- if not os.path.exists(file_name):
11
- hf_hub_download("TheBloke/zephyr-7B-beta-GGUF", filename=file_name, local_dir=f"./")
12
-
13
  llm = AutoModelForCausalLM.from_pretrained(file_name,
14
  model_type='mistral',
15
  max_new_tokens = 1096,
 
7
  from huggingface_hub import hf_hub_download
8
 
9
  file_name = "zephyr-7b-beta.Q4_K_S.gguf"
 
 
 
10
  llm = AutoModelForCausalLM.from_pretrained(file_name,
11
  model_type='mistral',
12
  max_new_tokens = 1096,