Publish original-name benchmark card with preserved inputs and explicit license scopes
Browse files- README.md +27 -19
- definitions.tar.gz +2 -2
- manifest.json +13 -9
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
pretty_name:
|
| 3 |
license:
|
| 4 |
- mit
|
| 5 |
- apache-2.0
|
|
@@ -23,13 +23,17 @@ configs:
|
|
| 23 |
path: data/zyte-products-140.jsonl
|
| 24 |
---
|
| 25 |
|
| 26 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
-
Structured product-field extraction from all 140 archived pages in
|
| 29 |
-
[Zyte's product extraction benchmark](https://github.com/scrapinghub/product-extraction-benchmark).
|
| 30 |
Each task asks an extractor to return price, SKU and stock status from the same
|
| 31 |
-
frozen HTML. The source URL records provenance; requesting the live website
|
| 32 |
-
|
| 33 |
|
| 34 |
## Population and references
|
| 35 |
|
|
@@ -71,12 +75,12 @@ from huggingface_hub import snapshot_download
|
|
| 71 |
|
| 72 |
revision = "YOUR_FULL_HF_COMMIT"
|
| 73 |
rows = load_dataset(
|
| 74 |
-
"Lexmount/
|
| 75 |
split="test", revision=revision,
|
| 76 |
)
|
| 77 |
task = json.loads(rows[0]["task"])
|
| 78 |
snapshot = Path(snapshot_download(
|
| 79 |
-
"Lexmount/
|
| 80 |
allow_patterns=["definitions/**", "manifest.json", "LICENSE", "NOTICE", "THIRD_PARTY.md"],
|
| 81 |
))
|
| 82 |
html = gzip.decompress((snapshot / "definitions" / task["html_path"]).read_bytes())
|
|
@@ -84,12 +88,12 @@ reference = task["reference"]
|
|
| 84 |
```
|
| 85 |
|
| 86 |
Browser Eval uses the shared immutable dataset cache and
|
| 87 |
-
[data lock](https://github.com/lexmount/browser-eval/blob/
|
| 88 |
|
| 89 |
```sh
|
| 90 |
git clone https://github.com/lexmount/browser-eval
|
| 91 |
cd browser-eval
|
| 92 |
-
git checkout
|
| 93 |
uv sync --frozen --extra web-scraper-eval
|
| 94 |
make pin-dataset DATASET=web-scraper REV=YOUR_FULL_HF_COMMIT
|
| 95 |
uv run --frozen python -m harness.benchmarks.data web-scraper
|
|
@@ -113,22 +117,26 @@ Record latency for every logical result, physical retry time separately, and
|
|
| 113 |
native usage or actual charges where available. API tiers, input limits and
|
| 114 |
billing units differ. This dataset defines extraction inputs and references;
|
| 115 |
it contains no vendor ranking. Browser Eval's
|
| 116 |
-
[execution guide](https://github.com/lexmount/browser-eval/blob/
|
| 117 |
describes native HTML/URL routes and certification.
|
| 118 |
|
| 119 |
## License, attribution and revisions
|
| 120 |
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
authored packaging and
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
|
| 129 |
Cite the upstream [product-extraction benchmark](https://github.com/scrapinghub/product-extraction-benchmark)
|
| 130 |
and identify this dataset's full commit and reference view. For tooling, cite
|
| 131 |
-
[Browser Eval](https://github.com/lexmount/browser-eval/blob/
|
| 132 |
[VERSIONING.md](VERSIONING.md) describes changes to inputs, references and packaging.
|
| 133 |
No moving branch name identifies an evaluated edition.
|
| 134 |
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: Product extraction benchmark (Zyte)
|
| 3 |
license:
|
| 4 |
- mit
|
| 5 |
- apache-2.0
|
|
|
|
| 23 |
path: data/zyte-products-140.jsonl
|
| 24 |
---
|
| 25 |
|
| 26 |
+
# Product extraction benchmark (Zyte)
|
| 27 |
+
|
| 28 |
+
[Product extraction benchmark](https://github.com/scrapinghub/product-extraction-benchmark)
|
| 29 |
+
was published by Zyte in 2021. This Hub repository distributes its 140
|
| 30 |
+
archived product pages and original references. Lexmount maintains the distribution
|
| 31 |
+
and a separately identified annotation supplement; it is not the original dataset author.
|
| 32 |
+
The original source URL and full upstream commit remain part of every release.
|
| 33 |
|
|
|
|
|
|
|
| 34 |
Each task asks an extractor to return price, SKU and stock status from the same
|
| 35 |
+
frozen HTML. The source URL records provenance; requesting the live website changes
|
| 36 |
+
the input.
|
| 37 |
|
| 38 |
## Population and references
|
| 39 |
|
|
|
|
| 75 |
|
| 76 |
revision = "YOUR_FULL_HF_COMMIT"
|
| 77 |
rows = load_dataset(
|
| 78 |
+
"Lexmount/zyte-product-extraction-benchmark", "zyte-products-140",
|
| 79 |
split="test", revision=revision,
|
| 80 |
)
|
| 81 |
task = json.loads(rows[0]["task"])
|
| 82 |
snapshot = Path(snapshot_download(
|
| 83 |
+
"Lexmount/zyte-product-extraction-benchmark", repo_type="dataset", revision=revision,
|
| 84 |
allow_patterns=["definitions/**", "manifest.json", "LICENSE", "NOTICE", "THIRD_PARTY.md"],
|
| 85 |
))
|
| 86 |
html = gzip.decompress((snapshot / "definitions" / task["html_path"]).read_bytes())
|
|
|
|
| 88 |
```
|
| 89 |
|
| 90 |
Browser Eval uses the shared immutable dataset cache and
|
| 91 |
+
[data lock](https://github.com/lexmount/browser-eval/blob/7f010e7617b6ac6a6df366495480af9ac92e4840/src/harness/benchmarks/data-lock.json):
|
| 92 |
|
| 93 |
```sh
|
| 94 |
git clone https://github.com/lexmount/browser-eval
|
| 95 |
cd browser-eval
|
| 96 |
+
git checkout 7f010e7617b6ac6a6df366495480af9ac92e4840
|
| 97 |
uv sync --frozen --extra web-scraper-eval
|
| 98 |
make pin-dataset DATASET=web-scraper REV=YOUR_FULL_HF_COMMIT
|
| 99 |
uv run --frozen python -m harness.benchmarks.data web-scraper
|
|
|
|
| 117 |
native usage or actual charges where available. API tiers, input limits and
|
| 118 |
billing units differ. This dataset defines extraction inputs and references;
|
| 119 |
it contains no vendor ranking. Browser Eval's
|
| 120 |
+
[execution guide](https://github.com/lexmount/browser-eval/blob/7f010e7617b6ac6a6df366495480af9ac92e4840/examples/web_scraper/README.md)
|
| 121 |
describes native HTML/URL routes and certification.
|
| 122 |
|
| 123 |
## License, attribution and revisions
|
| 124 |
|
| 125 |
+
| Component | Publisher and license | Retained notice |
|
| 126 |
+
| --- | --- | --- |
|
| 127 |
+
| Original 140 archived pages, ground truth, evaluator, README and upstream extractor | Zyte, MIT, Copyright (c) 2021 Zyte | [LICENSE](LICENSE) and [original upstream license](definitions/upstream/LICENSE) |
|
| 128 |
+
| Lexmount-authored packaging metadata and source-qualified annotation supplement | Lexmount, Apache-2.0 | [LICENSE-annotations](LICENSE-annotations) and [NOTICE](NOTICE) |
|
| 129 |
+
| Content captured from third-party websites | Original website publishers retain their rights | Source URLs and [THIRD_PARTY.md](THIRD_PARTY.md) |
|
| 130 |
+
|
| 131 |
+
The two Hub license badges describe different components. They do not offer a
|
| 132 |
+
choice to relicense Zyte's original material or the captured websites. The upstream
|
| 133 |
+
project released its dataset with an MIT notice; this distribution retains that
|
| 134 |
+
notice and does not independently establish training or redistribution rights
|
| 135 |
+
for every website asset. Annotation amendments do not replace the original labels.
|
| 136 |
|
| 137 |
Cite the upstream [product-extraction benchmark](https://github.com/scrapinghub/product-extraction-benchmark)
|
| 138 |
and identify this dataset's full commit and reference view. For tooling, cite
|
| 139 |
+
[Browser Eval](https://github.com/lexmount/browser-eval/blob/7f010e7617b6ac6a6df366495480af9ac92e4840/CITATION.cff).
|
| 140 |
[VERSIONING.md](VERSIONING.md) describes changes to inputs, references and packaging.
|
| 141 |
No moving branch name identifies an evaluated edition.
|
| 142 |
|
definitions.tar.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c90f670480f01c95ec63e9dc573c08db699ac2bcae54d1be9349e829ad31a08
|
| 3 |
+
size 14867118
|
manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"archive": {
|
| 3 |
"path": "definitions.tar.gz",
|
| 4 |
-
"sha256": "
|
| 5 |
-
"size":
|
| 6 |
},
|
| 7 |
"datasets": {
|
| 8 |
"zyte-products-140": {
|
|
@@ -14,16 +14,20 @@
|
|
| 14 |
"default_dataset": "zyte-products-140",
|
| 15 |
"files": {
|
| 16 |
"LICENSE": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
"sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
|
| 18 |
"size": 11358
|
| 19 |
},
|
| 20 |
"NOTICE": {
|
| 21 |
-
"sha256": "
|
| 22 |
-
"size":
|
| 23 |
},
|
| 24 |
"THIRD_PARTY.md": {
|
| 25 |
-
"sha256": "
|
| 26 |
-
"size":
|
| 27 |
},
|
| 28 |
"VERSIONING.md": {
|
| 29 |
"sha256": "24d7fc2c5ae3a58e9b0a52694a3d6f8eab9fef27591ed2572cf82f6373602274",
|
|
@@ -641,11 +645,11 @@
|
|
| 641 |
"revision": "cba97d7a8d42aeefd4021bc15d482f297faceaa3",
|
| 642 |
"sha256": "864ff31d8f06cc70546bb9b477c15912369e85dda1a5015c766ef42130de9fd7"
|
| 643 |
},
|
| 644 |
-
"source_repository": "https://huggingface.co/datasets/Lexmount/
|
| 645 |
-
"source_revision": "
|
| 646 |
"tooling": {
|
| 647 |
"repository": "https://github.com/lexmount/browser-eval",
|
| 648 |
-
"revision": "
|
| 649 |
},
|
| 650 |
"track": "web-scraper",
|
| 651 |
"viewer": {
|
|
|
|
| 1 |
{
|
| 2 |
"archive": {
|
| 3 |
"path": "definitions.tar.gz",
|
| 4 |
+
"sha256": "7c90f670480f01c95ec63e9dc573c08db699ac2bcae54d1be9349e829ad31a08",
|
| 5 |
+
"size": 14867118
|
| 6 |
},
|
| 7 |
"datasets": {
|
| 8 |
"zyte-products-140": {
|
|
|
|
| 14 |
"default_dataset": "zyte-products-140",
|
| 15 |
"files": {
|
| 16 |
"LICENSE": {
|
| 17 |
+
"sha256": "3834f7414080a90266fb854dd0ca3331bcce88c1f5ade9f8b650a13a04881af9",
|
| 18 |
+
"size": 1061
|
| 19 |
+
},
|
| 20 |
+
"LICENSE-annotations": {
|
| 21 |
"sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
|
| 22 |
"size": 11358
|
| 23 |
},
|
| 24 |
"NOTICE": {
|
| 25 |
+
"sha256": "f66b311b1f4008209e42ee259d8ed90b60d8208b39223c3e595e56cc06440bf5",
|
| 26 |
+
"size": 316
|
| 27 |
},
|
| 28 |
"THIRD_PARTY.md": {
|
| 29 |
+
"sha256": "b480783ffafbbd48063e422b79d71ad96f2f14435db5d07cb180e8c9d3611311",
|
| 30 |
+
"size": 1169
|
| 31 |
},
|
| 32 |
"VERSIONING.md": {
|
| 33 |
"sha256": "24d7fc2c5ae3a58e9b0a52694a3d6f8eab9fef27591ed2572cf82f6373602274",
|
|
|
|
| 645 |
"revision": "cba97d7a8d42aeefd4021bc15d482f297faceaa3",
|
| 646 |
"sha256": "864ff31d8f06cc70546bb9b477c15912369e85dda1a5015c766ef42130de9fd7"
|
| 647 |
},
|
| 648 |
+
"source_repository": "https://huggingface.co/datasets/Lexmount/zyte-product-extraction-benchmark",
|
| 649 |
+
"source_revision": "94d0f655ca8c7b8986cdc6a3e0329f56acc64e3d",
|
| 650 |
"tooling": {
|
| 651 |
"repository": "https://github.com/lexmount/browser-eval",
|
| 652 |
+
"revision": "7f010e7617b6ac6a6df366495480af9ac92e4840"
|
| 653 |
},
|
| 654 |
"track": "web-scraper",
|
| 655 |
"viewer": {
|