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|
|
||||
docs/zh_cn/advanced_guides/compassbench_intro.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_info.py
|
||||
)
|
||||
@ -28,8 +24,8 @@ repos:
|
||||
- id: flake8
|
||||
exclude: |
|
||||
(?x)^(
|
||||
configs/ |
|
||||
example_scripts/
|
||||
opencompass/configs/|
|
||||
examples/
|
||||
)
|
||||
- repo: https://github.com/PyCQA/isort
|
||||
rev: 5.11.5
|
||||
@ -37,18 +33,17 @@ repos:
|
||||
- id: isort
|
||||
exclude: |
|
||||
(?x)^(
|
||||
configs/ |
|
||||
example_scripts/
|
||||
opencompass/configs/|
|
||||
examples/
|
||||
)
|
||||
- repo: https://github.com/pre-commit/mirrors-yapf
|
||||
rev: v0.32.0
|
||||
hooks:
|
||||
- id: yapf
|
||||
args: ["--style=pep8", "--no-local-style"]
|
||||
exclude: |
|
||||
(?x)^(
|
||||
configs/ |
|
||||
example_scripts/
|
||||
opencompass/configs/|
|
||||
examples/
|
||||
)
|
||||
- repo: https://github.com/codespell-project/codespell
|
||||
rev: v2.2.1
|
||||
@ -58,9 +53,8 @@ repos:
|
||||
(?x)^(
|
||||
.*\.jsonl|
|
||||
.*\.md.template|
|
||||
configs/ |
|
||||
opencompass/configs/ |
|
||||
example_scripts/
|
||||
examples/
|
||||
)
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
@ -70,7 +64,6 @@ repos:
|
||||
(?x)^(
|
||||
dicts/|
|
||||
projects/.*?/dicts/|
|
||||
configs/.*?/.*\.txt
|
||||
)
|
||||
- id: check-yaml
|
||||
- id: end-of-file-fixer
|
||||
@ -78,7 +71,6 @@ repos:
|
||||
(?x)^(
|
||||
dicts/|
|
||||
projects/.*?/dicts/|
|
||||
configs/.*?/.*\.txt
|
||||
)
|
||||
- id: requirements-txt-fixer
|
||||
- id: double-quote-string-fixer
|
||||
@ -97,12 +89,11 @@ repos:
|
||||
- mdformat_frontmatter
|
||||
- linkify-it-py
|
||||
exclude: configs/
|
||||
# - repo: https://github.com/myint/docformatter
|
||||
# rev: v1.3.1
|
||||
# hooks:
|
||||
# - id: docformatter
|
||||
# language: system
|
||||
# args: ["--in-place", "--wrap-descriptions", "79"]
|
||||
- repo: https://github.com/myint/docformatter
|
||||
rev: v1.3.1
|
||||
hooks:
|
||||
- id: docformatter
|
||||
args: ["--in-place", "--wrap-descriptions", "79"]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: update-dataset-suffix
|
||||
@ -111,7 +102,7 @@ repos:
|
||||
language: script
|
||||
pass_filenames: true
|
||||
require_serial: true
|
||||
files: ^configs/datasets
|
||||
files: ^opencompass/configs/datasets
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: update-dataset-suffix-pacakge
|
||||
@ -124,42 +115,6 @@ repos:
|
||||
args:
|
||||
- --root_folder
|
||||
- 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
|
||||
# rev: v0.2.0 # Use the ref you want to point at
|
||||
# hooks:
|
||||
|
Loading…
Reference in New Issue
Block a user