jyhong836 commited on
Commit
3a59b96
·
1 Parent(s): 6314c97

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -21,9 +21,9 @@ License: [MIT License](https://opensource.org/license/mit/)
21
  How to use
22
  ```python
23
  base_model = 'llama-2-7b'
24
- comp_degree = 0.1
25
  comp_method = 'sparsegpt_unstructured'
26
- model_path = f'vita-group/comp-{arch}_{comp_method}_s{comp_degree}'
 
27
  model = AutoModelForCausalLM.from_pretrained(
28
  model_path,
29
  torch_dtype=torch.float16,
 
21
  How to use
22
  ```python
23
  base_model = 'llama-2-7b'
 
24
  comp_method = 'sparsegpt_unstructured'
25
+ comp_degree = 0.1
26
+ model_path = f'vita-group/comp-{base_model}_{comp_method}_s{comp_degree}'
27
  model = AutoModelForCausalLM.from_pretrained(
28
  model_path,
29
  torch_dtype=torch.float16,