thak123 commited on
Commit
8cd8309
1 Parent(s): ece7905

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +6 -0
config.py CHANGED
@@ -8,6 +8,12 @@ VALID_BATCH_SIZE = 4
8
  EPOCHS = 5
9
 
10
  # Folder to contain all the datasets
 
 
 
 
 
 
11
  DATASET_LOCATION = "" #
12
  MODEL_PATH = "model.bin"
13
 
 
8
  EPOCHS = 5
9
 
10
  # Folder to contain all the datasets
11
+
12
+ import requests
13
+ URL = "https://huggingface.co/thak123/bert-emoji-latvian-twitter-classifier/resolve/main/model.bin"
14
+ response = requests.get(URL)
15
+ open("model.bin", "wb").write(response.content)
16
+
17
  DATASET_LOCATION = "" #
18
  MODEL_PATH = "model.bin"
19