Commit ·
c99f4ff
0
Parent(s):
Duplicate from C-three-AN-Nourich/Recipe-1m-processed
Browse filesCo-authored-by: Rajarshi Roy <Rajarshi-Roy-research@users.noreply.huggingface.co>
- .gitattributes +64 -0
- README.md +290 -0
- processed_instructions.json +3 -0
- test_data.json +3 -0
- train_data.json +3 -0
- val_data.json +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
# Audio files - uncompressed
|
| 39 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
# Audio files - compressed
|
| 43 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
# Image files - uncompressed
|
| 49 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
# Image files - compressed
|
| 54 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
# Video files - compressed
|
| 58 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
processed_instructions-001.json filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
test_data.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
train_data.json filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
val_data.json filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
processed_instructions.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Recipe1M Processed Dataset Collection
|
| 2 |
+
<!--
|
| 3 |
+
[](https://github.com/yourusername/recipe1m-processed)
|
| 4 |
+
[](LICENSE.md) -->
|
| 5 |
+
|
| 6 |
+
## Abstract
|
| 7 |
+
|
| 8 |
+
This repository provides two complementary processed datasets derived from the Recipe1M dataset:
|
| 9 |
+
|
| 10 |
+
1. **Instruction-Ingredient Alignment Dataset** (`processed_instructions.json`): Fine-grained instruction-ingredient alignment at the fragment level with multi-granularity ingredient representations
|
| 11 |
+
2. **Multimodal Recipe Dataset** (`train_data.json`, `val_data.json`, `test_data.json`): Recipe data with ingredient-image mappings and recipe images for multimodal learning
|
| 12 |
+
|
| 13 |
+
Together, these datasets enable comprehensive recipe understanding tasks including ingredient recognition, instruction generation, multimodal learning, and cooking process modeling.
|
| 14 |
+
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
## Table of Contents
|
| 18 |
+
|
| 19 |
+
- [Dataset Overview](#dataset-overview)
|
| 20 |
+
- [Dataset 1: Instruction-Ingredient Alignment](#dataset-1-instruction-ingredient-alignment)
|
| 21 |
+
- [Dataset 2: Multimodal Recipe Data](#dataset-2-multimodal-recipe-data)
|
| 22 |
+
- [Combined Usage Examples](#combined-usage-examples)
|
| 23 |
+
- [Use Cases](#use-cases)
|
| 24 |
+
- [License](#license)
|
| 25 |
+
- [Citation](#citation)
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## Dataset Overview
|
| 30 |
+
|
| 31 |
+
| Dataset | Files | Key Features | Primary Use Cases |
|
| 32 |
+
|---------|-------|--------------|-------------------|
|
| 33 |
+
| **Instruction-Ingredient Alignment** | `processed_instructions.json` | Fragment-level alignment, multi-granularity ingredients | Instruction parsing, ingredient extraction, process understanding |
|
| 34 |
+
| **Multimodal Recipe Data** | `train_data.json`, `val_data.json`, `test_data.json` | Image mappings, standardized ingredients, train/val/test splits | Multimodal learning, image-based retrieval, model training |
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
## Dataset 1: Instruction-Ingredient Alignment
|
| 39 |
+
|
| 40 |
+
### Overview
|
| 41 |
+
|
| 42 |
+
Fine-grained instruction-ingredient alignment where each cooking instruction is fragmented at ingredient boundaries and aligned with corresponding ingredient information at three levels of granularity.
|
| 43 |
+
|
| 44 |
+
### File Structure
|
| 45 |
+
|
| 46 |
+
**processed_instructions.json**
|
| 47 |
+
- **Format**: JSON dictionary with recipe IDs as keys
|
| 48 |
+
- **Recipe ID Format**: 10-character hexadecimal (e.g., `e40cfb8510`)
|
| 49 |
+
|
| 50 |
+
### Data Schema
|
| 51 |
+
|
| 52 |
+
```json
|
| 53 |
+
{
|
| 54 |
+
"id": "recipe_id",
|
| 55 |
+
"instructions": [
|
| 56 |
+
{
|
| 57 |
+
"instruction": "cooking step text fragment",
|
| 58 |
+
"raw_ing": "original ingredient with quantity",
|
| 59 |
+
"final_ing": "standardized ingredient name",
|
| 60 |
+
"no_with_ing": "ingredient without modifiers"
|
| 61 |
+
}
|
| 62 |
+
]
|
| 63 |
+
}
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
### Field Descriptions
|
| 67 |
+
|
| 68 |
+
#### Top-Level Fields
|
| 69 |
+
|
| 70 |
+
| Field | Type | Description | Example |
|
| 71 |
+
|-------|------|-------------|---------|
|
| 72 |
+
| `id` | String | Unique recipe identifier | `"e40cfb8510"` |
|
| 73 |
+
| `instructions` | List | Cooking steps with ingredient alignment | See below |
|
| 74 |
+
|
| 75 |
+
#### Instruction Object Fields
|
| 76 |
+
|
| 77 |
+
| Field | Type | Description | Example |
|
| 78 |
+
|-------|------|-------------|---------|
|
| 79 |
+
| `instruction` | String | Instruction text fragment | `"stir together flour,"` |
|
| 80 |
+
| `raw_ing` | String/null | Original ingredient with quantities | `"2 c. flour"` |
|
| 81 |
+
| `final_ing` | String/null | Standardized ingredient name | `"flour"` |
|
| 82 |
+
| `no_with_ing` | String/null | Ingredient without modifiers | `"flour"` |
|
| 83 |
+
|
| 84 |
+
**Note**: `null` values indicate instruction steps without specific ingredient references (e.g., cooking techniques, equipment preparation).
|
| 85 |
+
|
| 86 |
+
### Example Data
|
| 87 |
+
|
| 88 |
+
```json
|
| 89 |
+
{
|
| 90 |
+
"id": "e40cfb8510",
|
| 91 |
+
"instructions": [
|
| 92 |
+
{
|
| 93 |
+
"instruction": "stir together flour,",
|
| 94 |
+
"raw_ing": "2 c. flour",
|
| 95 |
+
"final_ing": "flour",
|
| 96 |
+
"no_with_ing": "flour"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"instruction": " soda ",
|
| 100 |
+
"raw_ing": "1 teaspoon baking soda",
|
| 101 |
+
"final_ing": "baking soda",
|
| 102 |
+
"no_with_ing": "baking soda"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"instruction": "and salt.",
|
| 106 |
+
"raw_ing": "1/2 teaspoon salt",
|
| 107 |
+
"final_ing": "salt",
|
| 108 |
+
"no_with_ing": "salt"
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"instruction": "stir into a very stiff batter.",
|
| 112 |
+
"raw_ing": null,
|
| 113 |
+
"final_ing": null,
|
| 114 |
+
"no_with_ing": null
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"instruction": "bake 1 hour at 325 degrees.",
|
| 118 |
+
"raw_ing": null,
|
| 119 |
+
"final_ing": null,
|
| 120 |
+
"no_with_ing": null
|
| 121 |
+
}
|
| 122 |
+
]
|
| 123 |
+
}
|
| 124 |
+
```
|
| 125 |
+
|
| 126 |
+
### Key Features
|
| 127 |
+
|
| 128 |
+
- **Instruction Fragmentation**: Instructions split at ingredient boundaries while maintaining grammatical structure
|
| 129 |
+
- **Multi-Granularity**: Three levels of ingredient representation (raw, final, no modifiers)
|
| 130 |
+
- **Complete Process**: Includes all steps, both ingredient-specific and technique-only
|
| 131 |
+
- **Ingredient Repetition**: Tracks multiple uses of the same ingredient throughout the recipe
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
|
| 135 |
+
## Dataset 2: Multimodal Recipe Data
|
| 136 |
+
|
| 137 |
+
### Overview
|
| 138 |
+
|
| 139 |
+
Structured recipe data with ingredient-image mappings, standardized ingredient names, and associated recipe images. Split into training, validation, and test sets for machine learning workflows.
|
| 140 |
+
|
| 141 |
+
### File Structure
|
| 142 |
+
|
| 143 |
+
| File | Purpose | Recipe IDs Example |
|
| 144 |
+
|------|---------|-------------------|
|
| 145 |
+
| `train_data.json` | Training set | `df203c7b00`, `da3722f92a`, ... |
|
| 146 |
+
| `val_data.json` | Validation set | `da3722f92a`, ... |
|
| 147 |
+
| `test_data.json` | Test set | `da36dcb1f9`, ... |
|
| 148 |
+
|
| 149 |
+
### Data Schema
|
| 150 |
+
|
| 151 |
+
```json
|
| 152 |
+
{
|
| 153 |
+
"recipe_id": {
|
| 154 |
+
"ing_img_ids": [image_id or null, ...],
|
| 155 |
+
"ing_text_18k": ["standardized_name" or null, ...],
|
| 156 |
+
"ing_texts": ["original ingredient text" or null, ...],
|
| 157 |
+
"instructions": ["step 1", "step 2", ...],
|
| 158 |
+
"recipe_img_ids": ["image1.jpg", "image2.jpg", ...]
|
| 159 |
+
}
|
| 160 |
+
}
|
| 161 |
+
```
|
| 162 |
+
|
| 163 |
+
### Field Descriptions
|
| 164 |
+
|
| 165 |
+
| Field | Type | Description | Example |
|
| 166 |
+
|-------|------|-------------|---------|
|
| 167 |
+
| `ing_img_ids` | List[int/null] | Image IDs from ingredient database | `[17263, 8861, None, ...]` |
|
| 168 |
+
| `ing_text_18k` | List[str/null] | Standardized names (18K vocabulary) | `['butter', 'olive oil', None, ...]` |
|
| 169 |
+
| `ing_texts` | List[str/null] | Original text with quantities | `['1 teaspoon butter', '2 teaspoons olive oil', ...]` |
|
| 170 |
+
| `instructions` | List[str] | Cooking steps in order | `['melt butter', 'add garlic', ...]` |
|
| 171 |
+
| `recipe_img_ids` | List[str] | Recipe image filenames | `['50cbeb2173.jpg', '95f9aa7309.jpg', ...]` |
|
| 172 |
+
|
| 173 |
+
### Example Data
|
| 174 |
+
|
| 175 |
+
```json
|
| 176 |
+
{
|
| 177 |
+
"da3722f92a": {
|
| 178 |
+
"ing_img_ids": [17263, 8861, 11498, 3496, None, 578],
|
| 179 |
+
"ing_text_18k": ["butter", "olive oil", "garlic cloves", "shrimp", None, "lemon"],
|
| 180 |
+
"ing_texts": [
|
| 181 |
+
"1 teaspoon butter",
|
| 182 |
+
"2 teaspoons olive oil",
|
| 183 |
+
"3 garlic cloves, minced or pressed",
|
| 184 |
+
"1 lb california shrimp or 1 lb spiny lobster",
|
| 185 |
+
None,
|
| 186 |
+
"1 lemon, juice of"
|
| 187 |
+
],
|
| 188 |
+
"instructions": [
|
| 189 |
+
"melt butter and oil together in saute pan.",
|
| 190 |
+
"add garlic, saute for one minute, and add shrimp.",
|
| 191 |
+
"saute for one minute, add wine, lemon juice, salt, and pepper.",
|
| 192 |
+
"saute quickly while sauce reduces and shrimp turns pink.",
|
| 193 |
+
"do not overcook.",
|
| 194 |
+
"sprinkle with parsley before serving."
|
| 195 |
+
],
|
| 196 |
+
"recipe_img_ids": [
|
| 197 |
+
"50cbeb2173.jpg",
|
| 198 |
+
"95f9aa7309.jpg",
|
| 199 |
+
"b81c7c2b13.jpg",
|
| 200 |
+
"977929a1ff.jpg"
|
| 201 |
+
]
|
| 202 |
+
}
|
| 203 |
+
}
|
| 204 |
+
```
|
| 205 |
+
|
| 206 |
+
### Key Features
|
| 207 |
+
|
| 208 |
+
- **Multimodal Alignment**: Links text ingredients to visual representations
|
| 209 |
+
- **Standardization**: 18K ingredient vocabulary for consistency
|
| 210 |
+
- **Image References**: Both ingredient images and recipe images
|
| 211 |
+
- **Train/Val/Test Split**: Ready for supervised learning workflows
|
| 212 |
+
- **Null Handling**: Graceful handling of missing image mappings
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
---
|
| 216 |
+
|
| 217 |
+
|
| 218 |
+
---
|
| 219 |
+
|
| 220 |
+
## Related Resources
|
| 221 |
+
|
| 222 |
+
These processed datasets build upon:
|
| 223 |
+
- **Recipe1M Dataset**: Original source of recipe data and images
|
| 224 |
+
- **Ingredient Image Database**: Referenced by `ing_img_ids`
|
| 225 |
+
- **Recipe Image Database**: Referenced by `recipe_img_ids`
|
| 226 |
+
- **18K Ingredient Vocabulary**: Used for standardization
|
| 227 |
+
|
| 228 |
+
---
|
| 229 |
+
|
| 230 |
+
## License
|
| 231 |
+
|
| 232 |
+
Please refer to the original Recipe1M dataset license and terms of use. These processed versions maintain the same licensing requirements as the source dataset.
|
| 233 |
+
|
| 234 |
+
---
|
| 235 |
+
|
| 236 |
+
## Citation
|
| 237 |
+
|
| 238 |
+
If you use these datasets, please cite the original Recipe1M work:
|
| 239 |
+
|
| 240 |
+
```bibtex
|
| 241 |
+
@inproceedings{salvador2017learning,
|
| 242 |
+
title={Learning Cross-Modal Embeddings for Cooking Recipes and Food Images},
|
| 243 |
+
author={Salvador, Amaia and Hynes, Nicholas and Aytar, Yusuf and Marin, Javier and
|
| 244 |
+
Ofli, Ferda and Weber, Ingmar and Torralba, Antonio},
|
| 245 |
+
booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
|
| 246 |
+
year={2017}
|
| 247 |
+
}
|
| 248 |
+
```
|
| 249 |
+
<!--
|
| 250 |
+
For these processed datasets:
|
| 251 |
+
|
| 252 |
+
```bibtex
|
| 253 |
+
@misc{recipe1m_processed_collection,
|
| 254 |
+
title={Recipe1M Processed Dataset Collection: Instruction-Ingredient Alignment and Multimodal Recipe Data},
|
| 255 |
+
author={Your Name},
|
| 256 |
+
year={2025},
|
| 257 |
+
howpublished={\url{https://github.com/yourusername/recipe1m-processed}},
|
| 258 |
+
}
|
| 259 |
+
``` -->
|
| 260 |
+
|
| 261 |
+
---
|
| 262 |
+
|
| 263 |
+
## Acknowledgments
|
| 264 |
+
|
| 265 |
+
These datasets are derived from the Recipe1M dataset. We acknowledge the original authors for their valuable contribution to the research community. The processing includes instruction-ingredient alignment and multimodal mappings to enable new research directions.
|
| 266 |
+
|
| 267 |
+
---
|
| 268 |
+
<!--
|
| 269 |
+
## Contact
|
| 270 |
+
|
| 271 |
+
For questions or issues regarding these processed datasets, please open an issue on GitHub or contact [your contact information].
|
| 272 |
+
|
| 273 |
+
--- -->
|
| 274 |
+
|
| 275 |
+
## Appendix: Quick Reference
|
| 276 |
+
|
| 277 |
+
### Dataset 1: Instruction-Ingredient Alignment
|
| 278 |
+
- **Files**: `processed_instructions.json`
|
| 279 |
+
- **Key Features**: Fragment-level alignment, 3 granularity levels
|
| 280 |
+
- **Best For**: Instruction parsing, ingredient extraction
|
| 281 |
+
|
| 282 |
+
### Dataset 2: Multimodal Recipe Data
|
| 283 |
+
- **Files**: `train_data.json`, `val_data.json`, `test_data.json`
|
| 284 |
+
- **Key Features**: Image mappings, train/val/test split
|
| 285 |
+
- **Best For**: Multimodal learning, ingredient recognition
|
| 286 |
+
|
| 287 |
+
### Common Recipe ID Format
|
| 288 |
+
- **Format**: 10-character hexadecimal
|
| 289 |
+
- **Example**: `da3722f92a`, `e40cfb8510`
|
| 290 |
+
- **Usage**: Links recipes across both datasets
|
processed_instructions.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:925765e789e7c037c8ec1df465c38cbd1b368025c33125cd5cbeb46bd8fc5422
|
| 3 |
+
size 2444378356
|
test_data.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34bfd35f7bd41f832737a848b4649401c81c70d615e4ce535a210d6aa4e2e70d
|
| 3 |
+
size 80091769
|
train_data.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99358ea4bd5016c06f6b67844e9c23c30aa79b8294d281d1039e9b21277c83ef
|
| 3 |
+
size 373313977
|
val_data.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d4e587a38bfc212cfebc84270972792a5472edfbaee2fbd68e9580af69a8853
|
| 3 |
+
size 78961688
|