Update README.md
Browse files
README.md
CHANGED
|
@@ -29,7 +29,7 @@ An ideal choice for resource-constrained environments. It offers broad GPU compa
|
|
| 29 |
```python
|
| 30 |
from transformers import AutoModelForCausalLM, AutoProcessor, AutoTokenizer
|
| 31 |
|
| 32 |
-
model_id = "mispeech/midashenglm-7b-0804-w4a16
|
| 33 |
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)
|
| 34 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 35 |
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
|
|
|
|
| 29 |
```python
|
| 30 |
from transformers import AutoModelForCausalLM, AutoProcessor, AutoTokenizer
|
| 31 |
|
| 32 |
+
model_id = "mispeech/midashenglm-7b-0804-gptq-w4a16"
|
| 33 |
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)
|
| 34 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 35 |
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
|