Update README.md
Browse files
README.md
CHANGED
|
@@ -31,9 +31,15 @@ This is the 8 bit GPTQ version of [Meta-Llama-3.1-8B-Instruct](https://huggingf
|
|
| 31 |
|
| 32 |
Starting with `transformers >= 4.43.0` onward, you can run conversational inference using the Transformers `pipeline` abstraction or by leveraging the Auto classes with the `generate()` function.
|
| 33 |
|
| 34 |
-
Make sure to update your transformers installation via `pip install --upgrade transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
```python
|
|
|
|
|
|
|
| 37 |
import transformers
|
| 38 |
import torch
|
| 39 |
|
|
|
|
| 31 |
|
| 32 |
Starting with `transformers >= 4.43.0` onward, you can run conversational inference using the Transformers `pipeline` abstraction or by leveraging the Auto classes with the `generate()` function.
|
| 33 |
|
| 34 |
+
Make sure to update your transformers installation via `pip install --upgrade transformers` and you have auto-gptq, optimum installed.
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
!pip install auto-gptq optimum --quiet
|
| 38 |
+
!pip install -q --upgrade transformers --quiet
|
| 39 |
|
| 40 |
```python
|
| 41 |
+
|
| 42 |
+
|
| 43 |
import transformers
|
| 44 |
import torch
|
| 45 |
|