We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be407cd commit 615ac6cCopy full SHA for 615ac6c
README.md
@@ -30,10 +30,10 @@ You can download the weights of the OpenAI pre-trained version by cloning [Alec
30
## Using the pre-trained model as a Transformer Language Model
31
The model can be used as a transformer language model with OpenAI's pre-trained weights as follow:
32
```python
33
-from model_py import Model, load_openai_pretrained_model, DEFAULT_CONFIG
+from model_pytorch import TransformerModel, load_openai_pretrained_model, DEFAULT_CONFIG
34
35
args = DEFAULT_CONFIG
36
-model = Model(args)
+model = TransformerModel(args)
37
load_openai_pretrained_model(model)
38
```
39
0 commit comments