mobicham commited on
Commit
7504a4c
1 Parent(s): dcf12ef

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -7
README.md CHANGED
@@ -12,14 +12,11 @@ This model matches the quality of AWQ (same perplexity) but didn't use any data
12
 
13
  To run the model, install the HQQ library from https://github.com/mobiusml/hqq and use it as follows:
14
  ``` Python
15
- from hqq.models.llama_hf import LlamaHQQ
16
- import transformers
17
-
18
  model_id = 'mobiuslabsgmbh/Llama-2-13b-hf-4bit_g64-HQQ'
19
- #Load the tokenizer
20
- tokenizer = transformers.AutoTokenizer.from_pretrained(model_id)
21
- #Load the model
22
- model = LlamaHQQ.from_quantized(model_id)
23
  ```
24
 
25
  *Limitations*: <br>
 
12
 
13
  To run the model, install the HQQ library from https://github.com/mobiusml/hqq and use it as follows:
14
  ``` Python
 
 
 
15
  model_id = 'mobiuslabsgmbh/Llama-2-13b-hf-4bit_g64-HQQ'
16
+
17
+ from hqq.engine.hf import HQQModelForCausalLM, AutoTokenizer
18
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
19
+ model = HQQModelForCausalLM.from_quantized(model_id)
20
  ```
21
 
22
  *Limitations*: <br>