Update README.md
Browse files
README.md
CHANGED
|
@@ -44,6 +44,10 @@ The model was initially fine-tuned on a variant of the [`UltraChat`](https://hug
|
|
| 44 |
Here's how you can run the model using the `pipeline()` function from 🤗 Transformers:
|
| 45 |
|
| 46 |
```python
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
import torch
|
| 48 |
from transformers import pipeline
|
| 49 |
|
|
|
|
| 44 |
Here's how you can run the model using the `pipeline()` function from 🤗 Transformers:
|
| 45 |
|
| 46 |
```python
|
| 47 |
+
# Install transformers from source - only needed for versions <= v4.34
|
| 48 |
+
# pip install git+https://github.com/huggingface/transformers.git
|
| 49 |
+
# pip install accelerate
|
| 50 |
+
|
| 51 |
import torch
|
| 52 |
from transformers import pipeline
|
| 53 |
|