imenayadi commited on
Commit
087801a
·
1 Parent(s): 4ea10e1

Force download llama model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ model_name_or_path = "TheBloke/Llama-2-13B-chat-GGML"
73
  model_basename = "llama-2-13b-chat.ggmlv3.q5_1.bin" # The model is in bin format
74
 
75
  # Download the model file
76
- model_path_llama = hf_hub_download(repo_id=model_name_or_path, filename=model_basename)
77
 
78
  # Initialize the Llama model with appropriate settings for GPU
79
  lcpp_llm = Llama(
 
73
  model_basename = "llama-2-13b-chat.ggmlv3.q5_1.bin" # The model is in bin format
74
 
75
  # Download the model file
76
+ model_path_llama = hf_hub_download(repo_id=model_name_or_path, filename=model_basename, force_download=True)
77
 
78
  # Initialize the Llama model with appropriate settings for GPU
79
  lcpp_llm = Llama(