Install from git url (#874)
Browse files* Install from git url
* Update README.md
README.md
CHANGED
|
@@ -85,13 +85,19 @@ Get started with Axolotl in just a few steps! This quickstart guide will walk yo
|
|
| 85 |
|
| 86 |
**Requirements**: Python >=3.9 and Pytorch >=2.0.
|
| 87 |
|
|
|
|
|
|
|
|
|
|
| 88 |
```bash
|
| 89 |
git clone https://github.com/OpenAccess-AI-Collective/axolotl
|
| 90 |
cd axolotl
|
| 91 |
|
| 92 |
pip3 install packaging
|
| 93 |
pip3 install -e '.[flash-attn,deepspeed]'
|
|
|
|
| 94 |
|
|
|
|
|
|
|
| 95 |
# finetune lora
|
| 96 |
accelerate launch -m axolotl.cli.train examples/openllama-3b/lora.yml
|
| 97 |
|
|
|
|
| 85 |
|
| 86 |
**Requirements**: Python >=3.9 and Pytorch >=2.0.
|
| 87 |
|
| 88 |
+
`pip3 install "axolotl[flash-attn,deepspeed] @ git+https://github.com/OpenAccess-AI-Collective/axolotl"`
|
| 89 |
+
|
| 90 |
+
### For developers
|
| 91 |
```bash
|
| 92 |
git clone https://github.com/OpenAccess-AI-Collective/axolotl
|
| 93 |
cd axolotl
|
| 94 |
|
| 95 |
pip3 install packaging
|
| 96 |
pip3 install -e '.[flash-attn,deepspeed]'
|
| 97 |
+
```
|
| 98 |
|
| 99 |
+
### Usage
|
| 100 |
+
```bash
|
| 101 |
# finetune lora
|
| 102 |
accelerate launch -m axolotl.cli.train examples/openllama-3b/lora.yml
|
| 103 |
|