Update config.py
Browse files
config.py
CHANGED
@@ -8,9 +8,13 @@ VALID_BATCH_SIZE = 4
|
|
8 |
EPOCHS = 5
|
9 |
|
10 |
# Folder to contain all the datasets
|
11 |
-
from huggingface_hub import hf_hub_download
|
12 |
-
print("hi")
|
13 |
-
hf_hub_download(repo_id="thak123/bert-emoji-latvian-twitter-classifier", filename="model.bin",local_dir="./")
|
|
|
|
|
|
|
|
|
14 |
|
15 |
# import requests
|
16 |
# URL = "https://huggingface.co/thak123/bert-emoji-latvian-twitter-classifier/resolve/main/model.bin"
|
|
|
8 |
EPOCHS = 5
|
9 |
|
10 |
# Folder to contain all the datasets
|
11 |
+
# from huggingface_hub import hf_hub_download
|
12 |
+
# print("hi")
|
13 |
+
# hf_hub_download(repo_id="thak123/bert-emoji-latvian-twitter-classifier", filename="model.bin",local_dir="./")
|
14 |
+
|
15 |
+
from huggingface_hub import snapshot_download
|
16 |
+
snapshot_download(repo_id="thak123/bert-emoji-latvian-twitter-classifier", allow_patterns="*.bin")
|
17 |
+
|
18 |
|
19 |
# import requests
|
20 |
# URL = "https://huggingface.co/thak123/bert-emoji-latvian-twitter-classifier/resolve/main/model.bin"
|