From fe73c18ac4a51cfda810fc4f5695aff8a5bfacd4 Mon Sep 17 00:00:00 2001 From: changwangss Date: Fri, 28 Jun 2024 02:40:31 -0700 Subject: [PATCH] add copyright Signed-off-by: changwangss --- evals/evaluation/bigcode_evaluation_harness/accuracy.py | 5 ++++- evals/evaluation/bigcode_evaluation_harness/arguments.py | 4 +++- evals/evaluation/lm_evaluation_harness/accuracy.py | 4 +++- evals/evaluation/lm_evaluation_harness/arguments.py | 5 +++-- evals/evaluation/lm_evaluation_harness/lm_eval/evaluator.py | 4 +++- .../lm_evaluation_harness/lm_eval/models/huggingface.py | 4 +++- 6 files changed, 19 insertions(+), 7 deletions(-) diff --git a/evals/evaluation/bigcode_evaluation_harness/accuracy.py b/evals/evaluation/bigcode_evaluation_harness/accuracy.py index c95da122..31132726 100644 --- a/evals/evaluation/bigcode_evaluation_harness/accuracy.py +++ b/evals/evaluation/bigcode_evaluation_harness/accuracy.py @@ -1,9 +1,12 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# Copyright (C) 2024 BigCode Project +# SPDX-License-Identifier: Apache-2.0 + # Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 -# + import fnmatch import json import os diff --git a/evals/evaluation/bigcode_evaluation_harness/arguments.py b/evals/evaluation/bigcode_evaluation_harness/arguments.py index ef0584e1..cec695b8 100644 --- a/evals/evaluation/bigcode_evaluation_harness/arguments.py +++ b/evals/evaluation/bigcode_evaluation_harness/arguments.py @@ -1,9 +1,11 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# Copyright (C) 2024 BigCode Project +# SPDX-License-Identifier: Apache-2.0 + # Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 -# import fnmatch from bigcode_eval.arguments import EvalArguments diff --git a/evals/evaluation/lm_evaluation_harness/accuracy.py b/evals/evaluation/lm_evaluation_harness/accuracy.py index 4c862524..bc00f25b 100644 --- a/evals/evaluation/lm_evaluation_harness/accuracy.py +++ b/evals/evaluation/lm_evaluation_harness/accuracy.py @@ -1,9 +1,11 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# Copyright (C) 2020 EleutherAI +# SPDX-License-Identifier: MIT + # Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 -# import json import logging diff --git a/evals/evaluation/lm_evaluation_harness/arguments.py b/evals/evaluation/lm_evaluation_harness/arguments.py index 54cf06ff..e92043de 100644 --- a/evals/evaluation/lm_evaluation_harness/arguments.py +++ b/evals/evaluation/lm_evaluation_harness/arguments.py @@ -1,10 +1,11 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# Copyright (C) 2020 EleutherAI +# SPDX-License-Identifier: MIT + # Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 -# - import argparse from functools import partial diff --git a/evals/evaluation/lm_evaluation_harness/lm_eval/evaluator.py b/evals/evaluation/lm_evaluation_harness/lm_eval/evaluator.py index dd683e9a..ff7c9c1a 100644 --- a/evals/evaluation/lm_evaluation_harness/lm_eval/evaluator.py +++ b/evals/evaluation/lm_evaluation_harness/lm_eval/evaluator.py @@ -1,9 +1,11 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# Copyright (C) 2020 EleutherAI +# SPDX-License-Identifier: MIT + # Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 -# import itertools import logging diff --git a/evals/evaluation/lm_evaluation_harness/lm_eval/models/huggingface.py b/evals/evaluation/lm_evaluation_harness/lm_eval/models/huggingface.py index 0d8c595b..bc1868a6 100644 --- a/evals/evaluation/lm_evaluation_harness/lm_eval/models/huggingface.py +++ b/evals/evaluation/lm_evaluation_harness/lm_eval/models/huggingface.py @@ -1,9 +1,11 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# Copyright (C) 2020 EleutherAI +# SPDX-License-Identifier: MIT + # Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 -# import copy import json