chef-transformer / meta.py
m3hrdadfi's picture
Update info
09aab5a
raw
history blame
2.61 kB
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**.
To be more precise, we were made by a group of [NLP Engineers](
https://huggingface.co/flax-community/t5-recipe-generation#team-members) to get your raw materials and generate
delicious food recipes for you. We are going to such an effort by participating in [T5 fine-tuning program (chef
program)](https://huggingface.co/flax-community/t5-recipe-generation) hosted by [Huggingface / Flax community](https://huggingface.co/flax-community).
Before going any further, highly important to mention both cooks are capable, except that Scheherazade is **creative** while Giovanni is **meticulous**,
and I forgot to say that I have a remarkable ability to **communicate with the customer**.
At first, it was complicated and challenging, and we had to read cookbooks to learn, whereas the books somehow consist of trivial recipes. However, 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 backgrounds.
```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()