vkrishnan569 commited on
Commit
0b6c0ae
·
verified ·
1 Parent(s): f4879d9

Delete model.py

Browse files
Files changed (1) hide show
  1. model.py +0 -19
model.py DELETED
@@ -1,19 +0,0 @@
1
- from huggingface_hub import hf_hub_download
2
-
3
- # Define the repository ID (username/repository_name)
4
- repo_id = 'TheBloke/Llama-2-7B-Chat-GGUF'
5
-
6
- # Define the filename you want to download
7
- filename = 'llama-2-7b-chat.Q2_K.gguf'
8
-
9
- # Define the cache directory (optional)
10
- # If not provided, the default cache directory will be used
11
- cache_dir = './path_to_cache_directory'
12
-
13
- def model_download():
14
- # Download the file
15
- file_path = hf_hub_download(
16
- repo_id=repo_id,
17
- filename=filename,
18
- cache_dir=cache_dir) # The file_path variable now contains the local path to the downloaded file
19
- print(f"File downloaded to: {file_path}")