Skip to content

Commit a7da562

Browse files
authored
Add JSON and Language validators for IFEval (#1078)
* added json and language validators for IFEval * formatting
1 parent da0b0f7 commit a7da562

File tree

5 files changed

+598
-85
lines changed

5 files changed

+598
-85
lines changed

WORKSPACE

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ http_archive(
6060
],
6161
)
6262

63+
http_archive(
64+
name = "cld2",
65+
build_file = "@//third_party:cld2.BUILD",
66+
sha256 = "6d8681eadbb64d8fcd3c6c620e81bed16d99ff75627324d66ee2d54bf2b7d749",
67+
strip_prefix = "cld2-b56fa78a2fe44ac2851bae5bf4f4693a0644da7b",
68+
urls = [
69+
"https://github.com/CLD2Owners/cld2/archive/b56fa78a2fe44ac2851bae5bf4f4693a0644da7b.zip",
70+
],
71+
)
72+
6373
http_archive(
6474
name = "org_tensorflow",
6575
patch_args = ["-p1"],

flutter/cpp/datasets/ifeval_utils/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ cc_library(
2222
name = "ifeval_utils",
2323
hdrs = [
2424
"common.h",
25+
"json.h",
2526
"types.h",
2627
],
2728
copts = select({
@@ -34,5 +35,6 @@ cc_library(
3435
"//conditions:default": [],
3536
}),
3637
deps = [
38+
"@cld2",
3739
],
3840
)

0 commit comments

Comments
 (0)