Chris Alexiuk commited on
Commit
ac4d8c3
1 Parent(s): 6c557a6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +75 -2
README.md CHANGED
@@ -15,7 +15,80 @@ dataset_info:
15
  num_examples: 15015
16
  download_size: 7801648
17
  dataset_size: 12271354
 
 
 
 
 
 
 
 
18
  ---
19
- # Dataset Card for "dolly-15k-instruction-input-output-no-citations"
20
 
21
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  num_examples: 15015
16
  download_size: 7801648
17
  dataset_size: 12271354
18
+ license: cc-by-3.0
19
+ language:
20
+ - en
21
+ tags:
22
+ - instruction
23
+ pretty_name: Databricks Dolly 15k (Alpaca format, citations removed)
24
+ size_categories:
25
+ - 10K<n<100K
26
  ---
27
+ # Dataset Description
28
 
29
+ - **Blog:** https://www.databricks.com/blog/2023/04/12/dolly-first-open-commercially-viable-instruction-tuned-llm
30
+ - **Repo:** https://github.com/databrickslabs/dolly
31
+
32
+ # Databricks Dolly 15k Dataset with citations removed and in Alpaca Format
33
+
34
+ **NOTE**
35
+ This is a reupload of the Databricks dataset found [here](https://github.com/databrickslabs/dolly/tree/master/data), but modified to be in Alpaca format, and with the citation numbers removed.
36
+
37
+ This work is not my own, and all credit goes to Databricks.
38
+
39
+ # Dataset Overview
40
+ `databricks-dolly-15k` is a corpus of more than 15,000 records generated by thousands of Databricks employees to enable large language
41
+ models to exhibit the magical interactivity of ChatGPT. Databricks employees were invited to create prompt / response pairs in each of eight different instruction categories, including the seven outlined in the InstructGPT paper, as well as an open-ended free-form category. The contributors were instructed to avoid using information from any source on the web with the exception of Wikipedia (for particular subsets of instruction categories), and explicitly instructed to avoid using generative AI in formulating instructions or responses. Examples of each behavior were provided to motivate the
42
+ types of questions and instructions appropriate to each category.
43
+
44
+ Halfway through the data generation process, contributors were given the option of answering questions posed by other contributors. They were asked to rephrase the original question and only select questions they could be reasonably expected to answer correctly.
45
+
46
+ For certain categories contributors were asked to provide reference texts copied from Wikipedia. Reference text (indicated by the `context` field in the actual dataset) may contain bracketed Wikipedia citation numbers (e.g. `[42]`) which we recommend users remove for downstream applications.
47
+
48
+
49
+ # Intended Uses
50
+ While immediately valuable for instruction fine tuning large language models, as a corpus of human-generated instruction prompts, this dataset also presents a valuable opportunity for synthetic data generation in the methods outlined in the Self-Instruct paper. For example, contributor--generated prompts could be submitted as few-shot examples to a large open language model to generate a corpus of millions of examples of instructions in each of the respective InstructGPT categories.
51
+
52
+ Likewise, both the instructions and responses present fertile ground for data augmentation. A paraphrasing model might be used to restate each prompt or short responses, with the resulting text associated to the respective ground-truth sample. Such an approach might provide a form of regularization on the dataset that could allow for more robust instruction-following behavior in models derived from these synthetic datasets.
53
+
54
+
55
+ # Dataset
56
+ ## Purpose of Collection
57
+ As part of our continuing commitment to open source, Databricks developed what is, to the best of our knowledge, the first open source, human-generated instruction corpus specifically designed to enable large language models to exhibit the magical interactivity of ChatGPT. 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.
58
+
59
+ ## Sources
60
+ - **Human-generated data**: Databricks employees were invited to create prompt / response pairs in each of eight different instruction categories.
61
+ - **Wikipedia**: For instruction categories that require an annotator to consult a reference text (information extraction, closed QA, summarization) contributors selected passages from Wikipedia for particular subsets of instruction categories. No guidance was given to annotators as to how to select the target passages.
62
+
63
+ ## Annotator Guidelines
64
+ To create a record, employees were given a brief description of the annotation task as well as examples of the types of prompts typical of each annotation task. Guidelines were succinct by design so as to encourage a high task completion rate, possibly at the cost of rigorous compliance to an annotation rubric that concretely and reliably operationalizes the specific task. Caveat emptor.
65
+
66
+ The annotation guidelines for each of the categories are as follows:
67
+
68
+ - **Creative Writing**: Write a question or instruction that requires a creative, open-ended written response. The instruction should be reasonable to ask of a person with general world knowledge and should not require searching. In this task, your prompt should give very specific instructions to follow. Constraints, instructions, guidelines, or requirements all work, and the more of them the better.
69
+ - **Closed QA**: Write a question or instruction that requires factually correct response based on a passage of text from Wikipedia. The question can be complex and can involve human-level reasoning capabilities, but should not require special knowledge. To create a question for this task include both the text of the question as well as the reference text in the form.
70
+ - **Open QA**: Write a question that can be answered using general world knowledge or at most a single search. This task asks for opinions and facts about the world at large and does not provide any reference text for consultation.
71
+ - **Summarization**: Give a summary of a paragraph from Wikipedia. Please don't ask questions that will require more than 3-5 minutes to answer. To create a question for this task include both the text of the question as well as the reference text in the form.
72
+ - **Information Extraction**: These questions involve reading a paragraph from Wikipedia and extracting information from the passage. Everything required to produce an answer (e.g. a list, keywords etc) should be included in the passages. To create a question for this task include both the text of the question as well as the reference text in the form.
73
+ - **Classification**: These prompts contain lists or examples of entities to be classified, e.g. movie reviews, products, etc. In this task the text or list of entities under consideration is contained in the prompt (e.g. there is no reference text.). You can choose any categories for classification you like, the more diverse the better.
74
+ - **Brainstorming**: Think up lots of examples in response to a question asking to brainstorm ideas.
75
+
76
+ ## Personal or Sensitive Data
77
+ This dataset contains public information (e.g., some information from Wikipedia). To our knowledge, there are no private person’s personal identifiers or sensitive information.
78
+
79
+ ## Language
80
+ American English
81
+
82
+ # Known Limitations
83
+ - Wikipedia is a crowdsourced corpus and the contents of this dataset may reflect the bias, factual errors and topical focus found in Wikipedia
84
+ - Some annotators may not be native English speakers
85
+ - Annotator demographics and subject matter may reflect the makeup of Databricks employees
86
+
87
+ # License/Attribution
88
+ **Copyright (2023) Databricks, Inc.**
89
+ This dataset was developed at Databricks (https://www.databricks.com) and its use is subject to the CC BY-SA 3.0 license.
90
+
91
+ Certain categories of material in the dataset include materials from the following sources, licensed under the CC BY-SA 3.0 license:
92
+
93
+ Wikipedia (various pages) - https://www.wikipedia.org/
94
+ Copyright © Wikipedia editors and contributors.