TurkishCodeMan commited on
Commit
a0b17bf
·
verified ·
1 Parent(s): b9ad154

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +57 -83
README.md CHANGED
@@ -1,85 +1,59 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: name
5
- dtype: string
6
- - name: id
7
- dtype: int64
8
- - name: minutes
9
- dtype: int64
10
- - name: contributor_id
11
- dtype: int64
12
- - name: submitted
13
- dtype: timestamp[s]
14
- - name: tags
15
- dtype: string
16
- - name: nutrition
17
- dtype: string
18
- - name: n_steps
19
- dtype: int64
20
- - name: steps
21
- dtype: string
22
- - name: description
23
- dtype: string
24
- - name: ingredients
25
- dtype: string
26
- - name: n_ingredients
27
- dtype: int64
28
- - name: random_reviews
29
- list: string
30
- - name: number_of_ratings
31
- dtype: int64
32
- - name: metadata
33
- struct:
34
- - name: recipe_id
35
- dtype: int64
36
- - name: variant
37
- dtype: int64
38
- - name: pdf_path
39
- dtype: string
40
- - name: image_paths
41
- list: string
42
- - name: layout_spec
43
- struct:
44
- - name: layout
45
- dtype: string
46
- - name: palette
47
- struct:
48
- - name: name
49
- dtype: string
50
- - name: bg
51
- dtype: string
52
- - name: accent
53
- dtype: string
54
- - name: text
55
- dtype: string
56
- - name: fontset
57
- struct:
58
- - name: name
59
- dtype: string
60
- - name: title
61
- dtype: string
62
- - name: body
63
- dtype: string
64
- - name: nutrition_viz
65
- dtype: string
66
- - name: section_order
67
- list: string
68
- - name: density
69
- dtype: string
70
- - name: noise
71
- dtype: float64
72
- - name: image
73
- dtype: image
74
- splits:
75
- - name: train
76
- num_bytes: 1785694845
77
- num_examples: 10096
78
- download_size: 2054668564
79
- dataset_size: 1785694845
80
- configs:
81
- - config_name: default
82
- data_files:
83
- - split: train
84
- path: data/train-*
85
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ task_categories:
4
+ - image-to-text
5
+ - text-generation
6
+ language:
7
+ - en
8
+ tags:
9
+ - recipes
10
+ - food
11
+ - multimodal
12
+ - rag
13
+ size_categories:
14
+ - 10K<n<100K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ---
16
+
17
+ # Recipe PDF Dataset
18
+
19
+ A multimodal dataset of 10K+ recipes rendered as PDF images with full metadata.
20
+
21
+ ## Dataset Description
22
+
23
+ Each sample contains:
24
+ - **image**: Recipe rendered as a styled PDF page (PNG, ~1654x2339px)
25
+ - **name**: Recipe title
26
+ - **description**: Recipe description
27
+ - **ingredients**: List of ingredients
28
+ - **steps**: Cooking instructions
29
+ - **nutrition**: Nutritional values (calories, fat%, sugar%, sodium%, protein%, sat.fat%, carbs%)
30
+ - **random_reviews**: User reviews
31
+ - **minutes**: Cooking time
32
+ - **tags**: Recipe categories
33
+ - **n_steps** / **n_ingredients**: Counts
34
+
35
+ ## Usage
36
+
37
+ ```python
38
+ from datasets import load_dataset
39
+
40
+ dataset = load_dataset("your-username/recipe-pdf-dataset")
41
+ sample = dataset["train"][0]
42
+
43
+ # Access image
44
+ sample["image"].show()
45
+
46
+ # Access metadata
47
+ print(sample["name"])
48
+ print(sample["ingredients"])
49
+ ```
50
+
51
+ ## Source
52
+
53
+ Generated from [Food.com Recipes](https://www.kaggle.com/datasets/shuyangli94/food-com-recipes-and-user-interactions) using custom PDF rendering with varied layouts, fonts, and color palettes.
54
+
55
+ ## Stats
56
+
57
+ | Split | Samples |
58
+ |-------|---------|
59
+ | train | 10,096 |