Skip to content

Commit 615ac6c

Browse files
committed
Updating README.md with new module and class names.
1 parent be407cd commit 615ac6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ You can download the weights of the OpenAI pre-trained version by cloning [Alec
3030
## Using the pre-trained model as a Transformer Language Model
3131
The model can be used as a transformer language model with OpenAI's pre-trained weights as follow:
3232
```python
33-
from model_py import Model, load_openai_pretrained_model, DEFAULT_CONFIG
33+
from model_pytorch import TransformerModel, load_openai_pretrained_model, DEFAULT_CONFIG
3434

3535
args = DEFAULT_CONFIG
36-
model = Model(args)
36+
model = TransformerModel(args)
3737
load_openai_pretrained_model(model)
3838
```
3939

0 commit comments

Comments
 (0)