update openllama and clean up paths
Browse files- README.md +8 -8
- examples/{gptj-qlora/config.yml β gptj/qlora.yml} +0 -0
- examples/openllama-3b/README.md +16 -0
- examples/{lora-openllama-3b/config.yml β openllama-3b/lora.yml} +2 -2
- examples/{qlora-openllama-3b/config.yml β openllama-3b/qlora.yml} +2 -2
- examples/qlora-openllama-3b/README.md +0 -6
README.md
CHANGED
@@ -16,14 +16,14 @@
|
|
16 |
|
17 |
## Axolotl supports
|
18 |
|
19 |
-
| | fp16/fp32 |
|
20 |
-
|
21 |
-
| llama | β
| β
|
22 |
-
| Pythia | β
| β
|
23 |
-
| cerebras | β
| β
|
24 |
-
| mpt | β
| β
|
25 |
-
| falcon | β
| β
|
26 |
-
| gpt-j | β
| β
|
27 |
|
28 |
|
29 |
## Quickstart β‘
|
|
|
16 |
|
17 |
## Axolotl supports
|
18 |
|
19 |
+
| | fp16/fp32 | lora | qlora | gptq | gptq w/ lora | gptq w/flash attn | flash attn | xformers attn |
|
20 |
+
|----------|:----------|:-----|-------|------|:-------------|-------------------|------------|---------------|
|
21 |
+
| llama | β
| β
| β
| β
| β | β
| β
| β
|
|
22 |
+
| Pythia | β
| β
| β
| β | β | β | β | β |
|
23 |
+
| cerebras | β
| β
| β
| β | β | β | β | β
|
|
24 |
+
| mpt | β
| β | β | β | β | β | β | β |
|
25 |
+
| falcon | β
| β
| β
| β | β | β | β | β
|
|
26 |
+
| gpt-j | β
| β
| β
| β | β | β | β | β
|
|
27 |
|
28 |
|
29 |
## Quickstart β‘
|
examples/{gptj-qlora/config.yml β gptj/qlora.yml}
RENAMED
File without changes
|
examples/openllama-3b/README.md
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# openllama-3b
|
2 |
+
|
3 |
+
Basic full tune
|
4 |
+
```shell
|
5 |
+
accelerate launch scripts/finetune.py examples/qlora-openllama-3b/config.yml
|
6 |
+
```
|
7 |
+
|
8 |
+
LoRA
|
9 |
+
```shell
|
10 |
+
accelerate launch scripts/finetune.py examples/qlora-openllama-3b/lora.yml
|
11 |
+
```
|
12 |
+
|
13 |
+
QLoRA
|
14 |
+
```shell
|
15 |
+
accelerate launch scripts/finetune.py examples/qlora-openllama-3b/qlora.yml
|
16 |
+
```
|
examples/{lora-openllama-3b/config.yml β openllama-3b/lora.yml}
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
-
base_model: openlm-research/
|
2 |
-
base_model_config: openlm-research/
|
3 |
model_type: LlamaForCausalLM
|
4 |
tokenizer_type: LlamaTokenizer
|
5 |
load_in_8bit: true
|
|
|
1 |
+
base_model: openlm-research/open_llama_3b
|
2 |
+
base_model_config: openlm-research/open_llama_3b
|
3 |
model_type: LlamaForCausalLM
|
4 |
tokenizer_type: LlamaTokenizer
|
5 |
load_in_8bit: true
|
examples/{qlora-openllama-3b/config.yml β openllama-3b/qlora.yml}
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
-
base_model: openlm-research/
|
2 |
-
base_model_config: openlm-research/
|
3 |
model_type: LlamaForCausalLM
|
4 |
tokenizer_type: LlamaTokenizer
|
5 |
load_in_8bit: false
|
|
|
1 |
+
base_model: openlm-research/open_llama_3b
|
2 |
+
base_model_config: openlm-research/open_llama_3b
|
3 |
model_type: LlamaForCausalLM
|
4 |
tokenizer_type: LlamaTokenizer
|
5 |
load_in_8bit: false
|
examples/qlora-openllama-3b/README.md
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
# qlora-openllama-3b
|
2 |
-
|
3 |
-
```shell
|
4 |
-
accelerate launch scripts/finetune.py examples/qlora-openllama-3b/config.yml
|
5 |
-
|
6 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|