Spaces:
Sleeping
Sleeping
feat(model): add stats
Browse files- dvc.lock +8 -8
- shad_mlops_transformers/trainer.py +1 -1
dvc.lock
CHANGED
@@ -10,8 +10,8 @@ stages:
|
|
10 |
md5: 465d64e91ac7d713e57442c932a665ea
|
11 |
size: 2889
|
12 |
- path: shad_mlops_transformers/trainer.py
|
13 |
-
md5:
|
14 |
-
size:
|
15 |
params:
|
16 |
shad_mlops_transformers/config.py:
|
17 |
Config.batch_size: 64
|
@@ -20,11 +20,11 @@ stages:
|
|
20 |
Config.test_size: 0.2
|
21 |
outs:
|
22 |
- path: data/models/model.torch
|
23 |
-
md5:
|
24 |
-
size:
|
25 |
- path: data/plots/train.png
|
26 |
-
md5:
|
27 |
-
size:
|
28 |
- path: data/raw/mapper.json
|
29 |
-
md5:
|
30 |
-
size:
|
|
|
10 |
md5: 465d64e91ac7d713e57442c932a665ea
|
11 |
size: 2889
|
12 |
- path: shad_mlops_transformers/trainer.py
|
13 |
+
md5: 6f76b90e32a94bea31bc9365494aceb9
|
14 |
+
size: 7503
|
15 |
params:
|
16 |
shad_mlops_transformers/config.py:
|
17 |
Config.batch_size: 64
|
|
|
20 |
Config.test_size: 0.2
|
21 |
outs:
|
22 |
- path: data/models/model.torch
|
23 |
+
md5: 555452b7e7eedffff70cae47c8a1e2f5
|
24 |
+
size: 438914457
|
25 |
- path: data/plots/train.png
|
26 |
+
md5: 6ea1333efcffb58aa7f3b9161a3cb488
|
27 |
+
size: 35617
|
28 |
- path: data/raw/mapper.json
|
29 |
+
md5: 47758bce6ee09369e716fd8658ce3e01
|
30 |
+
size: 930
|
shad_mlops_transformers/trainer.py
CHANGED
@@ -20,7 +20,7 @@ class ArxivDataset(Dataset):
|
|
20 |
self.x = []
|
21 |
self.y = []
|
22 |
# self.data = []
|
23 |
-
whitelist_labels = ["math", "cs"]
|
24 |
i = 0
|
25 |
if class_mapper is None:
|
26 |
self.class_mapper = {}
|
|
|
20 |
self.x = []
|
21 |
self.y = []
|
22 |
# self.data = []
|
23 |
+
whitelist_labels = ["math", "cs", "stat"]
|
24 |
i = 0
|
25 |
if class_mapper is None:
|
26 |
self.class_mapper = {}
|