Spaces:
Running
Running
Sean-Case
commited on
Commit
·
3b4333f
1
Parent(s):
539aba9
Added note to say that LLM representation is not currently working on the HF website
Browse files
funcs/representation_model.py
CHANGED
|
@@ -127,7 +127,7 @@ def find_model_file(hf_model_name, hf_model_file, search_folder):
|
|
| 127 |
|
| 128 |
print("Downloading model to: ", hf_home_value)
|
| 129 |
|
| 130 |
-
hf_hub_download(repo_id=hf_model_name, filename=hf_model_file, local_dir=hf_home_value)
|
| 131 |
|
| 132 |
found_file = find_file(hf_home_value, file_to_find)
|
| 133 |
return found_file
|
|
|
|
| 127 |
|
| 128 |
print("Downloading model to: ", hf_home_value)
|
| 129 |
|
| 130 |
+
hf_hub_download(repo_id=hf_model_name, filename=hf_model_file, local_dir=hf_home_value) # cache_dir
|
| 131 |
|
| 132 |
found_file = find_file(hf_home_value, file_to_find)
|
| 133 |
return found_file
|