jyhong836 commited on
Commit
3bdf225
·
1 Parent(s): 56954b0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -24,13 +24,14 @@ License: [MIT License](https://opensource.org/license/mit/)
24
 
25
  Setup environment
26
  ```shell
27
- pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
28
  pip install transformers==4.31.0
29
- pip install huggingface_hub accelerate
30
  ```
31
 
32
  How to use
33
  ```python
 
34
  from transformers import AutoModelForCausalLM, AutoTokenizer
35
  base_model = 'llama-2-7b'
36
  comp_method = 'magnitude_unstructured'
 
24
 
25
  Setup environment
26
  ```shell
27
+ pip install torch==2.0.0+cu117 torchvision==0.15.1+cu117 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu117
28
  pip install transformers==4.31.0
29
+ pip install accelerate
30
  ```
31
 
32
  How to use
33
  ```python
34
+ import torch
35
  from transformers import AutoModelForCausalLM, AutoTokenizer
36
  base_model = 'llama-2-7b'
37
  comp_method = 'magnitude_unstructured'