Update README.md
Browse files
README.md
CHANGED
@@ -28,6 +28,7 @@ pip install transformers
|
|
28 |
```
|
29 |
|
30 |
```python
|
|
|
31 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
32 |
|
33 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
28 |
```
|
29 |
|
30 |
```python
|
31 |
+
import torch
|
32 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
33 |
|
34 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|