Update README.md
Browse files
README.md
CHANGED
|
@@ -76,4 +76,93 @@ configs:
|
|
| 76 |
data_files:
|
| 77 |
- split: train
|
| 78 |
path: data/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
data_files:
|
| 77 |
- split: train
|
| 78 |
path: data/train-*
|
| 79 |
+
tags:
|
| 80 |
+
- food
|
| 81 |
+
- recip
|
| 82 |
+
license: mit
|
| 83 |
+
task_categories:
|
| 84 |
+
- text-classification
|
| 85 |
+
- text-generation
|
| 86 |
+
- text2text-generation
|
| 87 |
+
language:
|
| 88 |
+
- en
|
| 89 |
+
pretty_name: All Recipes (sm)
|
| 90 |
+
size_categories:
|
| 91 |
+
- 1K<n<10K
|
| 92 |
---
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
# all-recipes-xs (2000)
|
| 96 |
+
|
| 97 |
+
[All Recipes](https://allrecipes.com) dataset (small).
|
| 98 |
+
|
| 99 |
+
```python
|
| 100 |
+
from datasets import load_dataset
|
| 101 |
+
|
| 102 |
+
# Load the dataset
|
| 103 |
+
dataset = load_dataset("AWeirdDev/all-recipes-sm")
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
Alternatively, load with `pickle` from `_frozen.pkl`:
|
| 107 |
+
|
| 108 |
+
```python
|
| 109 |
+
import pickle
|
| 110 |
+
import requests
|
| 111 |
+
|
| 112 |
+
r = requests.get("https://huggingface.co/datasets/AWeirdDev/all-recipes-sm/resolve/main/_frozen.pkl")
|
| 113 |
+
dataset = pickle.loads(r.content)
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
+
## Features
|
| 117 |
+
|
| 118 |
+
**Note:** Empty values are presented as `"unknown"` instead of `None` (normally, unless handled by the 🤗 Datasets library).
|
| 119 |
+
|
| 120 |
+
```python
|
| 121 |
+
{
|
| 122 |
+
"name": "Dutch … Beef", # Name of the recipe
|
| 123 |
+
"review": "I found this recipe attached…", # Subheading
|
| 124 |
+
"rating": 5.0, # Overall rating 0 ~ 5
|
| 125 |
+
"meta": {
|
| 126 |
+
# Metadata. May not be present
|
| 127 |
+
"active_time": None,
|
| 128 |
+
"additional_time": None,
|
| 129 |
+
"bake_time": None,
|
| 130 |
+
"chill_time": None,
|
| 131 |
+
"cook_time": "4 hrs 5 mins",
|
| 132 |
+
"cool_time": None,
|
| 133 |
+
"fry_time": None,
|
| 134 |
+
"marinate_time": None,
|
| 135 |
+
"prep_time": "10 mins",
|
| 136 |
+
"rest_time": None,
|
| 137 |
+
"servings": "12",
|
| 138 |
+
"soak_time": None,
|
| 139 |
+
"stand_time": None,
|
| 140 |
+
"total_time": "4 hrs 15 mins",
|
| 141 |
+
"yield": "12 servings"
|
| 142 |
+
},
|
| 143 |
+
"ingredients": [
|
| 144 |
+
{
|
| 145 |
+
"name": "corned beef brisket with spice packet",
|
| 146 |
+
"quanity": "1",
|
| 147 |
+
"unit": "(4 pound)"
|
| 148 |
+
},
|
| 149 |
+
...
|
| 150 |
+
],
|
| 151 |
+
"steps": [
|
| 152 |
+
# Steps (unstripped)
|
| 153 |
+
" Place corned beef brisket…\n",
|
| 154 |
+
" Combine brown sugar, …\n",
|
| 155 |
+
" Preheat an outdoor grill …\n",
|
| 156 |
+
" Place the coated corned …\n"
|
| 157 |
+
],
|
| 158 |
+
"cooks_note": "If there is a…", # Cook's Note (if present)
|
| 159 |
+
"editors_note": "Nutrition data for this…", # Editor's Note (if present)
|
| 160 |
+
"nutrition_facts": {
|
| 161 |
+
"Calories": "251",
|
| 162 |
+
"Carbs": "16g",
|
| 163 |
+
"Fat": "13g",
|
| 164 |
+
"Protein": "13g"
|
| 165 |
+
},
|
| 166 |
+
"url": "https://www.allrecipes.com/recipe/267704/dutch-oven-crunchy-corned-beef/"
|
| 167 |
+
}
|
| 168 |
+
```
|