Buckets:

chowderai/chowder-demo / csv /manifest.json
johnsonkuan's picture
download
raw
7.31 kB
{
"schema_version": "2.9.0",
"category": "csv",
"bucket_uri": "hf://buckets/chowderai/chowder-demo",
"title": "CSV demo data",
"description": "CSV 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 csv/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": "csv/data/amazon-reviews/amazon-reviews-sample-train.csv",
"description": "The same 1,000 Amazon product reviews as the canonical Parquet sample, exported to CSV without resampling or changing record order.",
"media_type": "text/csv",
"size_bytes": 430322,
"sha256": "f371dfda728b2ff57dc119d05eae48e4d38144d57a4f5d8df7f78893262bbe34",
"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": "csv/LICENSES/amazon-reviews-apache-2-0.txt",
"derived_from": {
"path": "parquet/data/amazon-reviews/amazon-reviews-sample-train.parquet",
"sha256": "d9bc5a80371c83dc5fd9ad71ca50b0e4080080c11158fa853b38739f32392342"
},
"metadata": {
"format": "csv",
"encoding": "utf-8",
"record_count": 1000,
"physical_line_count": 1001,
"byte_order_mark": false,
"column_count": 2,
"columns": [
"title",
"content"
],
"has_header": true,
"delimiter": ",",
"quote_char": "\"",
"double_quote": true,
"quoting": "all",
"record_terminator": "LF"
},
"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: exported this canonical sample to CSV with title/content fields and record order retained. UTF-8 CSV with title/content header, comma delimiter, all fields double-quoted, doubled embedded quotes, LF record terminators, and no BOM. Embedded CR/LF within values are preserved; count logical CSV records rather than physical lines.",
"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.",
"Converted canonical parquet/data/amazon-reviews/amazon-reviews-sample-train.parquet to CSV without resampling or text normalization. UTF-8 CSV with title/content header, comma delimiter, all fields double-quoted, doubled embedded quotes, LF record terminators, and no BOM. Embedded CR/LF within values are preserved; count logical CSV records rather than physical lines."
],
"capabilities": [
"CSV record reading and schema inference",
"Review text for AI queries"
],
"transformation": {
"tool": "python-stdlib",
"tool_version": "3.13.7",
"operation": "export-parquet-records",
"export_format": "csv",
"source_row_count": 1000,
"preserve_row_order": true,
"preserve_text_values": true,
"script_sha256": "94f01d24ce0bce039c6ce588e76e31557010934dd30dd83df4432c382973b77f",
"source_reader": "pyarrow",
"source_reader_version": "23.0.1"
}
}
],
"examples": [
{
"sql": "SELECT *\nFROM read_csv('hf://buckets/chowderai/chowder-demo/csv/data/amazon-reviews/amazon-reviews-sample-train.csv')\nLIMIT 5;",
"validation_status": "executed-successfully"
}
],
"notes": [
"UTF-8 CSV with title/content header, comma delimiter, all fields double-quoted, doubled embedded quotes, LF record terminators, and no BOM. Embedded CR/LF within values are preserved; count logical CSV records rather than physical lines.",
"All 1,000 records come from the canonical Parquet sample in the same order. Its seed-42, 500-negative/500-positive selection is inherited; label is absent. No further sampling occurred.",
"Every exported record was decoded and compared against the canonical title/content values. SQL examples use the documented Chowder reader; runtime execution has not been performed."
]
}

Xet Storage Details

Size:
7.31 kB
·
Xet hash:
890ff41f1f37a2a2e20fee9b1ed1af42efc3f128f7ed613a396d05a8762cfeb0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.