Mike0307 commited on
Commit
f149a16
·
verified ·
1 Parent(s): 96610ae

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
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() 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 model requires the peft package.
28
  ```
29
  pip install peft
30
  ```
31
 
32
- Now, let's start to download the model.
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