Add LICA-Bench: graphic design VLM evaluation (39 tasks, 7 domains)#1212
Open
purvanshi wants to merge 1 commit intohuggingface:mainfrom
Open
Add LICA-Bench: graphic design VLM evaluation (39 tasks, 7 domains)#1212purvanshi wants to merge 1 commit intohuggingface:mainfrom
purvanshi wants to merge 1 commit intohuggingface:mainfrom
Conversation
Adds 39 tasks across 7 domains (layout, typography, SVG, templates, temporal, Lottie, category) from the LICA-Bench suite for evaluating vision-language models on graphic design artifacts. - Benchmark code: https://github.com/purvanshi/lica-bench - Dataset: https://github.com/purvanshi/lica-dataset Made-with: Cursor
Author
|
Hi @NathanHB @clefourrier — this PR adds LICA-Bench, a graphic design evaluation suite (39 tasks across 7 domains) for VLMs. Would appreciate a review when you get a chance. Thanks!
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds LICA-Bench to lighteval — a structured evaluation suite for vision-language models on graphic design artifacts, comprising 39 tasks across 7 domains: layout, typography, SVG, templates, temporal, Lottie, and category.
Changes
src/lighteval/tasks/tasks/lica_bench.py— 39LightevalTaskConfigentries (one per task), a sharedlica_bench_promptfunction that buildsDocobjects with optionalimagesfor VLM evaluation, usingpurvanshi/lica-bench-evalas the HuggingFace dataset.src/lighteval/tasks/tasks/lica_bench_prepare_hf_dataset.py— utility script to convert the lica-bench dataset into HuggingFace format and push to the Hub.Domains
Usage
Dataset preparation
The HuggingFace dataset (
purvanshi/lica-bench-eval) can be built from the source data:pip install "lica-bench @ git+https://github.com/purvanshi/lica-bench.git" python src/lighteval/tasks/tasks/lica_bench_prepare_hf_dataset.py \ --dataset-root /path/to/lica-benchmarks-datasetTest plan
LightevalTaskConfigentries created with correct names, subsets, and splitslica_bench_promptcorrectly buildsDocobjects (text-only, with images, structured answers)Registryauto-discovers all 39 tasksMade with Cursor