Instructions to use BAAI/AquilaChat-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BAAI/AquilaChat-7B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BAAI/AquilaChat-7B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -203,7 +203,7 @@ Create a new directory named `aquila-7b` inside `./checkpoints_in`. Place the fi
|
|
| 203 |
|
| 204 |
#### Step 3: 启动可监督微调/Start SFT
|
| 205 |
```
|
| 206 |
-
bash dist_trigger_docker.sh hostfile
|
| 207 |
```
|
| 208 |
接下来会输出下列信息,注意`NODES_NUM`应该与节点数相等,`LOGFILE`是模型运行的日志文件;The following information will be output. Note that `NODES_NUM` should be equal to the number of nodes, and `LOGFILE` is the log file for the model run.
|
| 209 |
|
|
|
|
| 203 |
|
| 204 |
#### Step 3: 启动可监督微调/Start SFT
|
| 205 |
```
|
| 206 |
+
bash dist_trigger_docker.sh hostfile Aquila-sft.yaml aquilachat-7b [实验名]
|
| 207 |
```
|
| 208 |
接下来会输出下列信息,注意`NODES_NUM`应该与节点数相等,`LOGFILE`是模型运行的日志文件;The following information will be output. Note that `NODES_NUM` should be equal to the number of nodes, and `LOGFILE` is the log file for the model run.
|
| 209 |
|