Update README.md
Browse files
README.md
CHANGED
|
@@ -407,12 +407,9 @@ size_categories:
|
|
| 407 |
# Dataset Card for `folktexts` <!-- omit in toc -->
|
| 408 |
|
| 409 |
- [Dataset Details](#dataset-details)
|
| 410 |
-
- [Dataset Description](#dataset-description)
|
| 411 |
-
- [Dataset Sources](#dataset-sources)
|
| 412 |
- [Uses](#uses)
|
| 413 |
- [Dataset Structure](#dataset-structure)
|
| 414 |
- [Dataset Creation](#dataset-creation)
|
| 415 |
-
- [Source Data](#source-data)
|
| 416 |
- [Citation](#citation)
|
| 417 |
- [More Information](#more-information)
|
| 418 |
- [Dataset Card Authors](#dataset-card-authors)
|
|
@@ -467,15 +464,15 @@ eases customization, evaluation, and benchmarking with these datasets.**
|
|
| 467 |
|
| 468 |
## Dataset Details
|
| 469 |
|
| 470 |
-
### Dataset Description
|
| 471 |
|
| 472 |
- **Language(s) (NLP):** English
|
| 473 |
- **License:** Code is licensed under the MIT license; Data license is governed by the U.S. Census Bureau [terms of service](https://www.census.gov/data/developers/about/terms-of-service.html).
|
| 474 |
|
| 475 |
-
### Dataset Sources
|
| 476 |
|
| 477 |
- **Repository:** https://github.com/socialfoundations/folktexts
|
| 478 |
-
- **Paper:** https://
|
| 479 |
- **Data source:** [2018 American Community Survey Public Use Microdata Sample](https://www.census.gov/programs-surveys/acs/microdata/documentation/2018.html)
|
| 480 |
|
| 481 |
## Uses
|
|
@@ -492,18 +489,37 @@ as individual rows feature protected demographic attributes such as `sex` and
|
|
| 492 |
|
| 493 |
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
| 494 |
|
| 495 |
-
|
| 496 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 497 |
|
| 498 |
## Dataset Creation
|
| 499 |
|
| 500 |
-
### Source Data
|
| 501 |
|
| 502 |
The datasets are based on publicly available data from the American Community
|
| 503 |
Survey (ACS) Public Use Microdata Sample (PUMS), namely the
|
| 504 |
[2018 ACS 1-year PUMS files](https://www.census.gov/programs-surveys/acs/microdata/documentation.2018.html#list-tab-1370939201).
|
| 505 |
|
| 506 |
-
#### Data Collection and Processing
|
| 507 |
|
| 508 |
The categorical values were mapped to meaningful natural language
|
| 509 |
representations using the `folktexts` package, which in turn uses the official
|
|
@@ -511,7 +527,7 @@ representations using the `folktexts` package, which in turn uses the official
|
|
| 511 |
The data download and processing was aided by the `folktables` python package,
|
| 512 |
which in turn uses the official US Census web API.
|
| 513 |
|
| 514 |
-
#### Who are the source data producers?
|
| 515 |
|
| 516 |
U.S. Census Bureau.
|
| 517 |
|
|
|
|
| 407 |
# Dataset Card for `folktexts` <!-- omit in toc -->
|
| 408 |
|
| 409 |
- [Dataset Details](#dataset-details)
|
|
|
|
|
|
|
| 410 |
- [Uses](#uses)
|
| 411 |
- [Dataset Structure](#dataset-structure)
|
| 412 |
- [Dataset Creation](#dataset-creation)
|
|
|
|
| 413 |
- [Citation](#citation)
|
| 414 |
- [More Information](#more-information)
|
| 415 |
- [Dataset Card Authors](#dataset-card-authors)
|
|
|
|
| 464 |
|
| 465 |
## Dataset Details
|
| 466 |
|
| 467 |
+
### Dataset Description <!-- omit in toc -->
|
| 468 |
|
| 469 |
- **Language(s) (NLP):** English
|
| 470 |
- **License:** Code is licensed under the MIT license; Data license is governed by the U.S. Census Bureau [terms of service](https://www.census.gov/data/developers/about/terms-of-service.html).
|
| 471 |
|
| 472 |
+
### Dataset Sources <!-- omit in toc -->
|
| 473 |
|
| 474 |
- **Repository:** https://github.com/socialfoundations/folktexts
|
| 475 |
+
- **Paper:** ["Evaluating language models as risk scores", Cruz et al., NeurIPS 2024.](https://arxiv.org/pdf/2407.14614)
|
| 476 |
- **Data source:** [2018 American Community Survey Public Use Microdata Sample](https://www.census.gov/programs-surveys/acs/microdata/documentation/2018.html)
|
| 477 |
|
| 478 |
## Uses
|
|
|
|
| 489 |
|
| 490 |
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
| 491 |
|
| 492 |
+
**Description of dataset columns:**
|
| 493 |
+
- `id`: A unique row identifier.
|
| 494 |
+
- `description`: A textual description of an individual's features, following a bulleted-list format.
|
| 495 |
+
- `instruction`: The instruction used for zero-shot LLM prompting (should be pre-appended to the row description).
|
| 496 |
+
- `question`: A question relating to the task's target column.
|
| 497 |
+
- `choices`: A list of two answer options relating to the above question.
|
| 498 |
+
- `answer`: The correct answer from the above list of answer options.
|
| 499 |
+
- `answer_key`: The correct answer key; i.e., `A` for the first choice, or `B` for the second choice.
|
| 500 |
+
- `choice_question_prompt`: The full multiple-choice Q&A text string used for LLM prompting.
|
| 501 |
+
- `numeric_question`: A version of the question that prompts for a *numeric output* instead of a *discrete choice output*.
|
| 502 |
+
- `label`: The task's label. This is the correct output to the above numeric question.
|
| 503 |
+
- `numeric_question_prompt`: The full numeric Q&A text string used for LLM prompting.
|
| 504 |
+
- `<tabular-columns>`: All other columns correspond to the tabular features in this task. Each of these features will also appear in text form on the above description column.
|
| 505 |
+
|
| 506 |
+
The dataset was randomly split in `training`, `test`, and `validation` data,
|
| 507 |
+
following an 80%/10%/10% split.
|
| 508 |
+
Only the `test` split should be used to evaluate zero-shot LLM performance.
|
| 509 |
+
The `training` split can be used for fine-tuning, or for fitting traditional
|
| 510 |
+
supervised ML models on the tabular columns for metric baselines.
|
| 511 |
+
The `validation` split should be used for hyperparameter tuning, feature
|
| 512 |
+
engineering or any other model improvement loop.
|
| 513 |
|
| 514 |
## Dataset Creation
|
| 515 |
|
| 516 |
+
### Source Data <!-- omit in toc -->
|
| 517 |
|
| 518 |
The datasets are based on publicly available data from the American Community
|
| 519 |
Survey (ACS) Public Use Microdata Sample (PUMS), namely the
|
| 520 |
[2018 ACS 1-year PUMS files](https://www.census.gov/programs-surveys/acs/microdata/documentation.2018.html#list-tab-1370939201).
|
| 521 |
|
| 522 |
+
#### Data Collection and Processing <!-- omit in toc -->
|
| 523 |
|
| 524 |
The categorical values were mapped to meaningful natural language
|
| 525 |
representations using the `folktexts` package, which in turn uses the official
|
|
|
|
| 527 |
The data download and processing was aided by the `folktables` python package,
|
| 528 |
which in turn uses the official US Census web API.
|
| 529 |
|
| 530 |
+
#### Who are the source data producers? <!-- omit in toc -->
|
| 531 |
|
| 532 |
U.S. Census Bureau.
|
| 533 |
|