Spaces:
Runtime error
Runtime error
Update config.py
Browse files
config.py
CHANGED
@@ -5,6 +5,7 @@ print(snapshot_download(repo_id="FFZG-cleopatra/Croatian-News-Classifier"))
|
|
5 |
|
6 |
print(os.listdir())
|
7 |
model_name = "FFZG-cleopatra/Croatian-News-Classifier"
|
|
|
8 |
output_path = ""
|
9 |
drop_out = 0.3
|
10 |
max_length = 512
|
@@ -13,4 +14,7 @@ label2id = {'neutral': 0, 'negative': 1, 'positive': 2}
|
|
13 |
id2label = {0: 'neutral', 1: 'negative', 2: 'positive'}
|
14 |
output_dir=""
|
15 |
batch_size=16 #32
|
16 |
-
learning_rate=2e-5
|
|
|
|
|
|
|
|
5 |
|
6 |
print(os.listdir())
|
7 |
model_name = "FFZG-cleopatra/Croatian-News-Classifier"
|
8 |
+
|
9 |
output_path = ""
|
10 |
drop_out = 0.3
|
11 |
max_length = 512
|
|
|
14 |
id2label = {0: 'neutral', 1: 'negative', 2: 'positive'}
|
15 |
output_dir=""
|
16 |
batch_size=16 #32
|
17 |
+
learning_rate=2e-5
|
18 |
+
|
19 |
+
from pip import _internal
|
20 |
+
print(_internal.main(['list']))
|