RichardErkhov
commited on
Commit
•
6b0b25f
1
Parent(s):
e5b1eeb
uploaded readme
Browse files
README.md
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Quantization made by Richard Erkhov.
|
2 |
+
|
3 |
+
[Github](https://github.com/RichardErkhov)
|
4 |
+
|
5 |
+
[Discord](https://discord.gg/pvy7H8DZMG)
|
6 |
+
|
7 |
+
[Request more models](https://github.com/RichardErkhov/quant_request)
|
8 |
+
|
9 |
+
|
10 |
+
gpt4all-j - bnb 8bits
|
11 |
+
- Model creator: https://huggingface.co/nomic-ai/
|
12 |
+
- Original model: https://huggingface.co/nomic-ai/gpt4all-j/
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
+
Original model description:
|
18 |
+
---
|
19 |
+
license: apache-2.0
|
20 |
+
datasets:
|
21 |
+
- nomic-ai/gpt4all-j-prompt-generations
|
22 |
+
language:
|
23 |
+
- en
|
24 |
+
pipeline_tag: text-generation
|
25 |
+
---
|
26 |
+
|
27 |
+
# Model Card for GPT4All-J
|
28 |
+
|
29 |
+
An Apache-2 licensed chatbot trained over a massive curated corpus of assistant interactions including word problems, multi-turn dialogue, code, poems, songs, and stories.
|
30 |
+
|
31 |
+
## Model Details
|
32 |
+
|
33 |
+
### Model Description
|
34 |
+
|
35 |
+
<!-- Provide a longer summary of what this model is. -->
|
36 |
+
|
37 |
+
This model has been finetuned from [GPT-J](https://huggingface.co/EleutherAI/gpt-j-6B)
|
38 |
+
|
39 |
+
- **Developed by:** [Nomic AI](https://home.nomic.ai)
|
40 |
+
- **Model Type:** A finetuned GPT-J model on assistant style interaction data
|
41 |
+
- **Language(s) (NLP):** English
|
42 |
+
- **License:** Apache-2
|
43 |
+
- **Finetuned from model [optional]:** [GPT-J](https://huggingface.co/EleutherAI/gpt-j-6B)
|
44 |
+
|
45 |
+
|
46 |
+
We have released several versions of our finetuned GPT-J model using [different dataset versions](https://huggingface.co/datasets/nomic-ai/gpt4all-j-prompt-generations)
|
47 |
+
|
48 |
+
- v1.0: The original model trained on the v1.0 dataset
|
49 |
+
- v1.1-breezy: Trained on afiltered dataset where we removed all instances of AI language model
|
50 |
+
- v1.2-jazzy: Trained on a filtered dataset where we also removed instances like I'm sorry, I can't answer... and AI language model
|
51 |
+
- v1.3-groovy: We added Dolly and ShareGPT to the v1.2 dataset and removed ~8% of the dataset in v1.2 that contained semantic duplicates using [Atlas](https://atlas.nomic.ai/).
|
52 |
+
|
53 |
+
To download a model with a specific revision run
|
54 |
+
|
55 |
+
```python
|
56 |
+
from transformers import AutoModelForCausalLM
|
57 |
+
|
58 |
+
model = AutoModelForCausalLM.from_pretrained("nomic-ai/gpt4all-j", revision="v1.2-jazzy")
|
59 |
+
```
|
60 |
+
|
61 |
+
Downloading without specifying `revision` defaults to `main`/`v1.0`.
|
62 |
+
|
63 |
+
### Model Sources [optional]
|
64 |
+
|
65 |
+
<!-- Provide the basic links for the model. -->
|
66 |
+
|
67 |
+
- **Repository:** [https://github.com/nomic-ai/gpt4all](https://github.com/nomic-ai/gpt4all)
|
68 |
+
- **Base Model Repository:** [https://github.com/kingoflolz/mesh-transformer-jax](https://github.com/kingoflolz/mesh-transformer-jax)
|
69 |
+
- **Paper [optional]:** [GPT4All-J: An Apache-2 Licensed Assistant-Style Chatbot](https://s3.amazonaws.com/static.nomic.ai/gpt4all/2023_GPT4All-J_Technical_Report_2.pdf)
|
70 |
+
- **Demo [optional]:** [https://gpt4all.io/](https://gpt4all.io/)
|
71 |
+
|
72 |
+
|
73 |
+
### Training Procedure
|
74 |
+
GPT4All is made possible by our compute partner [Paperspace](https://www.paperspace.com/).
|
75 |
+
|
76 |
+
Trained on a DGX cluster with 8 A100 80GB GPUs for ~12 hours. Using Deepspeed + Accelerate, we use a global batch size of 256 with a learning rate of 2e-5. More information can be found in the repo.
|
77 |
+
|
78 |
+
|
79 |
+
### Results
|
80 |
+
|
81 |
+
Results on common sense reasoning benchmarks
|
82 |
+
|
83 |
+
```
|
84 |
+
| Model | BoolQ | PIQA | HellaSwag | WinoGrande | ARC-e | ARC-c | OBQA | Avg. |
|
85 |
+
|:--------------------------|:--------:|:--------:|:---------:|:----------:|:--------:|:--------:|:--------:|:--------:|
|
86 |
+
| GPT4All-J 6B v1.0 | 73.4 | 74.8 | 63.4 | 64.7 | 54.9 | 36.0 | 40.2 | 58.2 |
|
87 |
+
| GPT4All-J v1.1-breezy | 74.0 | 75.1 | 63.2 | 63.6 | 55.4 | 34.9 | 38.4 | 57.8 |
|
88 |
+
| GPT4All-J v1.2-jazzy | 74.8 | 74.9 | 63.6 | 63.8 | 56.6 | 35.3 | 41.0 | 58.6 |
|
89 |
+
| GPT4All-J v1.3-groovy | 73.6 | 74.3 | 63.8 | 63.5 | 57.7 | 35.0 | 38.8 | 58.1 |
|
90 |
+
| GPT4All-J Lora 6B | 68.6 | 75.8 | 66.2 | 63.5 | 56.4 | 35.7 | 40.2 | 58.1 |
|
91 |
+
| GPT4All LLaMa Lora 7B | 73.1 | 77.6 | 72.1 | 67.8 | 51.1 | 40.4 | 40.2 | 60.3 |
|
92 |
+
| GPT4All 13B snoozy | **83.3** | 79.2 | 75.0 | **71.3** | 60.9 | 44.2 | 43.4 | **65.3** |
|
93 |
+
| Dolly 6B | 68.8 | 77.3 | 67.6 | 63.9 | 62.9 | 38.7 | 41.2 | 60.1 |
|
94 |
+
| Dolly 12B | 56.7 | 75.4 | 71.0 | 62.2 | 64.6 | 38.5 | 40.4 | 58.4 |
|
95 |
+
| Alpaca 7B | 73.9 | 77.2 | 73.9 | 66.1 | 59.8 | 43.3 | 43.4 | 62.4 |
|
96 |
+
| Alpaca Lora 7B | 74.3 | **79.3** | 74.0 | 68.8 | 56.6 | 43.9 | 42.6 | 62.8 |
|
97 |
+
| GPT-J 6.7B | 65.4 | 76.2 | 66.2 | 64.1 | 62.2 | 36.6 | 38.2 | 58.4 |
|
98 |
+
| LLama 7B | 73.1 | 77.4 | 73.0 | 66.9 | 52.5 | 41.4 | 42.4 | 61.0 |
|
99 |
+
| LLama 13B | 68.5 | 79.1 | 76.2 | 70.1 | 60.0 | **44.6** | 42.2 | 63.0 |
|
100 |
+
| Pythia 6.7B | 63.5 | 76.3 | 64.0 | 61.1 | 61.3 | 35.2 | 37.2 | 57.0 |
|
101 |
+
| Pythia 12B | 67.7 | 76.6 | 67.3 | 63.8 | 63.9 | 34.8 | 38 | 58.9 |
|
102 |
+
| Fastchat T5 | 81.5 | 64.6 | 46.3 | 61.8 | 49.3 | 33.3 | 39.4 | 53.7 |
|
103 |
+
| Fastchat Vicuña 7B | 76.6 | 77.2 | 70.7 | 67.3 | 53.5 | 41.2 | 40.8 | 61.0 |
|
104 |
+
| Fastchat Vicuña 13B | 81.5 | 76.8 | 73.3 | 66.7 | 57.4 | 42.7 | 43.6 | 63.1 |
|
105 |
+
| StableVicuña RLHF | 82.3 | 78.6 | 74.1 | 70.9 | 61.0 | 43.5 | **44.4** | 65.0 |
|
106 |
+
| StableLM Tuned | 62.5 | 71.2 | 53.6 | 54.8 | 52.4 | 31.1 | 33.4 | 51.3 |
|
107 |
+
| StableLM Base | 60.1 | 67.4 | 41.2 | 50.1 | 44.9 | 27.0 | 32.0 | 42.2 |
|
108 |
+
| Koala 13B | 76.5 | 77.9 | 72.6 | 68.8 | 54.3 | 41.0 | 42.8 | 62.0 |
|
109 |
+
| Open Assistant Pythia 12B | 67.9 | 78.0 | 68.1 | 65.0 | 64.2 | 40.4 | 43.2 | 61.0 |
|
110 |
+
| Mosaic mpt-7b | 74.8 | **79.3** | **76.3** | 68.6 | **70.0** | 42.2 | 42.6 | 64.8 |
|
111 |
+
| text-davinci-003 | 88.1 | 83.8 | 83.4 | 75.8 | 83.9 | 63.9 | 51.0 | 75.7 |
|
112 |
+
```
|
113 |
+
|