Update readme
Browse files
README.md
CHANGED
@@ -1,33 +1,86 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
-
|
4 |
-
Useful for when you are trying to use up all those miscellaneous ingredients in your pantry and fridge!
|
5 |
|
|
|
|
|
|
|
6 |
|
7 |
-
|
8 |
-
For the demo, we use a [lite version](https://huggingface.co/datasets/m3hrdadfi/recipe_nlg_lite) scraped from Yummly, Toriavey, and Skinnytaste.
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
```json
|
12 |
{
|
13 |
-
"
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
}
|
21 |
```
|
22 |
|
23 |
-
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
-
|
31 |
|
32 |
-
|
33 |
-
- [run.sh](src/run.sh)
|
|
|
1 |
+
---
|
2 |
+
language: en
|
3 |
+
tags:
|
4 |
+
- seq2seq
|
5 |
+
- t5
|
6 |
+
- text-generation
|
7 |
+
- recipe-generation
|
8 |
+
pipeline_tag: text2text-generation
|
9 |
+
widget:
|
10 |
+
- text: "gold potatoes, olive oil, kosher salt, truffle salt"
|
11 |
+
- text: "custard, sage, sugar, milk, heavy cream, eggs, egg yolks, salt, vanilla, maple bourbon caramel sauce, maple syrup, bourbon, sugar, water, light corn syrup, cream of tartar"
|
12 |
+
- text: "bulgar wheat, olive oil, cucumber, tomato, lemon, garlic, green onions, fresh mint, salt"
|
13 |
+
- text: "active dry yeast, milk, sugar, unsalted butter, chocolate, espresso powder, egg, vanilla, cocoa, salt, bread flour"
|
14 |
+
- text: "penne pasta, ground beef, pasta sauce, ricotta cheese, mozzarella cheese, parmesan cheese, egg"
|
15 |
+
- text: "fresh strawberries, sugar, vinegar"
|
16 |
+
- text: "soy sauce, lime juice, apricot preserves, water, garlic, ground ginger, carrots, green onions, olive oil, shrimp, sweet red pepper, rice, lettuce leaves"
|
17 |
+
- text: "cucumbers, lemon juice, parsley, water, onion, sour cream, black pepper, salt"
|
18 |
+
- text: "chicken breasts, onion, garlic, great northern beans, black beans, green chilies, broccoli, garlic oil, butter, cajun seasoning, salt, oregano, thyme, black pepper, basil, worcestershire sauce, chicken broth, sour cream, chardonnay wine"
|
19 |
+
- text: "serrano peppers, garlic, celery, oregano, canola oil, vinegar, water, kosher salt, salt, black pepper"
|
20 |
|
21 |
+
---
|
|
|
22 |
|
23 |
+
# T5 Recipe Generation
|
24 |
+
> This is part of the
|
25 |
+
[Flax/Jax Community Week](https://discuss.huggingface.co/t/recipe-generation-model/7475), organized by [HuggingFace](https://huggingface.co/) and TPU usage sponsored by Google.
|
26 |
|
27 |
+
... SOON
|
|
|
28 |
|
29 |
+
## Team Members
|
30 |
+
- Mehrdad Farahani ([m3hrdadfi](https://huggingface.co/m3hrdadfi))
|
31 |
+
- Nicholas Broad ([m3hrdadfi](https://huggingface.co/nbroad))
|
32 |
+
- Deepak Pandian ([rays2pix](https://huggingface.co/rays2pix))
|
33 |
+
- Kartik Godawat ([m3hrdadfi](https://huggingface.co/dk-crazydiv))
|
34 |
+
|
35 |
+
## Dataset
|
36 |
+
|
37 |
+
[RecipeNLG: A Cooking Recipes Dataset for Semi-Structured Text Generation](https://recipenlg.cs.put.poznan.pl/). This dataset contains **2,231,142** cooking recipes (>2 millions) with size of **2.14 GB**. It's processed in more careful way and provides more samples than any other dataset in the area.
|
38 |
+
|
39 |
+
### Example
|
40 |
|
41 |
```json
|
42 |
{
|
43 |
+
"NER": [
|
44 |
+
"oyster crackers",
|
45 |
+
"salad dressing",
|
46 |
+
"lemon pepper",
|
47 |
+
"dill weed",
|
48 |
+
"garlic powder",
|
49 |
+
"salad oil"
|
50 |
+
],
|
51 |
+
"directions": [
|
52 |
+
"Combine salad dressing mix and oil.",
|
53 |
+
"Add dill weed, garlic powder and lemon pepper.",
|
54 |
+
"Pour over crackers; stir to coat.",
|
55 |
+
"Place in warm oven.",
|
56 |
+
"Use very low temperature for 15 to 20 minutes."
|
57 |
+
],
|
58 |
+
"ingredients": [
|
59 |
+
"12 to 16 oz. plain oyster crackers",
|
60 |
+
"1 pkg. Hidden Valley Ranch salad dressing mix",
|
61 |
+
"1/4 tsp. lemon pepper",
|
62 |
+
"1/2 to 1 tsp. dill weed",
|
63 |
+
"1/4 tsp. garlic powder",
|
64 |
+
"3/4 to 1 c. salad oil"
|
65 |
+
],
|
66 |
+
"link": "www.cookbooks.com/Recipe-Details.aspx?id=648947",
|
67 |
+
"source": "Gathered",
|
68 |
+
"title": "Hidden Valley Ranch Oyster Crackers"
|
69 |
}
|
70 |
```
|
71 |
|
72 |
+
## How To Use
|
73 |
|
74 |
+
... SOON
|
75 |
+
|
76 |
+
## Evaluation
|
77 |
+
|
78 |
+
... SOON
|
79 |
+
|
80 |
+
### Baseline
|
81 |
+
|
82 |
+
... SOON
|
83 |
|
84 |
+
### Our Results
|
85 |
|
86 |
+
... SOON
|
|