alekeik1 commited on
Commit
4c71213
1 Parent(s): a2d2c23

feat(model): train on 15 epochs

Browse files
Files changed (3) hide show
  1. dvc.lock +5 -4
  2. dvc.yaml +1 -0
  3. shad_mlops_transformers/config.py +1 -1
dvc.lock CHANGED
@@ -15,15 +15,16 @@ stages:
15
  params:
16
  shad_mlops_transformers/config.py:
17
  Config.batch_size: 64
 
18
  Config.random_seed: 42
19
  Config.test_size: 0.2
20
  outs:
21
  - path: data/models/model.torch
22
- md5: 3a56baed312933280d01e30f86bd8b57
23
- size: 440542446
24
  - path: data/plots/train.png
25
- md5: 87c500a795ca97c14b84a6c0367d7b78
26
- size: 44168
27
  - path: data/raw/mapper.json
28
  md5: e4c22adf587676d22ed58c812f41f409
29
  size: 855
 
15
  params:
16
  shad_mlops_transformers/config.py:
17
  Config.batch_size: 64
18
+ Config.epochs: 15
19
  Config.random_seed: 42
20
  Config.test_size: 0.2
21
  outs:
22
  - path: data/models/model.torch
23
+ md5: cad526c49e9a9ef312e820ba4cc93442
24
+ size: 438842393
25
  - path: data/plots/train.png
26
+ md5: a23fefe43ee875860f875123bd402522
27
+ size: 40498
28
  - path: data/raw/mapper.json
29
  md5: e4c22adf587676d22ed58c812f41f409
30
  size: 855
dvc.yaml CHANGED
@@ -10,6 +10,7 @@ stages:
10
  - Config.batch_size
11
  - Config.random_seed
12
  - Config.test_size
 
13
  outs:
14
  # NOTE должно совпадать с конфигом
15
  - data/models/model.torch
 
10
  - Config.batch_size
11
  - Config.random_seed
12
  - Config.test_size
13
+ - Config.epochs
14
  outs:
15
  # NOTE должно совпадать с конфигом
16
  - data/models/model.torch
shad_mlops_transformers/config.py CHANGED
@@ -11,7 +11,7 @@ class Config(BaseSettings):
11
  checkpoints_folders = data_dir / "checkpoints"
12
  plots_dir: Path = data_dir / "plots"
13
  batch_size: int = 64
14
- epochs: int = 100
15
  random_seed: int = 42
16
  test_size: float = 0.2
17
  weights_path: Path = data_dir / "models" / "model.torch"
 
11
  checkpoints_folders = data_dir / "checkpoints"
12
  plots_dir: Path = data_dir / "plots"
13
  batch_size: int = 64
14
+ epochs: int = 15
15
  random_seed: int = 42
16
  test_size: float = 0.2
17
  weights_path: Path = data_dir / "models" / "model.torch"