From b07889ab78aead47bbf634d4a485bca2a9efa9e2 Mon Sep 17 00:00:00 2001 From: yangxudong Date: Wed, 25 Dec 2024 19:56:45 +0800 Subject: [PATCH] fix bug of wrong demo model configs (#508) * fix bug of autoint model demo config --- examples/configs/autoint_on_movielens.config | 4 ++-- examples/configs/dcn_backbone_on_movielens.config | 5 +---- examples/configs/dcn_on_movielens.config | 3 --- examples/configs/deepfm_backbone_on_movielens.config | 3 --- examples/configs/deepfm_on_movielens.config | 3 --- examples/configs/dssm_on_books.config | 3 --- examples/configs/dssm_on_books_negative_sample.config | 3 --- examples/configs/dssm_senet_on_taobao.config | 3 --- examples/configs/fibinet_on_movielens.config | 3 --- examples/configs/masknet_on_movielens.config | 3 --- examples/configs/mind_on_books.config | 3 --- examples/configs/mind_on_books_negative_sample.config | 3 --- 12 files changed, 3 insertions(+), 36 deletions(-) diff --git a/examples/configs/autoint_on_movielens.config b/examples/configs/autoint_on_movielens.config index 35f0009ae..cbf43729f 100644 --- a/examples/configs/autoint_on_movielens.config +++ b/examples/configs/autoint_on_movielens.config @@ -3,7 +3,7 @@ eval_input_path: "examples/data/movielens_1m/movies_test_data" model_dir: "examples/ckpt/autoint_on_movieslen_ckpt" train_config { - log_step_count_steps: 1000 + log_step_count_steps: 100 optimizer_config: { adam_optimizer: { learning_rate: { @@ -17,7 +17,7 @@ train_config { } use_moving_average: false } - save_checkpoints_steps: 100 + save_checkpoints_steps: 1000 sync_replicas: True num_steps: 2500 } diff --git a/examples/configs/dcn_backbone_on_movielens.config b/examples/configs/dcn_backbone_on_movielens.config index dbffb76b7..7be038dbf 100644 --- a/examples/configs/dcn_backbone_on_movielens.config +++ b/examples/configs/dcn_backbone_on_movielens.config @@ -1,6 +1,6 @@ train_input_path: "examples/data/movielens_1m/movies_train_data" eval_input_path: "examples/data/movielens_1m/movies_test_data" -model_dir: "examples/ckpt/dcn_on_movieslen" +model_dir: "examples/ckpt/dcn_backbone_on_movieslen" train_config { log_step_count_steps: 100 @@ -199,6 +199,3 @@ model_config: { } embedding_regularization: 1e-4 } -export_config { - multi_placeholder: false -} diff --git a/examples/configs/dcn_on_movielens.config b/examples/configs/dcn_on_movielens.config index 4556fef88..09110c81d 100644 --- a/examples/configs/dcn_on_movielens.config +++ b/examples/configs/dcn_on_movielens.config @@ -180,6 +180,3 @@ model_config: { } embedding_regularization: 1e-4 } -export_config { - multi_placeholder: false -} diff --git a/examples/configs/deepfm_backbone_on_movielens.config b/examples/configs/deepfm_backbone_on_movielens.config index 56f210b10..5e6ea9b8d 100644 --- a/examples/configs/deepfm_backbone_on_movielens.config +++ b/examples/configs/deepfm_backbone_on_movielens.config @@ -241,6 +241,3 @@ model_config: { } embedding_regularization: 1e-4 } -export_config { - multi_placeholder: false -} diff --git a/examples/configs/deepfm_on_movielens.config b/examples/configs/deepfm_on_movielens.config index f87b7c894..a49a1988c 100644 --- a/examples/configs/deepfm_on_movielens.config +++ b/examples/configs/deepfm_on_movielens.config @@ -182,6 +182,3 @@ model_config: { } embedding_regularization: 1e-4 } -export_config { - multi_placeholder: false -} diff --git a/examples/configs/dssm_on_books.config b/examples/configs/dssm_on_books.config index 326e7432f..eebcdb295 100644 --- a/examples/configs/dssm_on_books.config +++ b/examples/configs/dssm_on_books.config @@ -112,6 +112,3 @@ model_config:{ } embedding_regularization: 5e-5 } - -export_config { -} diff --git a/examples/configs/dssm_on_books_negative_sample.config b/examples/configs/dssm_on_books_negative_sample.config index 069ebb4a5..8e3fe87f1 100644 --- a/examples/configs/dssm_on_books_negative_sample.config +++ b/examples/configs/dssm_on_books_negative_sample.config @@ -127,6 +127,3 @@ model_config:{ loss_type: SOFTMAX_CROSS_ENTROPY embedding_regularization: 5e-6 } - -export_config { -} diff --git a/examples/configs/dssm_senet_on_taobao.config b/examples/configs/dssm_senet_on_taobao.config index f8f415d1a..7b8e0da1c 100644 --- a/examples/configs/dssm_senet_on_taobao.config +++ b/examples/configs/dssm_senet_on_taobao.config @@ -281,6 +281,3 @@ model_config:{ } embedding_regularization: 5e-5 } - -export_config { -} diff --git a/examples/configs/fibinet_on_movielens.config b/examples/configs/fibinet_on_movielens.config index 5b0feb072..b4ecaf613 100644 --- a/examples/configs/fibinet_on_movielens.config +++ b/examples/configs/fibinet_on_movielens.config @@ -200,6 +200,3 @@ model_config: { } embedding_regularization: 1e-4 } -export_config { - multi_placeholder: false -} diff --git a/examples/configs/masknet_on_movielens.config b/examples/configs/masknet_on_movielens.config index 4dd54c914..04205ddd5 100644 --- a/examples/configs/masknet_on_movielens.config +++ b/examples/configs/masknet_on_movielens.config @@ -196,6 +196,3 @@ model_config: { } embedding_regularization: 1e-4 } -export_config { - multi_placeholder: false -} diff --git a/examples/configs/mind_on_books.config b/examples/configs/mind_on_books.config index 4b50d04b4..d19eb5d96 100644 --- a/examples/configs/mind_on_books.config +++ b/examples/configs/mind_on_books.config @@ -111,6 +111,3 @@ model_config:{ } embedding_regularization: 5e-5 } - -export_config { -} diff --git a/examples/configs/mind_on_books_negative_sample.config b/examples/configs/mind_on_books_negative_sample.config index 3816e9f7e..6058e6a2f 100644 --- a/examples/configs/mind_on_books_negative_sample.config +++ b/examples/configs/mind_on_books_negative_sample.config @@ -128,6 +128,3 @@ model_config:{ embedding_regularization: 5e-5 loss_type: SOFTMAX_CROSS_ENTROPY } - -export_config { -}