Update Docker instructions
This commit is contained in:
10
README.md
10
README.md
@@ -20,8 +20,12 @@ Go ahead and axolotl questions!!
|
|||||||
|
|
||||||
- Docker
|
- Docker
|
||||||
```bash
|
```bash
|
||||||
docker pull winglian/axolotl
|
docker run --gpus '"all"' --rm -it winglian/axolotl:main
|
||||||
```
|
```
|
||||||
|
- `winglian/axolotl:dev`: dev branch
|
||||||
|
- `winglian/axolotl-runpod:main`: for runpod
|
||||||
|
- `--gpus '"device=0"'`: to select one gpu
|
||||||
|
- `-v $PWD:/workspace/axolotl`: to mount current path for dev
|
||||||
|
|
||||||
- Conda/Pip venv
|
- Conda/Pip venv
|
||||||
1. Install python **3.9**
|
1. Install python **3.9**
|
||||||
@@ -33,7 +37,7 @@ Go ahead and axolotl questions!!
|
|||||||
|
|
||||||
### Dataset
|
### Dataset
|
||||||
|
|
||||||
Have a dataset in one of the following format (JSONL recommended):
|
Have dataset(s) in one of the following format (JSONL recommended):
|
||||||
|
|
||||||
- `alpaca`: instruction; input(optional)
|
- `alpaca`: instruction; input(optional)
|
||||||
```json
|
```json
|
||||||
@@ -64,7 +68,7 @@ Have a dataset in one of the following format (JSONL recommended):
|
|||||||
{"text": "..."}
|
{"text": "..."}
|
||||||
```
|
```
|
||||||
|
|
||||||
Optionally Download some datasets, see [data/README.md](data/README.md)
|
Optionally, download some datasets, see [data/README.md](data/README.md)
|
||||||
|
|
||||||
### Config
|
### Config
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user