Upload ms-swift/examples/README.md with huggingface_hub
Browse files- ms-swift/examples/README.md +13 -0
ms-swift/examples/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Instructions
|
| 2 |
+
|
| 3 |
+
The example provides instructions for using SWIFT for training, inference, deployment, evaluation, and quantization. By default, the model will be downloaded from the ModelScope community.
|
| 4 |
+
|
| 5 |
+
If you want to use the Huggingface community, you can change the command line like this:
|
| 6 |
+
|
| 7 |
+
```shell
|
| 8 |
+
...
|
| 9 |
+
swift sft \
|
| 10 |
+
--model <model_id_or_path> \
|
| 11 |
+
--use_hf 1 \
|
| 12 |
+
...
|
| 13 |
+
```
|