all-recipes-xs / README.md
AWeirdDev's picture
Update README.md
67d0c1f verified
|
raw
history blame
2.73 kB
metadata
license: mit
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: cook_time
          dtype: string
        - name: cool_time
          dtype: string
        - name: fry_time
          dtype: string
        - name: prep_time
          dtype: string
        - name: rest_time
          dtype: string
        - name: servings
          dtype: string
        - name: soak_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: 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: 402679
      num_examples: 500
  download_size: 157072
  dataset_size: 402679
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
task_categories:
  - text-classification
  - text-generation
  - text2text-generation
language:
  - en
pretty_name: All Recipes (xs)
size_categories:
  - n<1K

all-recipes-xs (500)

All Recipes dataset (extra small).

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("AWeirdDev/all-recipes-xs")

Features

Note: Empty values are presented as "unknown" instead of None.

{
    "name": "Dutch … Beef",  # Name of the recipe
    "review": "I found this recipe attached…",  # Subheading
    "rating": 5.0,  # Overall rating 0 ~ 5
    "meta": {
        # Metadata. Some keys may not present
        "prep_time": "10 mins",
        "cook_time": "4 hrs 5 mins",
        "total_time": "4 hrs 15 mins",
        "servings": "12",
        "yield": "12 servings"
    },
    "ingredients": [
        {
            "quanity": "1",
            "unit": "(4 pound)",
            "name": "corned beef brisket with spice packet"
        },
        ...
    ],
    "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",
        "Fat": "13g",
        "Carbs": "16g",
        "Protein": "13g"
    },
    "url": "https://www.allrecipes.com/recipe/267704/dutch-oven-crunchy-corned-beef/"
}