File size: 3,712 Bytes
3837124 96a9064 3837124 96a9064 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
---
dataset_info:
features:
- name: name
dtype: string
- name: review
dtype: string
- name: rating
dtype: float64
- name: meta
struct:
- name: active_time
dtype: string
- name: additional_time
dtype: string
- name: bake_time
dtype: string
- name: chill_time
dtype: string
- name: cook_time
dtype: string
- name: cool_time
dtype: string
- name: fry_time
dtype: string
- name: marinate_time
dtype: string
- name: prep_time
dtype: string
- name: rest_time
dtype: string
- name: servings
dtype: string
- name: soak_time
dtype: string
- name: stand_time
dtype: string
- name: total_time
dtype: string
- name: yield
dtype: string
- name: ingredients
list:
- name: name
dtype: string
- name: quanity
dtype: string
- name: unit
dtype: string
- name: steps
sequence: string
- name: cooks_note
dtype: string
- name: editors_note
dtype: string
- name: nutrition_facts
struct:
- name: Calories
dtype: string
- name: Carbs
dtype: string
- name: Fat
dtype: string
- name: Protein
dtype: string
- name: url
dtype: string
splits:
- name: train
num_bytes: 3102556
num_examples: 2000
download_size: 1262722
dataset_size: 3102556
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
tags:
- food
- recip
license: mit
task_categories:
- text-classification
- text-generation
- text2text-generation
language:
- en
pretty_name: All Recipes (sm)
size_categories:
- 1K<n<10K
---
# all-recipes-xs (2000)
[All Recipes](https://allrecipes.com) dataset (small).
```python
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("AWeirdDev/all-recipes-sm")
```
Alternatively, load with `pickle` from `_frozen.pkl`:
```python
import pickle
import requests
r = requests.get("https://huggingface.co/datasets/AWeirdDev/all-recipes-sm/resolve/main/_frozen.pkl")
dataset = pickle.loads(r.content)
```
## Features
**Note:** Empty values are presented as `"unknown"` instead of `None` (normally, unless handled by the 🤗 Datasets library).
```python
{
"name": "Dutch … Beef", # Name of the recipe
"review": "I found this recipe attached…", # Subheading
"rating": 5.0, # Overall rating 0 ~ 5
"meta": {
# Metadata. May not be present
"active_time": None,
"additional_time": None,
"bake_time": None,
"chill_time": None,
"cook_time": "4 hrs 5 mins",
"cool_time": None,
"fry_time": None,
"marinate_time": None,
"prep_time": "10 mins",
"rest_time": None,
"servings": "12",
"soak_time": None,
"stand_time": None,
"total_time": "4 hrs 15 mins",
"yield": "12 servings"
},
"ingredients": [
{
"name": "corned beef brisket with spice packet",
"quanity": "1",
"unit": "(4 pound)"
},
...
],
"steps": [
# Steps (unstripped)
" Place corned beef brisket…\n",
" Combine brown sugar, …\n",
" Preheat an outdoor grill …\n",
" Place the coated corned …\n"
],
"cooks_note": "If there is a…", # Cook's Note (if present)
"editors_note": "Nutrition data for this…", # Editor's Note (if present)
"nutrition_facts": {
"Calories": "251",
"Carbs": "16g",
"Fat": "13g",
"Protein": "13g"
},
"url": "https://www.allrecipes.com/recipe/267704/dutch-oven-crunchy-corned-beef/"
}
``` |