diff --git a/fleetrec/examples/built_in/__init__.py b/fleetrec/examples/built_in/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/fleetrec/examples/ctr-dnn_train_cluster.yaml b/fleetrec/examples/ctr-dnn_train_cluster.yaml index 53f032534cae69707a850e7142d29828f5d3fc6c..f4c8f2b1fe44ba8fac0b7842d339c7ebbbef0c2b 100644 --- a/fleetrec/examples/ctr-dnn_train_cluster.yaml +++ b/fleetrec/examples/ctr-dnn_train_cluster.yaml @@ -10,18 +10,6 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and # limitations under the License. train: diff --git a/fleetrec/examples/ctr-dnn_train_single.yaml b/fleetrec/examples/ctr-dnn_train_single.yaml index 91dca18f3dca5c029913aa2e4a35bb58962438a0..50d25cad28f4b1265e27b507615aa3b5ebb3f23d 100644 --- a/fleetrec/examples/ctr-dnn_train_single.yaml +++ b/fleetrec/examples/ctr-dnn_train_single.yaml @@ -10,18 +10,6 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and # limitations under the License. train: diff --git a/fleetrec/examples/ctr-dnn_train_userdefine.yaml b/fleetrec/examples/ctr-dnn_train_userdefine.yaml index 2beec8d46c369e0514d226020181d7f3cd87c34e..423efedcfc0467524fe73ac2de3aa1f1ff5c2a67 100644 --- a/fleetrec/examples/ctr-dnn_train_userdefine.yaml +++ b/fleetrec/examples/ctr-dnn_train_userdefine.yaml @@ -10,20 +10,9 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and # limitations under the License. + train: threads: 12 epochs: 10 diff --git a/fleetrec/examples/train.py b/fleetrec/examples/train.py index 835ab193ca6568e9249f9bfa39d3f29d81ac509d..7a72fb78e9653d03f459d35c9ad8f676462d1d51 100644 --- a/fleetrec/examples/train.py +++ b/fleetrec/examples/train.py @@ -10,18 +10,6 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and # limitations under the License. import os diff --git a/fleetrec/examples/user_define/__init__.py b/fleetrec/examples/user_define/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/fleetrec/models/ctr_dnn/hyper_parameters.yaml b/fleetrec/models/ctr_dnn/hyper_parameters.yaml index 10c24807d42c4f7338e1afd52c323193c162686d..85048fa37155751c9542322525f15fa1fe3870fd 100644 --- a/fleetrec/models/ctr_dnn/hyper_parameters.yaml +++ b/fleetrec/models/ctr_dnn/hyper_parameters.yaml @@ -10,21 +10,8 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and # limitations under the License. - sparse_inputs_slots: 27, sparse_feature_number: 1000001, sparse_feature_dim: 8, diff --git a/fleetrec/models/ctr_dnn/data_generator.py b/fleetrec/models/ctr_dnn/reader.py similarity index 100% rename from fleetrec/models/ctr_dnn/data_generator.py rename to fleetrec/models/ctr_dnn/reader.py