config_bigdata.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. runner:
  15. train_data_dir: "../../../datasets/BQ_dssm/big_train"
  16. train_reader_path: "bq_reader_train" # importlib format
  17. train_batch_size: 128
  18. model_save_path: "output_model_all_dssm"
  19. use_gpu: False
  20. epochs: 1
  21. print_interval: 1
  22. test_data_dir: "../../../datasets/BQ_dssm/big_test"
  23. infer_reader_path: "bq_reader_infer" # importlib format
  24. infer_batch_size: 1
  25. infer_load_path: "output_model_all_dssm"
  26. infer_start_epoch: 0
  27. infer_end_epoch: 1
  28. hyper_parameters:
  29. optimizer:
  30. class: adam
  31. learning_rate: 0.001
  32. strategy: sync
  33. trigram_d: 5913
  34. neg_num: 1
  35. slice_end: 128
  36. fc_sizes: [300, 300, 128]
  37. fc_acts: ['relu', 'relu', 'relu']