Add note to install transformers from source
#3
by
Xenova HF Staff - opened
README.md
CHANGED
|
@@ -96,6 +96,12 @@ mistral-demo $HOME/mistral_models/Nemo-v0.1
|
|
| 96 |
|
| 97 |
## Generate with `transformers`
|
| 98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
If you want to use Hugging Face `transformers` to generate text, you can do something like this.
|
| 100 |
|
| 101 |
```py
|
|
|
|
| 96 |
|
| 97 |
## Generate with `transformers`
|
| 98 |
|
| 99 |
+
> [!IMPORTANT]
|
| 100 |
+
> NOTE: Until a new release has been made, you need to install transformers from source:
|
| 101 |
+
> ```sh
|
| 102 |
+
> pip install git+https://github.com/huggingface/transformers.git
|
| 103 |
+
> ```
|
| 104 |
+
|
| 105 |
If you want to use Hugging Face `transformers` to generate text, you can do something like this.
|
| 106 |
|
| 107 |
```py
|