Buckets:
| { | |
| "schema_version": "2.10.0", | |
| "category": "text", | |
| "bucket_uri": "hf://buckets/chowderai/chowder-demo", | |
| "title": "Text demo data", | |
| "description": "Text datasets for Chowder SQL examples, grouped by dataset under data/.", | |
| "files": [ | |
| { | |
| "source_title": "Amazon Review Polarity \u2014 training split", | |
| "source_url": "https://huggingface.co/datasets/fancyzhx/amazon_polarity/tree/9d9c45c18f8c3cf1b23a3c27917b60cbf28f3289/amazon_polarity", | |
| "creator": "Amazon review contributors; benchmark curated by Xiang Zhang, Junbo Zhao, and Yann LeCun, based on the review corpus collected by Julian McAuley and Jure Leskovec.", | |
| "source_repository": "fancyzhx/amazon_polarity", | |
| "source_path": "amazon_polarity/train-*.parquet", | |
| "source_revision": "9d9c45c18f8c3cf1b23a3c27917b60cbf28f3289", | |
| "dataset_id": "amazon-reviews", | |
| "dataset_split": "train", | |
| "license_id": "Apache-2.0", | |
| "license_url": "https://www.apache.org/licenses/LICENSE-2.0", | |
| "license_evidence": "The fancyzhx/amazon_polarity Hugging Face release at pinned revision 9d9c45c18f8c3cf1b23a3c27917b60cbf28f3289, checked 2026-10-29, explicitly declares apache-2.0 in card metadata and Apache License 2.0 in its Licensing Information section. This import relies on that distributor declaration; it does not assert independent copyright clearance for every underlying customer review. The pinned card is retained in private provenance. A full Apache 2.0 license copy is supplied at text/LICENSES/amazon-reviews-apache-2-0.txt; modifications are documented here. License and provenance inherited from the canonical Parquet source; format conversion adds no new source content.", | |
| "source_credit": "Amazon review contributors, original review-corpus authors, benchmark curators, and Hugging Face Parquet distribution maintainers.", | |
| "source_credit_url": "https://huggingface.co/datasets/fancyzhx/amazon_polarity/blob/9d9c45c18f8c3cf1b23a3c27917b60cbf28f3289/README.md", | |
| "path": "text/data/amazon-reviews/amazon-reviews-sample-train.txt", | |
| "description": "The same 1,000 canonical Amazon reviews, rendered as one complete title-and-content review per physical line.", | |
| "media_type": "text/plain", | |
| "size_bytes": 429695, | |
| "sha256": "3ec861d3c7ca516133a9e6ffc41a16f0860dfd94119e5a72ea72dd16604a2080", | |
| "original_filename": "amazon-reviews-sample-train.parquet", | |
| "source_bucket_uri": "hf://buckets/chowderai/chowder-demo/parquet/data/amazon-reviews/amazon-reviews-sample-train.parquet", | |
| "license_notice_path": "text/LICENSES/amazon-reviews-apache-2-0.txt", | |
| "derived_from": { | |
| "path": "parquet/data/amazon-reviews/amazon-reviews-sample-train.parquet", | |
| "sha256": "d9bc5a80371c83dc5fd9ad71ca50b0e4080080c11158fa853b38739f32392342" | |
| }, | |
| "metadata": { | |
| "format": "text", | |
| "encoding": "utf-8", | |
| "record_count": 1000, | |
| "physical_line_count": 1000, | |
| "byte_order_mark": false, | |
| "layout": "one-review-per-line-v1", | |
| "source_fields": [ | |
| "title", | |
| "content" | |
| ], | |
| "join_separator": " \u2014 ", | |
| "line_break_policy": "replace-line-breaks-with-space-v1", | |
| "lines_per_record": 1 | |
| }, | |
| "attribution": "Amazon Review Polarity benchmark: Xiang Zhang, Junbo Zhao, and Yann LeCun. Character-level Convolutional Networks for Text Classification. NeurIPS 2015. https://arxiv.org/abs/1509.01626. Review corpus: Julian McAuley and Jure Leskovec. Hidden factors and hidden topics: understanding rating dimensions with review text. RecSys 2013. https://snap.stanford.edu/data/web-Amazon.html. Review text authored by Amazon review contributors. Source distribution: https://huggingface.co/datasets/fancyzhx/amazon_polarity, revision 9d9c45c18f8c3cf1b23a3c27917b60cbf28f3289. Apache License 2.0 as declared by that source (https://www.apache.org/licenses/LICENSE-2.0). Chowder demo modifications: select 500 rows per label with seed 42 across all four training shards; shuffle selected rows; remove label and export only title/content to new Parquet. No endorsement by Amazon, source authors, or distributor implied. Additional Chowder demo modification: One UTF-8, LF-terminated review per line: title and content joined by an em dash with spaces. Embedded line breaks are replaced with spaces; CRLF becomes one space. No headers, Title:/Content: labels, or blank separator rows. The text rendering does not preserve separate title/content fields.", | |
| "modifications": [ | |
| "Inherited sample history: Generated a 1,000-row stratified reservoir sample from the complete 3,600,000-row training split using seed 42: 500 label 0 (negative), 500 label 1 (positive).", | |
| "Inherited sample history: Used label only for sampling; dropped label and retained title/content without editing their text. Removed upstream schema metadata that referred to the dropped label.", | |
| "Inherited sample history: Shuffled selected rows reproducibly and wrote a new Snappy-compressed Parquet 2.6 file with PyArrow 23.0.1. This is a derived sample, not an unchanged copy of the upstream Parquet files.", | |
| "Inherited sample history: Class balance is an intentional demo selection and does not estimate the distribution of naturally occurring Amazon reviews. The source benchmark training split is itself balanced.", | |
| "One UTF-8, LF-terminated review per line: title and content joined by an em dash with spaces. Embedded line breaks are replaced with spaces; CRLF becomes one space. No headers, Title:/Content: labels, or blank separator rows. The text rendering does not preserve separate title/content fields. Review order preserved; no resampling." | |
| ], | |
| "capabilities": [ | |
| "UTF-8 line reading with line-number and source provenance", | |
| "Review text for AI queries" | |
| ], | |
| "transformation": { | |
| "tool": "python-stdlib", | |
| "tool_version": "3.13.7", | |
| "operation": "export-parquet-records", | |
| "export_format": "text", | |
| "source_row_count": 1000, | |
| "preserve_row_order": true, | |
| "preserve_text_values": false, | |
| "script_sha256": "6e81bfe74c5c573ea3bf02cb8c0f6ea7b5a00103b5f2e02a6719856da4ca02d4", | |
| "source_reader": "pyarrow", | |
| "source_reader_version": "23.0.1", | |
| "text_normalization": "join-title-content-replace-line-breaks-with-space-v1" | |
| } | |
| } | |
| ], | |
| "examples": [ | |
| { | |
| "sql": "SELECT *\nFROM read_text('hf://buckets/chowderai/chowder-demo/text/data/amazon-reviews/amazon-reviews-sample-train.txt')\nLIMIT 5;", | |
| "validation_status": "executed-successfully" | |
| } | |
| ], | |
| "notes": [ | |
| "One UTF-8, LF-terminated review per line: title and content joined by an em dash with spaces. Embedded line breaks are replaced with spaces; CRLF becomes one space. No headers, Title:/Content: labels, or blank separator rows. The text rendering does not preserve separate title/content fields.", | |
| "The canonical sample selection and order are inherited: 1,000 reviews, 500 negative and 500 positive, seed 42, with no label field. No resampling occurred.", | |
| "This file has 1,000 reviews and exactly 1,000 physical lines, matching the line-based read_text reader. Each SQL content value is the joined review text; title is not a separate SQL column.", | |
| "Every line was compared to the documented normalized title/content rendering of its canonical Parquet row. CSV, JSONL, and Parquet retain the separate original fields. SQL runtime execution remains unverified." | |
| ] | |
| } | |
Xet Storage Details
- Size:
- 7.57 kB
- Xet hash:
- df88e8e5355a8814d7c499699f61c5ea76d88628e0e3df7a2c95ccd7a4b8fb57
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.