Files
GenAIExamples/CodeGen/benchmark/accuracy/main.py
lkk 088ab98f31 update examples accuracy (#941)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-14 13:20:50 +08:00

18 lines
343 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
from evals.evaluation.bigcode_evaluation_harness import evaluate, setup_parser
def main():
eval_args = setup_parser()
results = evaluate(eval_args)
print(results)
if __name__ == "__main__":
main()