Update README.md
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ pip install transformers torch
|
|
23 |
### Loading the Model
|
24 |
|
25 |
```python
|
26 |
-
from
|
27 |
import torch
|
28 |
|
29 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
23 |
### Loading the Model
|
24 |
|
25 |
```python
|
26 |
+
from transformers import GPT2LMHeadModel, GPT2Tokenizer
|
27 |
import torch
|
28 |
|
29 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|