|
--- |
|
dataset_info: |
|
features: |
|
- name: instruction |
|
dtype: string |
|
- name: context |
|
dtype: string |
|
- name: response |
|
dtype: string |
|
- name: category |
|
dtype: string |
|
- name: instruction_original_en |
|
dtype: string |
|
- name: context_original_en |
|
dtype: string |
|
- name: response_original_en |
|
dtype: string |
|
- name: id |
|
dtype: int64 |
|
splits: |
|
- name: de |
|
num_bytes: 25985140 |
|
num_examples: 15015 |
|
- name: en |
|
num_bytes: 24137496 |
|
num_examples: 15015 |
|
- name: es |
|
num_bytes: 25902709 |
|
num_examples: 15015 |
|
- name: fr |
|
num_bytes: 26704314 |
|
num_examples: 15015 |
|
download_size: 65589561 |
|
dataset_size: 102729659 |
|
license: cc-by-sa-3.0 |
|
task_categories: |
|
- text-generation |
|
- text2text-generation |
|
language: |
|
- es |
|
- de |
|
- fr |
|
tags: |
|
- machine-translated |
|
- instruction-following |
|
pretty_name: Databrick Dolly Instructions Multilingual |
|
size_categories: |
|
- 10K<n<100K |
|
--- |
|
# Dataset Card for "databricks-dolly-15k-curated-multilingual" |
|
|
|
A curated and multilingual version of the Databricks Dolly instructions dataset. |
|
|
|
**STATUS**: |
|
|
|
Currently, the original Dolly v2 English version has been curated combining automatic processing and collaborative human curation using Argilla (~400 records have been manually edited and fixed). The following graph shows a summary about the number of edited fields. |
|
|
|
![Edited records](edited_records.png) |
|
|
|
## Table of Contents |
|
- [Table of Contents](#table-of-contents) |
|
- [Dataset Description](#dataset-description) |
|
- [Dataset Summary](#dataset-summary) |
|
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards) |
|
- [Languages](#languages) |
|
- [Dataset Structure](#dataset-structure) |
|
- [Data Instances](#data-instances) |
|
- [Data Fields](#data-fields) |
|
- [Data Splits](#data-splits) |
|
- [Dataset Creation](#dataset-creation) |
|
- [Curation Rationale](#curation-rationale) |
|
- [Source Data](#source-data) |
|
- [Annotations](#annotations) |
|
- [Personal and Sensitive Information](#personal-and-sensitive-information) |
|
- [Considerations for Using the Data](#considerations-for-using-the-data) |
|
- [Social Impact of Dataset](#social-impact-of-dataset) |
|
- [Discussion of Biases](#discussion-of-biases) |
|
- [Other Known Limitations](#other-known-limitations) |
|
- [Additional Information](#additional-information) |
|
- [Dataset Curators](#dataset-curators) |
|
- [Licensing Information](#licensing-information) |
|
- [Citation Information](#citation-information) |
|
- [Contributions](#contributions) |
|
|
|
## Dataset Description |
|
|
|
- **Homepage: https://huggingface.co/datasets/argilla/databricks-dolly-15k-multilingual/** |
|
- **Repository: https://huggingface.co/datasets/argilla/databricks-dolly-15k-multilingual/** |
|
- **Paper:** |
|
- **Leaderboard:** |
|
- **Point of Contact: [email protected], https://github.com/argilla-io/argilla** |
|
|
|
### Dataset Summary |
|
|
|
This dataset collection is a curated and machine-translated version of the `databricks-dolly-15k` [dataset](https://github.com/databrickslabs/dolly/tree/master/data) originally created by Databricks, Inc. in 2023. |
|
|
|
The goal is to give practitioners a starting point for training open-source instruction-following models with better-quality English data and translated data beyond English. However, as the translation quality will not be perfect, we highly recommend dedicating time to curate and fix translation issues. Below we explain how to load the datasets into [Argilla for data curation and fixing](https://github.com/argilla-io/argilla). Additionally, we'll be improving the datasets made available here, with the help of different communities. |
|
|
|
|
|
Currently, the original English version has been curated combining automatic processing and collaborative human curation using Argilla (~400 records have been manually edited and fixed). The following graph shows a summary about the number of edited fields. |
|
|
|
![Edited records](edited_records.png) |
|
|
|
As a result of this curation process the content of the fields have been reduced, counted in number of tokens, especially for the responses: |
|
|
|
|
|
![Edited records](tokens_diff.png) |
|
|
|
If you want to browse and curate your dataset with Argilla, you can: |
|
|
|
1. [Duplicate this Space](https://huggingface.co/spaces/argilla/dolly-multilingual-curation/settings?duplicate=true). IMPORTANT: The Space's Visibility need to be Public, but you can setup your own password and API KEYS [following this guide](https://docs.argilla.io/en/latest/getting_started/installation/deployments/huggingface-spaces.html#setting-up-secret-environment-variables). |
|
2. Setup two secrets: `HF_TOKEN` and `LANG` for indicating the language split |
|
3. Login with `admin`/`12345678` and start browsing and labelling. |
|
4. Start labeling. Every 5 min the validations will be stored on a Hub dataset in your personal HF space. |
|
5. Please get in touch to contribute fixes and improvements to the source datasets. |
|
|
|
There's one split per language: |
|
|
|
```python |
|
from datasets import load_dataset |
|
|
|
# loads all splits |
|
load_dataset("argilla/databricks-dolly-15k-curate-multilingual") |
|
|
|
# loads Spanish splits |
|
load_dataset("argilla/databricks-dolly-15k-curated-multilingual", split="es") |
|
|
|
``` |
|
|
|
### Supported Tasks and Leaderboards |
|
|
|
As described in the README of the original dataset, this dataset can be used for: |
|
|
|
|
|
* Training LLMs |
|
* Synthetic Data Generation |
|
* Data Augmentation |
|
|
|
|
|
### Languages |
|
|
|
Currently: `es`, `fr`, `de` |
|
|
|
Join Argilla [Slack community](https://join.slack.com/t/rubrixworkspace/shared_invite/zt-whigkyjn-a3IUJLD7gDbTZ0rKlvcJ5g) if you want to help us include other languages. |
|
|
|
## Dataset Structure |
|
|
|
### Data Instances |
|
|
|
[More Information Needed] |
|
|
|
### Data Fields |
|
|
|
[More Information Needed] |
|
|
|
### Data Splits |
|
|
|
There's one split per language: |
|
|
|
```python |
|
from datasets import load_dataset |
|
|
|
# loads all splits |
|
load_dataset("argilla/databricks-dolly-15k-multilingual") |
|
|
|
# loads Spanish splits |
|
load_dataset("argilla/databricks-dolly-15k-multilingual", split="es") |
|
|
|
``` |
|
|
|
## Dataset Creation |
|
|
|
These datasets have been translated using the DeepL API from the original English dataset between the 13th and 14th of April |
|
|
|
### Curation Logbook |
|
|
|
* 28/04/23: Removed references from Wikipedia copy pastes for 8113 rows. Applied to context and response fields with the following regex: `r'\[[\w]+\]'` |
|
|
|
### Source Data |
|
|
|
#### Initial Data Collection and Normalization |
|
|
|
Refer to the [original dataset](https://github.com/databrickslabs/dolly/tree/master/data) for more information. |
|
|
|
#### Who are the source language producers? |
|
|
|
[More Information Needed] |
|
|
|
### Annotations |
|
|
|
Annotations are planned but not performed yet. |
|
|
|
#### Annotation process |
|
|
|
[More Information Needed] |
|
|
|
#### Who are the annotators? |
|
|
|
[More Information Needed] |
|
|
|
### Personal and Sensitive Information |
|
|
|
[More Information Needed] |
|
|
|
## Considerations for Using the Data |
|
|
|
### Social Impact of Dataset |
|
|
|
[More Information Needed] |
|
|
|
### Discussion of Biases |
|
|
|
[More Information Needed] |
|
|
|
### Other Known Limitations |
|
|
|
[More Information Needed] |
|
|
|
## Additional Information |
|
|
|
### Dataset Curators |
|
|
|
[More Information Needed] |
|
|
|
### Licensing Information |
|
|
|
This dataset can be used for any purpose, whether academic or commercial, under the terms of the [Creative Commons Attribution-ShareAlike 3.0 Unported License](https://creativecommons.org/licenses/by-sa/3.0/legalcode). |
|
|
|
**Original dataset Owner: Databricks, Inc.** |
|
|
|
### Citation Information |
|
|
|
[More Information Needed] |