mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
Update olmpiadBench
This commit is contained in:
parent
dbf2cb7fdb
commit
eb286c3be3
@ -14,10 +14,6 @@ exclude: |
|
|||||||
opencompass/datasets/subjective/mtbench101.py|
|
opencompass/datasets/subjective/mtbench101.py|
|
||||||
docs/zh_cn/advanced_guides/compassbench_intro.md |
|
docs/zh_cn/advanced_guides/compassbench_intro.md |
|
||||||
docs/zh_cn/advanced_guides/compassbench_v2_0.md |
|
docs/zh_cn/advanced_guides/compassbench_v2_0.md |
|
||||||
opencompass/configs/datasets/ |
|
|
||||||
opencompass/configs/models/|
|
|
||||||
opencompass/configs/summarizers/ |
|
|
||||||
opencompass/configs/dataset_collections/ |
|
|
||||||
opencompass/utils/datasets.py |
|
opencompass/utils/datasets.py |
|
||||||
opencompass/utils/datasets_info.py
|
opencompass/utils/datasets_info.py
|
||||||
)
|
)
|
||||||
@ -28,8 +24,8 @@ repos:
|
|||||||
- id: flake8
|
- id: flake8
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
configs/ |
|
opencompass/configs/|
|
||||||
example_scripts/
|
examples/
|
||||||
)
|
)
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.11.5
|
rev: 5.11.5
|
||||||
@ -37,18 +33,17 @@ repos:
|
|||||||
- id: isort
|
- id: isort
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
configs/ |
|
opencompass/configs/|
|
||||||
example_scripts/
|
examples/
|
||||||
)
|
)
|
||||||
- repo: https://github.com/pre-commit/mirrors-yapf
|
- repo: https://github.com/pre-commit/mirrors-yapf
|
||||||
rev: v0.32.0
|
rev: v0.32.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yapf
|
- id: yapf
|
||||||
args: ["--style=pep8", "--no-local-style"]
|
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
configs/ |
|
opencompass/configs/|
|
||||||
example_scripts/
|
examples/
|
||||||
)
|
)
|
||||||
- repo: https://github.com/codespell-project/codespell
|
- repo: https://github.com/codespell-project/codespell
|
||||||
rev: v2.2.1
|
rev: v2.2.1
|
||||||
@ -58,9 +53,8 @@ repos:
|
|||||||
(?x)^(
|
(?x)^(
|
||||||
.*\.jsonl|
|
.*\.jsonl|
|
||||||
.*\.md.template|
|
.*\.md.template|
|
||||||
configs/ |
|
|
||||||
opencompass/configs/ |
|
opencompass/configs/ |
|
||||||
example_scripts/
|
examples/
|
||||||
)
|
)
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.3.0
|
rev: v4.3.0
|
||||||
@ -70,7 +64,6 @@ repos:
|
|||||||
(?x)^(
|
(?x)^(
|
||||||
dicts/|
|
dicts/|
|
||||||
projects/.*?/dicts/|
|
projects/.*?/dicts/|
|
||||||
configs/.*?/.*\.txt
|
|
||||||
)
|
)
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
@ -78,7 +71,6 @@ repos:
|
|||||||
(?x)^(
|
(?x)^(
|
||||||
dicts/|
|
dicts/|
|
||||||
projects/.*?/dicts/|
|
projects/.*?/dicts/|
|
||||||
configs/.*?/.*\.txt
|
|
||||||
)
|
)
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
- id: double-quote-string-fixer
|
- id: double-quote-string-fixer
|
||||||
@ -97,12 +89,11 @@ repos:
|
|||||||
- mdformat_frontmatter
|
- mdformat_frontmatter
|
||||||
- linkify-it-py
|
- linkify-it-py
|
||||||
exclude: configs/
|
exclude: configs/
|
||||||
# - repo: https://github.com/myint/docformatter
|
- repo: https://github.com/myint/docformatter
|
||||||
# rev: v1.3.1
|
rev: v1.3.1
|
||||||
# hooks:
|
hooks:
|
||||||
# - id: docformatter
|
- id: docformatter
|
||||||
# language: system
|
args: ["--in-place", "--wrap-descriptions", "79"]
|
||||||
# args: ["--in-place", "--wrap-descriptions", "79"]
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: update-dataset-suffix
|
- id: update-dataset-suffix
|
||||||
@ -111,7 +102,7 @@ repos:
|
|||||||
language: script
|
language: script
|
||||||
pass_filenames: true
|
pass_filenames: true
|
||||||
require_serial: true
|
require_serial: true
|
||||||
files: ^configs/datasets
|
files: ^opencompass/configs/datasets
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: update-dataset-suffix-pacakge
|
- id: update-dataset-suffix-pacakge
|
||||||
@ -124,42 +115,6 @@ repos:
|
|||||||
args:
|
args:
|
||||||
- --root_folder
|
- --root_folder
|
||||||
- opencompass/configs/datasets
|
- opencompass/configs/datasets
|
||||||
- repo: local
|
|
||||||
hooks:
|
|
||||||
- id: compare-configs-datasets
|
|
||||||
name: compare configs datasets
|
|
||||||
entry: ./tools/compare_configs.py
|
|
||||||
language: script
|
|
||||||
pass_filenames: false
|
|
||||||
# require_serial: true
|
|
||||||
args:
|
|
||||||
- configs/datasets
|
|
||||||
- opencompass/configs/datasets
|
|
||||||
- repo: local
|
|
||||||
hooks:
|
|
||||||
- id: compare-configs-models
|
|
||||||
name: compare configs models
|
|
||||||
entry: ./tools/compare_configs.py
|
|
||||||
language: script
|
|
||||||
pass_filenames: false
|
|
||||||
# require_serial: true
|
|
||||||
args:
|
|
||||||
- configs/models
|
|
||||||
- opencompass/configs/models
|
|
||||||
- --ignore
|
|
||||||
- llama
|
|
||||||
- repo: local
|
|
||||||
hooks:
|
|
||||||
- id: compare-configs-summarizers
|
|
||||||
name: compare configs summarizers
|
|
||||||
entry: ./tools/compare_configs.py
|
|
||||||
language: script
|
|
||||||
pass_filenames: false
|
|
||||||
# require_serial: true
|
|
||||||
args:
|
|
||||||
- configs/summarizers
|
|
||||||
- opencompass/configs/summarizers
|
|
||||||
|
|
||||||
# - repo: https://github.com/open-mmlab/pre-commit-hooks
|
# - repo: https://github.com/open-mmlab/pre-commit-hooks
|
||||||
# rev: v0.2.0 # Use the ref you want to point at
|
# rev: v0.2.0 # Use the ref you want to point at
|
||||||
# hooks:
|
# hooks:
|
||||||
|
Loading…
Reference in New Issue
Block a user