config.yaml 717 字节
Newer Older
T
tangwei 已提交
1 2 3 4 5 6 7 8 9
train:
  trainer:
    # for cluster training
    strategy: "async"

  epochs: 10
  workspace: "paddlerec.models.rank.dnn"

  reader:
T
tangwei 已提交
10
    batch_size: 512
T
tangwei 已提交
11 12 13 14 15 16 17 18 19
    class: "{workspace}/../criteo_reader.py"
    train_data_path: "train_data"
    reader_debug_mode: False

  model:
    models: "{workspace}/model.py"
    hyper_parameters:
      sparse_inputs_slots: 27
      sparse_feature_number: 1000001
T
tangwei 已提交
20
      sparse_feature_dim: 10
T
tangwei 已提交
21
      dense_input_dim: 13
T
tangwei 已提交
22 23
      fc_sizes: [400, 400, 400]
      learning_rate: 0.0001
T
tangwei 已提交
24 25 26 27 28 29 30 31 32 33 34
      optimizer: adam

  save:
    increment:
      dirname: "increment"
      epoch_interval: 2
      save_last: True
    inference:
      dirname: "inference"
      epoch_interval: 4
      save_last: True