Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +82 -0
- falcon-40b-sft-top1-560.Q4_0.gguf +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
falcon-40b-sft-top1-560.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
- de
|
6 |
+
- es
|
7 |
+
- fr
|
8 |
+
tags:
|
9 |
+
- sft
|
10 |
+
inference: false
|
11 |
+
datasets:
|
12 |
+
- OpenAssistant/oasst1
|
13 |
+
---
|
14 |
+
|
15 |
+
# Open-Assistant Falcon 40B SFT OASST-TOP1 Model
|
16 |
+
|
17 |
+
This model is a fine-tuning of TII's [Falcon 40B](https://huggingface.co/tiiuae/falcon-40b) LLM.
|
18 |
+
It was trained with top-1 (high-quality) demonstrations of the OASST data set (exported on May 6, 2023) with an effective batch size of 144 for ~7.5 epochs with LIMA style dropout (p=0.3) and a context-length of 2048 tokens.
|
19 |
+
|
20 |
+
## Model Details
|
21 |
+
|
22 |
+
- **Finetuned from:** [tiiuae/falcon-40b]((https://huggingface.co/tiiuae/falcon-40b)
|
23 |
+
- **Model type:** Causal decoder-only transformer language model
|
24 |
+
- **Language:** English, German, Spanish, French (and limited capabilities in Italian, Portuguese, Polish, Dutch, Romanian, Czech, Swedish);
|
25 |
+
- **Demo:** [Continuations for 250 random prompts](https://open-assistant.github.io/oasst-model-eval/?f=https%3A%2F%2Fraw.githubusercontent.com%2FOpen-Assistant%2Foasst-model-eval%2Fmain%2Fsampling_reports%2Fchat-gpt%2F2023-04-11_gpt-3.5-turbo_lottery.json%0Ahttps%3A%2F%2Fraw.githubusercontent.com%2FOpen-Assistant%2Foasst-model-eval%2Fmain%2Fsampling_reports%2Foasst-sft%2F2023-06-03_OpenAssistant_falcon-40b-sft-top1-560_sampling_noprefix2.json)
|
26 |
+
- **Eval results:** [ilm-eval](https://tju01.github.io/ilm-eval/)
|
27 |
+
- **Weights & Biases**: [Training log](https://wandb.ai/open-assistant/public-sft/runs/3lr77x4h) (Checkpoint: 560 steps)
|
28 |
+
- **License:** Apache 2.0
|
29 |
+
- **Contact:** [Open-Assistant Discord](https://ykilcher.com/open-assistant-discord)
|
30 |
+
|
31 |
+
|
32 |
+
## Prompting
|
33 |
+
|
34 |
+
Two special tokens are used to mark the beginning of user and assistant turns:
|
35 |
+
`<|prompter|>` and `<|assistant|>`. Each turn ends with a `<|endoftext|>` token.
|
36 |
+
|
37 |
+
Input prompt example:
|
38 |
+
```
|
39 |
+
<|prompter|>What is a meme, and what's the history behind this word?<|endoftext|><|assistant|>
|
40 |
+
```
|
41 |
+
The input ends with the `<|assistant|>` token to signal that the model should
|
42 |
+
start generating the assistant reply.
|
43 |
+
|
44 |
+
## Configuration Details
|
45 |
+
|
46 |
+
Model:
|
47 |
+
```
|
48 |
+
falcon-40b:
|
49 |
+
dtype: bf16
|
50 |
+
log_dir: "falcon_log_40b"
|
51 |
+
learning_rate: 5e-6
|
52 |
+
model_name: "tiiuae/falcon-40b"
|
53 |
+
deepspeed_config: configs/zero3_config_falcon.json
|
54 |
+
output_dir: falcon
|
55 |
+
weight_decay: 0.0
|
56 |
+
max_length: 2048
|
57 |
+
warmup_steps: 20
|
58 |
+
gradient_checkpointing: true
|
59 |
+
gradient_accumulation_steps: 1
|
60 |
+
per_device_train_batch_size: 18
|
61 |
+
per_device_eval_batch_size: 10
|
62 |
+
eval_steps: 80
|
63 |
+
save_steps: 80
|
64 |
+
num_train_epochs: 8
|
65 |
+
save_total_limit: 4
|
66 |
+
use_flash_attention: false
|
67 |
+
residual_dropout: 0.3
|
68 |
+
residual_dropout_lima: true
|
69 |
+
sort_by_length: false
|
70 |
+
save_strategy: steps
|
71 |
+
```
|
72 |
+
|
73 |
+
Dataset:
|
74 |
+
```
|
75 |
+
oasst-top1:
|
76 |
+
datasets:
|
77 |
+
- oasst_export:
|
78 |
+
lang: "bg,ca,cs,da,de,en,es,fr,hr,hu,it,nl,pl,pt,ro,ru,sl,sr,sv,uk" # sft-8.0
|
79 |
+
input_file_path: 2023-05-06_OASST_labels.jsonl.gz
|
80 |
+
val_split: 0.05
|
81 |
+
top_k: 1
|
82 |
+
```
|
falcon-40b-sft-top1-560.Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d4008034feaa8736da34a5156071fab09e0d5d75bea2f17289094f549ef7ea4
|
3 |
+
size 23808416352
|