Commit 0916343
[Benchmark] Add MMRarebench dataset support (#1495)
* [Benchmark] Add MMRarebench dataset support
- Add 4-track medical rare disease benchmark
- Support HuggingFace datasets for automatic download
- Support base64-encoded images in TSV files
* [Benchmark] Fix MMRarebench lint issues
* [Benchmark] Fix MMRarebench lint: remove unused import, fix isort, add explicit smp imports
- Remove unused DEBUG_MESSAGE import (F401)
- Add noqa F401,F403 to star import from ..smp
- Add explicit imports for load, dump, read_ok, np to resolve F405
- Fix isort ordering in mmrarebench.py and __init__.py
* [Benchmark] Fix MMRarebench lint issues in mmrarebench.py
* [Benchmark] Fix isort: remove extra blank line in mmrarebench.py
* [Benchmark] Fix isort: move mmrarebench import to correct alphabetical position in __init__.py
* [Benchmark] Sync lint config from main and fix MMRarebench imports
- Sync .pre-commit-config.yaml: add isort hook, upgrade flake8 to 7.1.2
- Sync __init__.py with upstream main (explicit imports), add MMRarebench
- Remove redundant `from ..smp import *` in mmrarebench.py
---------
Co-authored-by: Ma Zerun <mzr1996@163.com>1 parent 2d5b16c commit 0916343
2 files changed
Lines changed: 890 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
294 | 296 | | |
295 | 297 | | |
296 | 298 | | |
| 299 | + | |
297 | 300 | | |
298 | 301 | | |
299 | 302 | | |
| |||
0 commit comments