benchmark.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. hyper_parameters:
  15. optimizer:
  16. class: Adam
  17. learning_rate: 0.0001
  18. adam_lazy_mode: True
  19. sparse_inputs_slots: 27
  20. sparse_feature_number: 1000001
  21. sparse_feature_dim: 10
  22. dense_input_dim: 13
  23. fc_sizes: [400, 400, 400]
  24. runner:
  25. epochs: 15
  26. print_interval: 100
  27. geo_step: 400
  28. sync_mode: "async" # sync / async /geo / heter
  29. thread_num: 16
  30. use_gpu: 0
  31. model_path: "static_model.py"
  32. reader_type: "QueueDataset" # DataLoader / QueueDataset / RecDataset
  33. pipe_command: "python benchmark_reader.py"
  34. dataset_debug: False
  35. split_file_list: False
  36. train_batch_size: 1000
  37. train_data_dir: "train_data"
  38. train_reader_path: "benchmark_reader"
  39. model_save_path: "model"
  40. infer_batch_size: 1000
  41. test_data_dir: "test_data"
  42. infer_reader_path: "benchmark_reader"
  43. infer_load_path: "model"
  44. infer_start_epoch: 0
  45. infer_end_epoch: 1