diff --git a/models/match/dssm/data/preprocess.py b/models/match/dssm/data/preprocess.py index ad7ad4b634c2b9ac0c3a8130aba579761f41f675..7594e4fe1e4b07992be5055e8e1fcfca63746c4e 100644 --- a/models/match/dssm/data/preprocess.py +++ b/models/match/dssm/data/preprocess.py @@ -1,3 +1,16 @@ +# Copyright (c) 2020 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. #encoding=utf-8 import os diff --git a/models/match/dssm/run.sh b/models/match/dssm/run.sh index 0ec86418e3f64fa0b02e0897de1748320e7406c0..5248d311a3d2b6365dff9ce2bd08fd75f2e599ee 100644 --- a/models/match/dssm/run.sh +++ b/models/match/dssm/run.sh @@ -1,3 +1,16 @@ +# Copyright (c) 2020 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. #!/bin/bash echo "................run................." python -m paddlerec.run -m ./config.yaml >result1.txt diff --git a/tools/cal_pos_neg.py b/tools/cal_pos_neg.py index 8b356046f47b204f8709805a05a2cc0509a6d195..3f349aef2022181bace5dade79c898937be4783b 100644 --- a/tools/cal_pos_neg.py +++ b/tools/cal_pos_neg.py @@ -1,3 +1,16 @@ +# Copyright (c) 2020 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. #!/usr/bin/python #-*- coding:utf-8 -*- ############################