config_bigdata.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. # workspace
  15. #workspace: "models/rank/dnn"
  16. runner:
  17. train_data_dir: "../../../datasets/criteo/slot_train_data_full"
  18. train_reader_path: "criteo_reader" # importlib format
  19. use_gpu: False
  20. use_auc: True
  21. train_batch_size: 512
  22. epochs: 4
  23. print_interval: 10
  24. model_save_path: "output_model_dnn_all"
  25. infer_reader_path: "criteo_reader" # importlib format
  26. test_data_dir: "../../../datasets/criteo/slot_test_data_full"
  27. infer_batch_size: 512
  28. infer_load_path: "output_model_dnn_all"
  29. infer_start_epoch: 0
  30. infer_end_epoch: 4
  31. num_workers: 0
  32. #thread_num: 5
  33. #reader_type: "QueueDataset" # DataLoader / QueueDataset / RecDataset
  34. #pipe_command: "python3.7 queuedataset_reader.py"
  35. #dataset_debug: False
  36. #split_file_list: False
  37. # hyper parameters of user-defined network
  38. hyper_parameters:
  39. # optimizer config
  40. optimizer:
  41. class: Adam
  42. learning_rate: 0.001
  43. strategy: async
  44. # user-defined <key, value> pairs
  45. sparse_inputs_slots: 27
  46. sparse_feature_number: 1000001
  47. sparse_feature_dim: 9
  48. dense_input_dim: 13
  49. fc_sizes: [512, 256, 128, 32]
  50. distributed_embedding: 0