Datasets:
Commit ·
0687ab6
1
Parent(s): 5c92397
feat: release_v5
Browse filesFiles changed (4)
- .gitattributes+1
- README.md+12
- code_generation_lite.py+30-4
- test5.jsonlAdded+3
56 unmodified lines57585956 unmodified linestest2.jsonl filter=lfs diff=lfs merge=lfs -texttest3.jsonl filter=lfs diff=lfs merge=lfs -texttest4.jsonl filter=lfs diff=lfs merge=lfs -text56 unmodified lines5758596056 unmodified linestest2.jsonl filter=lfs diff=lfs merge=lfs -texttest3.jsonl filter=lfs diff=lfs merge=lfs -texttest4.jsonl filter=lfs diff=lfs merge=lfs -texttest5.jsonl filter=lfs diff=lfs merge=lfs -text
17 unmodified lines18192021222317 unmodified linesLiveCodeBench is a "live" updating benchmark for holistically evaluating code related capabilities of LLMs.Particularly, it evaluates LLMs across a range of capabilties including code generation, self-repair, test output prediction, and code execution.This is the code generation scenario of LiveCodeBench. It is also used for evaluating self-repair using test case feedback.17 unmodified lines18192021222324252627282930313233343517 unmodified lines## Change LogSince LiveCodeBench is a continuously updated benchmark, we provide different versions of the dataset. Particularly, we provide the following versions of the dataset:- `release_v1`: The initial release of the dataset with problems released between May 2023 and Mar 2024 containing 400 problems.- `release_v2`: The updated release of the dataset with problems released between May 2023 and May 2024 containing 511 problems.- `release_v3`: The updated release of the dataset with problems released between May 2023 and Jul 2024 containing 612 problems.- `release_v4`: The updated release of the dataset with problems released between May 2023 and Sep 2024 containing 713 problems.- `release_v5`: The updated release of the dataset with problems released between May 2023 and Jan 2025 containing 880 problems.You can use the `version_tag` argument to load the desired version of the dataset. Additionally, you can use version tags like `v1`, `v2`, `v1_v3`, `v4_v5` to get the problems released in a specific version.## Dataset DescriptionLiveCodeBench is a "live" updating benchmark for holistically evaluating code related capabilities of LLMs.Particularly, it evaluates LLMs across a range of capabilties including code generation, self-repair, test output prediction, and code execution.This is the code generation scenario of LiveCodeBench. It is also used for evaluating self-repair using test case feedback.
21 unmodified lines2223242526272829303132333435363738394021 unmodified lines"""_HOMEPAGE = "https://livecodebench.github.io/"_VERSIONS = ["release_v1", "release_v2", "release_v3", "release_v4", "release_latest"]_VERSIONS_CONFIGS = _VERSIONS_URLS = {"train": [],"test": ["test.jsonl", "test2.jsonl", "test3.jsonl", "test4.jsonl"],}ALLOWED_FILES = {"release_v1": ["test.jsonl"],"release_v2": ["test.jsonl", "test2.jsonl"],"release_v3": ["test.jsonl", "test2.jsonl", "test3.jsonl"],"release_v4": ["test.jsonl", "test2.jsonl", "test3.jsonl", "test4.jsonl"],"release_latest": ["test.jsonl", "test2.jsonl", "test3.jsonl", "test4.jsonl"],}class LCBCodeGenConfig(datasets.BuilderConfig):21 unmodified lines22232425262728293031323334353637383940414243444546474849505152535455565758596061626364656621 unmodified lines"""_HOMEPAGE = "https://livecodebench.github.io/"_URLS = {"train": [],"test": ["test.jsonl", "test2.jsonl", "test3.jsonl", "test4.jsonl", "test5.jsonl"],}ALLOWED_FILES = {"release_v1": ["test.jsonl"],"release_v2": ["test.jsonl", "test2.jsonl"],"release_v3": ["test.jsonl", "test2.jsonl", "test3.jsonl"],"release_v4": ["test.jsonl", "test2.jsonl", "test3.jsonl", "test4.jsonl"],"release_v5": ["test.jsonl","test2.jsonl","test3.jsonl","test4.jsonl","test5.jsonl",],"release_latest": ["test.jsonl","test2.jsonl","test3.jsonl","test4.jsonl","test5.jsonl",],}v_list = ["v1", "v2", "v3", "v4", "v5"]for v in v_list:ALLOWED_FILES[v] = [f"test{v[1:]}.jsonl" if v != "v1" else "test.jsonl"]n_vs = len(v_list)for idx1 in range(1, n_vs + 1):for idx2 in range(idx1 + 1, n_vs + 1):ALLOWED_FILES[v_list[idx1 - 1] + "_" + v_list[idx2 - 1]] = [f"test{idx}.jsonl" if idx != 1 else "test.jsonl"for idx in range(idx1, idx2 + 1)]_VERSIONS = list(ALLOWED_FILES.keys())_VERSIONS_CONFIGS = _VERSIONSclass LCBCodeGenConfig(datasets.BuilderConfig):
123version https://git-lfs.github.com/spec/v1oid sha256:7f77571c2a6df0c2a72a3277650309f67e01e0008e18117e624633df53f81214size 557699297.gitattributes+1
README.md+12
code_generation_lite.py+30-4
test5.jsonlAdded+3