docs: specify details for falcon 7b full weights
Browse files
README.md
CHANGED
@@ -1,3 +1,38 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: cc-by-nc-4.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
tags:
|
6 |
+
- text-generation
|
7 |
+
datasets:
|
8 |
+
- stanford_alpaca
|
9 |
+
pipeline_tag: text-generation
|
10 |
---
|
11 |
+
This repo contains the full weights (8bit) for Falcon-7b
|
12 |
+
fit on the [Code Alpaca](https://huggingface.co/datasets/sahil2801/CodeAlpaca-20k) dataset.
|
13 |
+
|
14 |
+
## Reproduction
|
15 |
+
This version of the weights was trained with the following hyperparameters:
|
16 |
+
|
17 |
+
- Epochs: 6
|
18 |
+
- Batch size: 128
|
19 |
+
- Micro batch size: 8
|
20 |
+
- Learning rate: 3e-4
|
21 |
+
- Lora _r_: 16
|
22 |
+
- Lora target modules: query_key_value
|
23 |
+
|
24 |
+
You can reproduce using this repository:
|
25 |
+
|
26 |
+
https://github.com/jina-ai/jerboa
|
27 |
+
|
28 |
+
Make sure you install requirements and finetune using this command using the following command:
|
29 |
+
|
30 |
+
```
|
31 |
+
python finetune.py \
|
32 |
+
--base-model='tiiuae/falcon-7b' \
|
33 |
+
--num-epochs=6 \
|
34 |
+
--output-dir='./jinaai/falcon-7b' \
|
35 |
+
--lora-target-modules=query_key_value \
|
36 |
+
--lora-r=16 \
|
37 |
+
--micro-batch-size=8
|
38 |
+
```
|