Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
csv
Sub-tasks:
language-modeling
Languages:
Telugu
Size:
100K - 1M
License:
File size: 5,758 Bytes
036df61 4bc45ee fa3d343 036df61 cab82df a74e50d cab82df b2d450d cab82df 4332f1b cab82df e236381 cab82df e236381 cab82df fdf45ad cab82df 0565aaa cab82df 5317f29 |
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 97 98 99 100 101 102 103 104 105 106 107 |
---
configs:
- config_name: default
data_files:
- split: train
path: "news_articles_dataset.csv"
annotations_creators:
- expert-generated
language:
- te
language_creators:
- expert-generated
license:
- apache-2.0
multilinguality:
- monolingual
pretty_name: Telugu News Articles
size_categories:
- 100K<n<1M
source_datasets:
- original
tags:
- newspaper
- 2018-2023
task_categories:
- text-generation
task_ids:
- language-modeling
---
# Summary
`aya-telugu-news-articles` is an open source dataset of instruct-style records generated by webscraping a Telugu news articles 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-news-articles` is a corpus of more than 467k records generated by webscraping of the Telugu News articles website. This Dataset can be used for the following two tasks:
- Given Title/Headline of the article, generate the article with that Title/Headline.
- Given the article, generate the Title/Headline for the 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 additional articles and their respective titles.
# 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-news-articles')
```
## Purpose of Collection
Telugu is a low-resource language where there no title and article generation 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
- **Suryaa Newsarticles Website**: Performed webscraping from [Suryaa Website](https://telugu.suryaa.com/) which is a famous news articles website in Telugu States. Next, performed some pre-processing of the data like removing unwanted characters, removing too lengthy or too short articles 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 two templates categories with 5904 templates were used:
1. Given Title/Headline of the article, generate the article with that Title/Headline.
```python
Prompt:
("క్రింది" / "కింది" / "ఇవ్వబడిన" / "ఇచ్చిన") ("వార్తా కథనానికి" / "న్యూస్ ఆర్టికల్ కి" / "న్యూస్ కథనానికి") ("శీర్షికను" / "టైటిల్ ను" / "హెడ్లైన్ ను") ("వ్రాయండి" / "ఇవ్వండి" / "రాయండి"):
{{Article}}
Completion:
("ఇచ్చిన" / "ఇవ్వబడిన") ("వార్తా కథనానికి" / "న్యూస్ ఆర్టికల్ కి" / "న్యూస్ కథనానికి") ("సరిపోయే" / "తగిన" / "అనువైన") ("శీర్షిక" / "టైటిల్" / "హెడ్లైన్") '{{Title}}'.
```
2. Given the article, generate the Title/Headline for the article.
```python
Prompt:
("క్రింది" / "కింది" / "ఇవ్వబడిన" / "ఇచ్చిన") ("శీర్షికతో" / "టైటిల్ తో" / "హెడ్లైన్ తో") ("వార్తా కథనాన్ని" / "న్యూస్ ఆర్టికల్ ని" / "న్యూస్ కథనాన్ని") ("వ్రాయండి" / "రాయండి"):
{{Title}}
Completion:
{{Article}}
```
For the complete information about the templates used in the creation of the dataset, you can refer to the [Template Mapping File](https://huggingface.co/datasets/SuryaKrishna02/aya-telugu-news-articles/raw/main/template_mapping.jsonl).
## 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 News Website and the contents of this dataset may reflect the bias, factual errors, politicial affiliations 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 Telugu.
# Contributors
[SuryaKrishna02](https://github.com/SuryaKrishna02) and [Desik98](https://github.com/desik1998)
|