docs: fill in dataset card documentation (description, biases, limitations, curation rationale)
#2
by
samtuckervegan - opened
README.md
CHANGED
|
@@ -14,7 +14,123 @@ configs:
|
|
| 14 |
data_files:
|
| 15 |
- split: train
|
| 16 |
path: data/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
|
|
|
| 18 |
# Dataset Card for "all-recipes"
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
data_files:
|
| 15 |
- split: train
|
| 16 |
path: data/train-*
|
| 17 |
+
language:
|
| 18 |
+
- en
|
| 19 |
+
license: other
|
| 20 |
+
multilinguality:
|
| 21 |
+
- monolingual
|
| 22 |
+
size_categories:
|
| 23 |
+
- 1M<n<10M
|
| 24 |
+
pretty_name: All Recipes
|
| 25 |
+
task_categories:
|
| 26 |
+
- text2text-generation
|
| 27 |
+
- text-generation
|
| 28 |
---
|
| 29 |
+
|
| 30 |
# Dataset Card for "all-recipes"
|
| 31 |
|
| 32 |
+
## Dataset Description
|
| 33 |
+
|
| 34 |
+
- **Homepage:** [cookbooks.com](https://www.cookbooks.com)
|
| 35 |
+
- **Repository:** [corbt/all-recipes](https://huggingface.co/datasets/corbt/all-recipes)
|
| 36 |
+
- **Paper:** N/A
|
| 37 |
+
- **Point of Contact:** [More Information Needed]
|
| 38 |
+
|
| 39 |
+
### Dataset Summary
|
| 40 |
+
|
| 41 |
+
`all-recipes` is a collection of 2,147,248 cooking recipes scraped from cookbooks.com and reformatted as input/output pairs for instruction fine-tuning of language models. Each example contains a recipe name and ingredient list as the `input` field, with the preparation steps as the expected output. The dataset is intended for fine-tuning generative models on recipe text generation tasks.
|
| 42 |
+
|
| 43 |
+
### Languages
|
| 44 |
+
|
| 45 |
+
English only. Measurements and terminology follow US customary conventions.
|
| 46 |
+
|
| 47 |
+
## Dataset Structure
|
| 48 |
+
|
| 49 |
+
### Data Instances
|
| 50 |
+
|
| 51 |
+
Each example contains a single `input` field formatted as:
|
| 52 |
+
|
| 53 |
+
```
|
| 54 |
+
Recipe: <recipe title>
|
| 55 |
+
Ingredients: <ingredient list>
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
The expected output (preparation steps) is not stored as a separate field; the dataset is structured for use with instruction-following fine-tuning frameworks where the model generates the directions from the input prompt.
|
| 59 |
+
|
| 60 |
+
### Data Fields
|
| 61 |
+
|
| 62 |
+
- `input` (`str`): A formatted string combining the recipe title and ingredient list, suitable for use as a prompt in instruction fine-tuning.
|
| 63 |
+
|
| 64 |
+
### Data Splits
|
| 65 |
+
|
| 66 |
+
The dataset contains a single `train` split with 2,147,248 examples.
|
| 67 |
+
|
| 68 |
+
## Dataset Creation
|
| 69 |
+
|
| 70 |
+
### Curation Rationale
|
| 71 |
+
|
| 72 |
+
The dataset was assembled to provide a large-scale instruction fine-tuning corpus for recipe generation. cookbooks.com hosts a large public archive of user-submitted recipes, making it a convenient single-source scrape for culinary text at scale. The input/output format was chosen to match the prompt structure used in instruction-tuned language model training (e.g., Alpaca-style fine-tuning), where a model learns to produce directions given a recipe name and ingredient list.
|
| 73 |
+
|
| 74 |
+
### Source Data
|
| 75 |
+
|
| 76 |
+
All 2,147,248 recipes derive from a scrape of cookbooks.com, a US-based recipe hosting platform with user-contributed content. No additional sources were incorporated. No manual curation or editorial filtering was applied beyond deduplication.
|
| 77 |
+
|
| 78 |
+
#### Initial Data Collection and Normalization
|
| 79 |
+
|
| 80 |
+
Recipes were collected via automated scraping of cookbooks.com. The raw scraped data was reformatted into the `input` field structure. No normalization of ingredient names, measurement units, or recipe titles was performed.
|
| 81 |
+
|
| 82 |
+
#### Who are the source language producers?
|
| 83 |
+
|
| 84 |
+
Recipes were originally authored by cookbooks.com users, a predominantly US-based, English-speaking community.
|
| 85 |
+
|
| 86 |
+
### Annotations
|
| 87 |
+
|
| 88 |
+
The dataset contains no human annotations. The `input` field structure is a programmatic reformatting of the scraped recipe data.
|
| 89 |
+
|
| 90 |
+
### Personal and Sensitive Information
|
| 91 |
+
|
| 92 |
+
Recipe authors on cookbooks.com may have associated usernames or attribution text. This dataset does not retain author attribution fields; the `input` field contains only recipe title and ingredient text.
|
| 93 |
+
|
| 94 |
+
## Considerations for Using the Data
|
| 95 |
+
|
| 96 |
+
### Social Impact of Dataset
|
| 97 |
+
|
| 98 |
+
Models fine-tuned on this dataset acquire culinary text generation capabilities that can be used in recipe generation applications, cooking assistants, and meal planning tools. The dataset's distributional characteristics (described below) will be reflected in model outputs unless researchers apply targeted fine-tuning or retrieval augmentation to address coverage gaps.
|
| 99 |
+
|
| 100 |
+
### Discussion of Biases
|
| 101 |
+
|
| 102 |
+
**Geographic and cultural skew.** The dataset derives entirely from cookbooks.com, a US-based platform with a user base concentrated in North America. Cuisines from Africa, South Asia, Southeast Asia, Latin America, the Caribbean, the Middle East, East Asia, and indigenous food traditions are substantially underrepresented relative to their global prevalence. Models trained on this dataset will generate recipes that skew toward mainstream North American and European cooking styles.
|
| 103 |
+
|
| 104 |
+
**Measurement and unit conventions.** All ingredient quantities use US customary units (cups, tablespoons, teaspoons, ounces, pounds, Fahrenheit). Models fine-tuned on this corpus will default to these conventions and are unlikely to produce metric-unit output without additional prompting or fine-tuning.
|
| 105 |
+
|
| 106 |
+
**Dietary category distribution.** The dataset contains no structured dietary labels (vegan, vegetarian, halal, kosher, allergen-free, gluten-free). cookbooks.com's user-submitted content skews toward conventional Western cooking, so animal-product recipes predominate in the corpus. Models trained on this dataset will reflect this distribution and may underperform on plant-based or restricted-diet recipe generation without targeted fine-tuning.
|
| 107 |
+
|
| 108 |
+
**No quality filtering.** Recipes are user-submitted and have not been editorially reviewed. Recipe quality, clarity of instructions, and accuracy of ingredient quantities vary substantially across the corpus.
|
| 109 |
+
|
| 110 |
+
### Other Known Limitations
|
| 111 |
+
|
| 112 |
+
**English only.** The dataset is entirely in English and is not suitable for multilingual recipe generation.
|
| 113 |
+
|
| 114 |
+
**No nutritional metadata.** The dataset does not include caloric content, macronutrient breakdown, allergen information, or serving size normalization.
|
| 115 |
+
|
| 116 |
+
**No structured output field.** The preparation steps (directions) are embedded in the expected completion rather than stored as a structured field, which limits the dataset's utility for tasks requiring structured recipe parsing (e.g., ingredient extraction, step segmentation) without additional preprocessing.
|
| 117 |
+
|
| 118 |
+
**License ambiguity.** The dataset derives from user-submitted content on cookbooks.com. The terms of use for the source platform should be reviewed before deploying models trained on this data in commercial applications.
|
| 119 |
+
|
| 120 |
+
## Additional Information
|
| 121 |
+
|
| 122 |
+
### Dataset Curators
|
| 123 |
+
|
| 124 |
+
Dataset compiled by [corbt](https://huggingface.co/corbt).
|
| 125 |
+
|
| 126 |
+
### Licensing Information
|
| 127 |
+
|
| 128 |
+
The source content was scraped from cookbooks.com under that platform's terms of use. Researchers should review cookbooks.com's terms of service before using this dataset in commercial applications. No explicit open license has been assigned to this dataset.
|
| 129 |
+
|
| 130 |
+
### Citation Information
|
| 131 |
+
|
| 132 |
+
No paper is associated with this dataset. If you use it in published research, please cite the source platform and the dataset card:
|
| 133 |
+
|
| 134 |
+
```
|
| 135 |
+
corbt. (2023). all-recipes [Dataset]. Hugging Face. https://huggingface.co/datasets/corbt/all-recipes
|
| 136 |
+
```
|