Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
csv
Sub-tasks:
language-modeling
Languages:
Hindi
Size:
100K - 1M
Tags:
generation
License:
updated readme
Browse files
README.md
CHANGED
@@ -1,3 +1,100 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
annotations_creators:
|
3 |
+
- expert-generated
|
4 |
+
language:
|
5 |
+
- hi
|
6 |
+
language_creators:
|
7 |
+
- expert-generated
|
8 |
+
license:
|
9 |
+
- cc-by-sa-4.0
|
10 |
+
multilinguality:
|
11 |
+
- monolingual
|
12 |
+
pretty_name: Hindi Article Generation
|
13 |
+
size_categories:
|
14 |
+
- n>1K
|
15 |
+
source_datasets:
|
16 |
+
- extended|https://www.kaggle.com/datasets/disisbig/hindi-text-short-summarization-corpus
|
17 |
+
tags:
|
18 |
+
- generation
|
19 |
+
task_categories:
|
20 |
+
- text-generation
|
21 |
+
task_ids:
|
22 |
+
- language-modeling
|
23 |
---
|
24 |
+
|
25 |
+
# Summary
|
26 |
+
`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.
|
27 |
+
|
28 |
+
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.
|
29 |
+
|
30 |
+
Supported Tasks:
|
31 |
+
- Training LLMs
|
32 |
+
- Synthetic Data Generation
|
33 |
+
- Data Augmentation
|
34 |
+
|
35 |
+
Languages: Hindi Version: 1.0
|
36 |
+
|
37 |
+
# Dataset Overview
|
38 |
+
`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:
|
39 |
+
- Given a headline, generate an article.
|
40 |
+
|
41 |
+
# Intended Uses
|
42 |
+
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.
|
43 |
+
|
44 |
+
# Dataset
|
45 |
+
|
46 |
+
## Load with Datasets
|
47 |
+
To load this dataset with Datasets, you'll just need to install Datasets as `pip install datasets --upgrade` and then use the following code:
|
48 |
+
|
49 |
+
```python
|
50 |
+
from datasets import load_dataset
|
51 |
+
ds = load_dataset('ganeshjcs/hindi-headline-article-generation')
|
52 |
+
```
|
53 |
+
|
54 |
+
## Purpose of Collection
|
55 |
+
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.
|
56 |
+
|
57 |
+
## Sources
|
58 |
+
- **[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.
|
59 |
+
|
60 |
+
## Data Fields
|
61 |
+
- `inputs` : Prompt or input to the language model.
|
62 |
+
- `targets` : Completion or output of the language model.
|
63 |
+
- `template_id` : Id of the template used in `inputs` and `targets`.
|
64 |
+
- `template_lang`: ISO code of the language used in the `inputs` and `targets` where *tel* refers to Telugu.
|
65 |
+
|
66 |
+
## Templates
|
67 |
+
For the creation of instruct-style prompts and completions from the original dataset, the following one template category with 6 different variations were used:
|
68 |
+
1. Given a sentence, generate a sentence with similar meaning.
|
69 |
+
|
70 |
+
| template_id | inputs | targets |
|
71 |
+
|-------------|--------|---------|
|
72 |
+
| 0 | ```यह शीर्षक है, इसके लिए एक लेख लिखें: {{Title}}``` | ```यह एक लेख है: {{Article}}``` |
|
73 |
+
| 1 | ```एक लेख लिखें जिसका शीर्षक इस प्रकार है: {Title}}``` | ```लेख: {{Article}}``` |
|
74 |
+
| 2 | ```एक लेख लिखें जिसका शीर्षक इस प्रकार है: {{Title}}``` | ```{{Article}}``` |
|
75 |
+
| 3 | ```एक लेख लिखें जिसका शीर्षक इस प्रकार है: {{Title}}``` | ```दिए गए शीर्षक के अनुरूप एक पाठ यह हो सकता है: {{Article}}``` |
|
76 |
+
| 4 | ```यह शीर्षक है, इसके लिए एक लेख लिखें: {{Title}}``` | ```{{Article}}``` |
|
77 |
+
| 5 | ```इसके लिए एक लेख लिखें: {{Title}}``` | ```लेख: {{Article}}``` |
|
78 |
+
| 6 | ```इस शीर्षक के साथ एक लेख लिखें: {{Title}}``` | ```यह एक लेख है: {{Article}}``` |
|
79 |
+
| 7 | ```इस शीर्षक के साथ एक लेख लिखें: {{Title}}``` | ```दिए गए शीर्षक के अनुरूप एक पाठ यह हो सकता है: {{Article}}``` |
|
80 |
+
| 8 | ```यह शीर्षक है, इसके लिए एक लेख लिखें: {{Title}}``` | ```लेख: {{Article}}``` |
|
81 |
+
| 9 | ```इसके लिए एक लेख लिखें: {{Title}}``` | ```{{Article}}``` |
|
82 |
+
| 10 | ```इसके लिए ए��� लेख लिखें: {{Title}}``` | ```यह एक लेख है: {{Article}}``` |
|
83 |
+
| 11 | ```इस शीर्षक के साथ एक लेख लिखें: {{Title}}``` | ```लेख: {{Article}}``` |
|
84 |
+
| 12 | ```इसके लिए एक लेख लिखें: {{Title}}``` | ```दिए गए शीर्षक के अनुरूप एक पाठ यह हो सकता है: {{Article}}``` |
|
85 |
+
| 13 | ```यह शीर्षक है, इसके लिए एक लेख लिखें: {{Title}}``` | ```दिए गए शीर्षक के अनुरूप एक पाठ यह हो सकता है: {{Article}}``` |
|
86 |
+
| 14 | ```एक लेख लिखें जिसका शीर्षक इस प्रकार है: {{Title}}``` | ```यह एक लेख है: {{Article}}``` |
|
87 |
+
| 15 | ```इस शीर्षक के साथ एक लेख लिखें: {{Title}}``` | ```{{Article}}``` |
|
88 |
+
|
89 |
+
## Personal or Sensitive Data
|
90 |
+
This dataset contains public information. To our knowledge, there are no private person’s personal identifiers or sensitive information.
|
91 |
+
|
92 |
+
## Language
|
93 |
+
Hindi
|
94 |
+
|
95 |
+
# Known Limitations
|
96 |
+
- The Dataset is converted from the existing dataset and the contents of this dataset may reflect the bias, factual errors and sensitive matters.
|
97 |
+
- 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.
|
98 |
+
|
99 |
+
# Contributors
|
100 |
+
[Ganesh Jagadeesan](https://github.com/ElefHead)
|