ganeshjcs's picture
Update README.md
cbcd46d verified
---
annotations_creators:
- expert-generated
language:
- hi
language_creators:
- expert-generated
license:
- cc-by-sa-4.0
multilinguality:
- monolingual
pretty_name: Hindi Article Generation
size_categories:
- 10K<n<100K
source_datasets:
- >-
https://www.kaggle.com/datasets/disisbig/hindi-text-short-summarization-corpus
tags:
- generation
task_categories:
- text-generation
task_ids:
- language-modeling
---
# Summary
`hindi-headline-article-generation` is an open source dataset of instruct-style records generated from the [Hindi Text Short and Large Summarization](https://www.kaggle.com/datasets/disisbig/hindi-text-short-and-large-summarization-corpus) dataset. 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 [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) License.
Supported Tasks:
- Training LLMs
- Synthetic Data Generation
- Data Augmentation
Languages: Hindi Version: 1.0
# Dataset Overview
`hindi-headline-article-generation` is a corpus of records generated by conversion of [Hindi Text Short and Large Summarization](https://www.kaggle.com/datasets/disisbig/hindi-text-short-and-large-summarization-corpus) dataset into Instruct-Style format. This Dataset can be used for the following task:
- Given a headline, generate an article.
# 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 sentence and corresponding paraphrased sentence.
# 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('ganeshjcs/hindi-headline-article-generation')
```
## Purpose of Collection
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 Hindi is well represented in the space of AI/ML. This dataset can be used, modified, and extended for any purpose, including academic or commercial applications.
## Sources
- **[Hindi Text Short and Large Summarization Corpus](https://www.kaggle.com/datasets/disisbig/hindi-text-short-and-large-summarization-corpus)**: Converted this dataset 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 *hin* refers to Hindi.
## Templates
For the creation of instruct-style prompts and completions from the original dataset, the following one template category with 6 different variations were used:
1. Given a sentence, generate a sentence with similar meaning.
| template_id | inputs | targets |
|-------------|--------|---------|
| 0 | ```यह शीर्षक है, इसके लिए एक लेख लिखें: {{Title}}``` | ```यह एक लेख है: {{Article}}``` |
| 1 | ```एक लेख लिखें जिसका शीर्षक इस प्रकार है: {Title}}``` | ```लेख: {{Article}}``` |
| 2 | ```एक लेख लिखें जिसका शीर्षक इस प्रकार है: {{Title}}``` | ```{{Article}}``` |
| 3 | ```एक लेख लिखें जिसका शीर्षक इस प्रकार है: {{Title}}``` | ```दिए गए शीर्षक के अनुरूप एक पाठ यह हो सकता है: {{Article}}``` |
| 4 | ```यह शीर्षक है, इसके लिए एक लेख लिखें: {{Title}}``` | ```{{Article}}``` |
| 5 | ```इसके लिए एक लेख लिखें: {{Title}}``` | ```लेख: {{Article}}``` |
| 6 | ```इस शीर्षक के साथ एक लेख लिखें: {{Title}}``` | ```यह एक लेख है: {{Article}}``` |
| 7 | ```इस शीर्षक के साथ एक लेख लिखें: {{Title}}``` | ```दिए गए शीर्षक के अनुरूप एक पाठ यह हो सकता है: {{Article}}``` |
| 8 | ```यह शीर्षक है, इसके लिए एक लेख लिखें: {{Title}}``` | ```लेख: {{Article}}``` |
| 9 | ```इसके लिए एक लेख लिखें: {{Title}}``` | ```{{Article}}``` |
| 10 | ```इसके लिए एक लेख लिखें: {{Title}}``` | ```यह एक लेख है: {{Article}}``` |
| 11 | ```इस शीर्षक के साथ एक लेख लिखें: {{Title}}``` | ```लेख: {{Article}}``` |
| 12 | ```इसके लिए एक लेख लिखें: {{Title}}``` | ```दिए गए शीर्षक के अनुरूप एक पाठ यह हो सकता है: {{Article}}``` |
| 13 | ```यह शीर्षक है, इसके लिए एक लेख लिखें: {{Title}}``` | ```दिए गए शीर्षक के अनुरूप एक पाठ यह हो सकता है: {{Article}}``` |
| 14 | ```एक लेख लिखें जिसका शीर्षक इस प्रकार है: {{Title}}``` | ```यह एक लेख है: {{Article}}``` |
| 15 | ```इस शीर्षक के साथ एक लेख लिखें: {{Title}}``` | ```{{Article}}``` |
## Personal or Sensitive Data
This dataset contains public information. To our knowledge, there are no private person’s personal identifiers or sensitive information.
## Language
Hindi
# Known Limitations
- The Dataset is converted from the existing dataset and the contents of this dataset may reflect the bias, factual errors and sensitive matters.
- Although there is utmost care taken to keep the dataset as monolingual, there might be some records that may contain English Language along with Hindi.
# Contributors
[Ganesh Jagadeesan](https://github.com/ElefHead)