Update README.md
Browse files
README.md
CHANGED
@@ -18,18 +18,18 @@ base_model:
|
|
18 |
|
19 |
The base-model [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) currently relies on
|
20 |
the latest dev-version transformers and torch.<br>
|
21 |
-
Also, it needs *trust_remote_code=True* as an argument of the from_pretrained
|
22 |
```
|
23 |
pip install git+https://github.com/huggingface/transformers accelerate
|
24 |
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
|
25 |
```
|
26 |
|
27 |
-
Additionally, LoRA
|
28 |
```
|
29 |
pip install peft
|
30 |
```
|
31 |
|
32 |
-
Now, let's start to download the
|
33 |
|
34 |
```python
|
35 |
import torch
|
|
|
18 |
|
19 |
The base-model [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) currently relies on
|
20 |
the latest dev-version transformers and torch.<br>
|
21 |
+
Also, it needs *trust_remote_code=True* as an argument of the from_pretrained function.
|
22 |
```
|
23 |
pip install git+https://github.com/huggingface/transformers accelerate
|
24 |
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
|
25 |
```
|
26 |
|
27 |
+
Additionally, LoRA adapter requires the peft package.
|
28 |
```
|
29 |
pip install peft
|
30 |
```
|
31 |
|
32 |
+
Now, let's start to download the adapter.
|
33 |
|
34 |
```python
|
35 |
import torch
|