From f88003af892ce45260b72c49f57b7626d964e6be Mon Sep 17 00:00:00 2001 From: yinhaofeng <1841837261@qq.com> Date: Sun, 23 Aug 2020 08:30:04 +0000 Subject: [PATCH] add copyright --- models/match/dssm/data/preprocess.py | 13 +++++++++++++ models/match/dssm/run.sh | 13 +++++++++++++ tools/cal_pos_neg.py | 13 +++++++++++++ 3 files changed, 39 insertions(+) diff --git a/models/match/dssm/data/preprocess.py b/models/match/dssm/data/preprocess.py index ad7ad4b6..7594e4fe 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 0ec86418..5248d311 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 8b356046..3f349aef 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 -*- ############################ -- GitLab