Unverified Commit 35c52f2f authored by Sukuya's avatar Sukuya Committed by GitHub
Browse files

Update torchscript.rst

Import fixed to pytorch_transformers else torchscript flag can't be used.
parent 067923d3
......@@ -74,7 +74,7 @@ according to a ``BertConfig`` class and then saved to disk under the filename ``
.. code-block:: python
from pytorch_pretrained_bert import BertModel, BertTokenizer, BertConfig
from pytorch_transformers import BertModel, BertTokenizer, BertConfig
import torch
enc = BertTokenizer.from_pretrained("bert-base-uncased")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment