File size: 7,769 Bytes
310d873
9b75ca4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310d873
9b75ca4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ed0ed86
 
 
 
 
 
9b75ca4
ed0ed86
9b75ca4
ed0ed86
 
 
 
 
 
 
 
 
9b75ca4
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
annotations_creators:
- expert-generated
language:
- te
language_creators:
- expert-generated
license:
- apache-2.0
multilinguality:
- monolingual
pretty_name: Telugu Food Recipes
size_categories:
- n<1K
source_datasets:
- original
tags:
- food
- recipes
task_categories:
- text-generation
task_ids:
- language-modeling
---

# Summary
`aya-telugu-food-recipes` is an open source dataset of instruct-style records generated by webscraping a Telugu food recipes website. This was created as part of [Aya Open Science Initiative](https://sites.google.com/cohere.com/aya-en/home) from Cohere For AI.

This dataset can be used for any purpose, whether academic or commercial, under the terms of the [Apache 2.0](https://opensource.org/license/apache-2-0) License.

Supported Tasks:
- Training LLMs
- Synthetic Data Generation
- Data Augmentation

Languages: Telugu Version: 1.0

# Dataset Overview
`aya-telugu-food-recipes` is a corpus of more than 400 records generated by webscraping of the Telugu Food Recipes Website. This Dataset can be used for the following task:
- Given the name of the food item, generates the detailed recipe along with the ingredients.

# Intended Uses
While immediately valuable for instruction fine tuning large language models, as a corpus of instruction prompts, this dataset also presents a valuable opportunity for synthetic data generation in the methods. For example, prompt-completions could be submitted as few-shot examples to a large open language model to generate additional food recipes.

# Dataset

## Load with Datasets
To load this dataset with Datasets, you'll just need to install Datasets as `pip install datasets --upgrade` and then use the following code:

```python
from datasets import load_dataset
ds = load_dataset('SuryaKrishna02/aya-telugu-food-recipes')
```

## Purpose of Collection
Telugu is a low-resource language where there no food recipes instruct-style dataset to the best of my knowledge. This was created as a part of [Aya Open Science Initiative](https://sites.google.com/cohere.com/aya-en/home) from Cohere For AI to make sure Telugu is well represented in the space of AI/ML. Unlike other datasets that are limited to non-commercial use, this dataset can be used, modified, and extended for any purpose, including academic or commercial applications.

## Sources
- **Andhrajyothi Website**: Performed webscraping from [Andhrajyothi Website](https://www.andhrajyothy.com/vantalu) which is a famous telugu website consisting of food recipes in the following categories:
  1. తీపి వంటలు
  2. పచ్చళ్లు
  3. శాకాహారం
  4. మాంసాహారం
- Next, performed some pre-processing of the data like removing unwanted characters, extracting ingredients and cooking instructions seperately from the scraped data. Finally, converted the scraped data into Instruct-style prompts and completions.

## Data Fields
- `inputs`       : Prompt or input to the language model.
- `targets`      : Completion or output of the language model.
- `template_id`  : Id of the template used in `inputs` and `targets`.
- `template_lang`: ISO code of the language used in the `inputs` and `targets` where *tel* refers to Telugu.

## Templates
For the creation of instruct-style prompts and completions from the scraped data, the following one template category with 7 different templates were used:
1. Given the name of the food item, generates the detailed recipe along with the ingredients.
   | template_id | inputs | targets |
   |-------------|--------|---------|
   | 1 | ```{{Food Item}} ఎలా తయారు చేస్తారో క్లుప్తంగా ఇవ్వండి.``` | ```{{Food Item}} కి కావలసిన పదార్ధాలు మరియు తయారు చేసే విధానం ఇక్కడ ఇవ్వబడింది.\nకావలసిన పదార్థాలు:\n{{Ingredients}}\n\nతయారుచేసే విధానం:\n{{Cooking Instructions}}``` |
   | 2 | ```మీరు {{Food Item}} తయారు చెయ్యడానికి ఎటువంటి తిండి పదార్ధాలు వాడుతురు మరియు ఏ విధముగా చేస్తారో వివరణ ఇవ్వండి.``` | ```{{Food Item}} కి కావలసిన పదార్ధాలు మరియు తయారు చేసే విధానం ఇక్కడ ఇవ్వబడింది.\nకావలసిన పదార్థాలు:\n{{Ingredients}}\n\nతయారుచేసే విధానం:\n{{Cooking Instructions}}``` |
   | 3 | ```నేను {{Food Item}} చాలా రుచికరంగా ఉంటుంది అని విన్నాను. నాకు ఇది ఎలా చెయ్యాలో సంక్లిప్తంగా చెప్పు.``` | ```{{Food Item}} కి కావలసిన పదార్ధాలు మరియు తయారు చేసే విధానం ఇక్కడ ఇవ్వబడింది.\nకావలసిన పదార్థాలు:\n{{Ingredients}}\n\nతయారుచేసే విధానం:\n{{Cooking Instructions}}``` |
   | 4 | ```మొదటిసారి వంట చేసేవారికి చెప్పినట్టు నాకు {{Food Item}} ఎలా చెయ్యాలొ చెప్పు``` | ```{{Food Item}} కి కావలసిన పదార్ధాలు మరియు తయారు చేసే విధానం ఇక్కడ ఇవ్వబడింది.\nకావలసిన పదార్థాలు:\n{{Ingredients}}\n\nతయారుచేసే విధానం:\n{{Cooking Instructions}}``` |
   | 5 | ```{{Food Item}} ఎలా చేయాలి? సమాధానం లో కావలసిన పదార్ధాలు మరియు తయారు చేసే విధానం ఉండాలి.``` | ```{{Food Item}} కి కావలసిన పదార్ధాలు మరియు తయారు చేసే విధానం ఇక్కడ ఇవ్వబడింది.\nకావలసిన పదార్థాలు:\n{{Ingredients}}\n\nతయారుచేసే విధానం:\n{{Cooking Instructions}}``` |
   | 6 | ```{{Food Item}} ఎలా తయారు చేస్తాం?``` | ```{{Food Item}} కి కావలసిన పదార్ధాలు మరియు తయారు చేసే విధానం ఇక్కడ ఇవ్వబడింది.\nకావలసిన పదార్థాలు:\n{{Ingredients}}\n\nతయారుచేసే విధానం:\n{{Cooking Instructions}}``` |
   | 7 | ```{{Food Item}} రెసిపీ ఏంటి?``` | ```{{Food Item}} కి కావలసిన పదార్ధాలు మరియు తయారు చేసే విధానం ఇక్కడ ఇవ్వబడింది.\nకావలసిన పదార్థాలు:\n{{Ingredients}}\n\nతయారుచేసే విధానం:\n{{Cooking Instructions}}``` |

## Personal or Sensitive Data
This dataset contains public information. To our knowledge, there are no private person’s personal identifiers or sensitive information.

## Language
Telugu

# Known Limitations
- The Dataset is scraped from the food recipes website and the contents of this dataset may reflect the bias.
- Although there is utmost care taken to keep the dataset as monolingual, there might be some records that may contain English Language along with Telugu.

# Contributors
[SuryaKrishna02](https://github.com/SuryaKrishna02) and [Desik98](https://github.com/desik1998)