mike-conover-db commited on
Commit
631547e
1 Parent(s): ab6d60b

Updating README

Browse files
Files changed (1) hide show
  1. README.md +86 -0
README.md CHANGED
@@ -1,3 +1,89 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ datasets:
4
+ - tatsu-lab/alpaca
5
+ language:
6
+ - en
7
+ library_name: transformers
8
+ inference: false
9
  ---
10
+ # dolly-v2-12b Model Card
11
+ ## Summary
12
+
13
+ Databricks’ `dolly-v2-12b`, an instruction-following large language model trained on the Databricks machine learning platform
14
+ that is licensed for commercial use. based on `pythia-12b`, Dolly is trained on ~15k instruction/response fine tuning records generated
15
+ by Databricks employees in capability domains from the InstructGPT paper, including brainstorming, classification, closed QA, generation,
16
+ information extraction, open QA and summarization. `dolly-v2-12b` is not a state-of-the-art model, but does exhibit surprisingly
17
+ high quality instruction following behavior not characteristic of the foundation model on which it is based.
18
+ We believe this finding is important because it demonstrates that the ability to create powerful artificial intelligence technologies is vastly more accessible than previously realized.
19
+
20
+ Databricks is committed to ensuring that every organization and individual benefits from the transformative power of artificial intelligence. The Dolly model family represents our first steps along this journey, and we’re excited to share this technology with the world.
21
+
22
+ **Owner**: Databricks, Inc.
23
+
24
+ ## Model Overview
25
+ `dolly-v2-12b` is a 12 billion parameter causal language model created by [Databricks](https://databricks.com/) that is derived from
26
+ [EleutherAI’s](https://www.eleuther.ai/) [Pythia-12b](https://huggingface.co/EleutherAI/pythia-12b) and fine-tuned
27
+ on a ~15K record instruction corpus generated by Databricks employees and released under a permissive license (CC-BY-SA)
28
+
29
+ [MATT.HAYES]
30
+ The [original version](https://www.databricks.com/blog/2023/03/24/hello-dolly-democratizing-magic-chatgpt-open-models.html) of was Dolly was trained using [deepspeed](https://github.com/microsoft/DeepSpeed) [ZeRO 3](https://github.com/microsoft/DeepSpeed/blob/master/docs/code-docs/source/zero3.rst)
31
+ on the [Databricks Machine Learning Platform](https://www.databricks.com/product/machine-learning) in just 30 minutes (1 epoch) using a single
32
+ [NDasrA100_v4](https://learn.microsoft.com/en-us/azure/virtual-machines/nda100-v4-series) machine with 8x A100 40GB GPUs.
33
+ The most recent `dolly-v2-12b` checkpoint was trained for 10 epochs on the same hardware.
34
+
35
+ ## Known Limitations
36
+ **`dolly-v2-12b` is not a state-of-the-art generative language model** and, though quantitative benchmarking is ongoing, is not designed to perform
37
+ competitively with more modern model architectures or models subject to larger pretraining corpuses.
38
+
39
+ The Dolly model family is under active development, and so any list of shortcomings is unlikely to be exhaustive, but we include known limitations and misfires here as a means to document and share our preliminary findings with the community. In particular, `dolly-v1-6b` struggles with: syntactically complex prompts, programming problems, mathematical operations, factual errors,
40
+ dates and times, open-ended question answering, hallucination, enumerating lists of specific length, stylistic mimicry, having a sense of humor, etc.
41
+ Moreover, we find that `dolly-v2-12b` does not have some capabilities, such as well-formatted letter writing, present in the original model.
42
+
43
+ ## Training Data, Bias & Objectionable Content
44
+ Like all language models, `dolly-v2-12b` reflects the content and limitations of its training corpuses.
45
+
46
+ - **The Pile**: GPT-J’s pre-training corpus contains content mostly collected from the public internet, and like most web-scale datasets,
47
+ it contains content many users would find objectionable. As such, the model is likely to reflect these shortcomings, potentially overtly
48
+ in the case it is explicitly asked to produce objectionable content, and sometimes subtly, as in the case of biased or harmful implicit
49
+ associations.
50
+
51
+ [LEGAL TO REVIEW]
52
+ - **`databricks-dolly-15k`**: The training data on which `dolly-v2-12b` is instruction tuned represents natural language instructions generated
53
+ by Databricks employees during a 10 day period spanning March and April 2023 and includes passages from Wikipedia as references passages
54
+ for instruction categories like closed QA and summarization. To our knowledge it does not contain obscenity, intellectual property or
55
+ personally identifying information about non-public figures, but it may contain typos and factual errors.
56
+
57
+ Databricks is committed to ongoing research and development efforts to develop helpful, honest and harmless AI technologies that
58
+ maximize the potential of all individuals and organizations.
59
+
60
+ ## Intended Uses
61
+ [LEGAL]
62
+
63
+ [MIKE.CONOVER]
64
+
65
+ ## Usage
66
+
67
+ [MATT.HAYES]
68
+
69
+ ### Benchmark Metrics
70
+
71
+ Below you'll find various models benchmark performance on the [EleutherAI LLM Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness)
72
+ model results are sorted by geometric mean to produce an intelligible ordering. These results demonstrate that `dolly-v2-12b` is not state of the art,
73
+ and in fact underperforms `dolly-v2-12b` in some evaluation benchmarks. We believe this owes to the composition and size of the underlying fine tuning datasets,
74
+ but a robust statement as to the sources of these variations requires further study.
75
+
76
+ ```
77
+ +----+------------------------------------+--------------+------------+--------------+-------------+-----------------+----------+----------+----------+
78
+ | | model | openbookqa | arc_easy | winogrande | hellaswag | arc_challenge | piqa | boolq | gmean |
79
+ |----+------------------------------------+--------------+------------+--------------+-------------+-----------------+----------+----------+----------|
80
+ | 0 | EleutherAI/pythia-6.9b | 0.368 | 0.604798 | 0.608524 | 0.631548 | 0.343857 | 0.761153 | 0.6263 | 0.543567 |
81
+ | 1 | EleutherAI/pythia-12b | 0.364 | 0.627104 | 0.636148 | 0.668094 | 0.346416 | 0.760065 | 0.673394 | 0.559676 |
82
+ | 2 | EleutherAI/gpt-j-6B | 0.382 | 0.621633 | 0.651144 | 0.662617 | 0.363481 | 0.761153 | 0.655963 | 0.565936 |
83
+ | 3 | databricks/dolly-v2-12b | 0.408 | 0.63931 | 0.616417 | 0.707927 | 0.388225 | 0.757889 | 0.568196 | 0.56781 |
84
+ | 4 | databricks/dolly-v1-6b | 0.41 | 0.62963 | 0.643252 | 0.676758 | 0.384812 | 0.773667 | 0.687768 | 0.583431 |
85
+ | 6 | EleutherAI/gpt-neox-20b | 0.402 | 0.683923 | 0.656669 | 0.7142 | 0.408703 | 0.784004 | 0.695413 | 0.602236 |
86
+ +----+------------------------------------+--------------+------------+--------------+-------------+-----------------+----------+----------+----------+
87
+ ```
88
+
89
+ # Happy Hacking!