Spaces:
Runtime error
Runtime error
HEADER_INFO = """""".strip() | |
SIDEBAR_INFO = """ | |
<div class="contributors"> | |
<a class="contributor comma" href="https://huggingface.co/m3hrdadfi">Mehrdad Farahani</a> | |
<a class="contributor comma" href="https://huggingface.co/dk-crazydiv">Kartik Godawat</a> | |
<a class="contributor comma" href="https://huggingface.co/hassiahk">Haswanth Aekula</a> | |
<a class="contributor comma" href="https://huggingface.co/rays2pix">Deepak Pandian</a> | |
<a class="contributor comma" href="https://huggingface.co/nbroad">Nicholas Broad</a> | |
</div> | |
""" | |
CHEF_INFO = """ | |
<p class="strong">Welcome to our lovely restaurant! | |
<span class="d-block extra-info">(We are at your service with two of our best chefs in the world, Chef Scheherazade, | |
Chef Giovanni.)</span></p> | |
""".strip() | |
PROMPT_BOX = "Add custom ingredients here (separated by `,`): " | |
STORY = """ | |
Hello everyone, I am **Chef Transformer**, the owner of this restaurant and headmaster of two other chefs **Scheherazade**, and **Giovanni**. | |
In fact, to be more precise, I was made by a group of [NLP Engineers]( | |
https://huggingface.co/flax-community/t5-recipe-generation#team-members) so that to get your raw | |
materials and with the help of my other associates (Scheherazade, and Giovanni) which participated in [T5 fine-tuning program (chef program)](https://huggingface.co/flax-community/t5-recipe-generation) be able to prepare food recipes for you. | |
Before going any further, highly important to mention both cooks are capable, except that Scheherazade is *creative* | |
while Giovanni is *meticulous*. | |
At first, it was hard, and we had to read cookbooks to learn, whereas the books somehow consist of trivial recipes, but engineers helped us focus on essential parts of recipes for specific food items. | |
Also, they taught us to consider the food items (known as NER), ingredients, directions, and, more importantly, food names and then map them in the following form in our skills and histories. | |
```text | |
[Input] | |
{NER: separated by comma} | |
[Targets] | |
title: {TITLE} <section> | |
ingredients: {INGREDIENTS: separated by <sep>} <section> | |
directions: {DIRECTIONS: separated by <sep>}. | |
``` | |
It was a challenging week, but we learned a lot, to be honest. Finally, we graduated with [high scores]( | |
https://huggingface.co/flax-community/t5-recipe-generation#evaluation) in our | |
classroom and established this restaurant. Do not forget to introduce us to others. | |
""".strip() | |