Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,79 @@
|
|
1 |
---
|
2 |
license: other
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: other
|
3 |
+
inference: false
|
4 |
---
|
5 |
+
|
6 |
+
## Dromedary-65B-LoRA GGML
|
7 |
+
|
8 |
+
These files are the result of merging the [delta weights of IBM's Dromedary 65B LoRA](https://huggingface.co/zhiqings/dromedary-65b-lora-delta-v0) with the original Llama 65B model.
|
9 |
+
|
10 |
+
This repo contains GGML files for for CPU inference using [llama.cpp](https://github.com/ggerganov/llama.cpp).
|
11 |
+
|
12 |
+
## Repositories available
|
13 |
+
|
14 |
+
* [4bit GPTQ models for GPU inference](https://huggingface.co/TheBloke/dromedary-65B-lora-GPTQ)
|
15 |
+
* [4bit and 5bit GGML models for CPU inference in llama.cpp](https://huggingface.co/TheBloke/dromedary-65B-lora-GGML)
|
16 |
+
|
17 |
+
## Provided files
|
18 |
+
| Name | Quant method | Bits | Size | RAM required | Use case |
|
19 |
+
| ---- | ---- | ---- | ---- | ---- | ----- |
|
20 |
+
`dromedary-lora-65B.ggml.q4_0.bin` | q4_0 | 4bit | 40.8GB | 43GB | Maximum compatibility |
|
21 |
+
`dromedary-lora-65B.ggml.q4_2.bin` | q4_2 | 4bit | 40.8GB | 43GB | Best compromise between resources, speed and quality |
|
22 |
+
`dromedary-lora-65B.ggml.q5_0.bin` | q5_0 | 5bit | 44.9GB | 47GB | Brand new 5bit method. Potentially higher quality than 4bit, at cost of slightly higher resources. |
|
23 |
+
`dromedary-lora-65B.ggml.q5_1.bin` | q5_1 | 5bit | 49GB | 51GB | Brand new 5bit method. Slightly higher resource usage than q5_0.|
|
24 |
+
|
25 |
+
* The q4_0 file provides lower quality, but maximal compatibility. It will work with past and future versions of llama.cpp
|
26 |
+
* The q4_2 file offers the best combination of performance and quality. This format is still subject to change and there may be compatibility issues, see below.
|
27 |
+
* The q5_0 file is using brand new 5bit method released 26th April. This is the 5bit equivalent of q4_0.
|
28 |
+
* The q5_1 file is using brand new 5bit method released 26
|
29 |
+
|
30 |
+
# Original Dromedary Model Card
|
31 |
+
|
32 |
+
See https://github.com/IBM/Dromedary#model-weights for instructions.
|
33 |
+
|
34 |
+
## Model details
|
35 |
+
|
36 |
+
<div align="center">
|
37 |
+
|
38 |
+
<img src="https://raw.githubusercontent.com/IBM/Dromedary/main/assets/images/dromedary_logo.svg" alt="Dromedary Logo"/>
|
39 |
+
|
40 |
+
</div>
|
41 |
+
|
42 |
+
**Model type:**
|
43 |
+
Dromedary is an open-source self-aligned language model trained with minimal human supervision.
|
44 |
+
The base language model is LLaMA-65b, based on the transformer architecture.
|
45 |
+
|
46 |
+
**Model date:**
|
47 |
+
Dromedary was trained between April 2023 and May 2023, but its knowledge only goes up until Sept-2021.
|
48 |
+
|
49 |
+
**Organizations developing the model:**
|
50 |
+
The Dromedary team as a joint effort between CMU and IBM.
|
51 |
+
|
52 |
+
**Paper or resources for more information:**
|
53 |
+
https://mitibmdemos.draco.res.ibm.com/dromedary
|
54 |
+
|
55 |
+
**License:**
|
56 |
+
LLaMA's Non-commercial bespoke license
|
57 |
+
|
58 |
+
**Where to send questions or comments about the model:**
|
59 |
+
https://github.com/IBM/Dromedary/issues
|
60 |
+
|
61 |
+
## Intended use
|
62 |
+
**Primary intended uses:**
|
63 |
+
The primary use of Dromedary is research on the alignment of large language models.
|
64 |
+
|
65 |
+
**Primary intended users:**
|
66 |
+
The primary intended users of the model are researchers in artificial intelligence.
|
67 |
+
|
68 |
+
## Delta weights
|
69 |
+
We use the following configuration for the LoRA weights:
|
70 |
+
```
|
71 |
+
--lora_target_modules='[q_proj,k_proj,v_proj,o_proj]' \
|
72 |
+
--lora_r=16 \
|
73 |
+
```
|
74 |
+
|
75 |
+
## Training dataset
|
76 |
+
Fewer than 300 lines of human annotations (including < 200 seed prompts, 16 generic principles, and 5 exemplars for in-context learning),
|
77 |
+
|
78 |
+
## Evaluation dataset
|
79 |
+
We evaluate Dromedary on TruthfulQA and HHH Eval, as well as Vicuna benchmark questions.
|