Install transformers library

main
Ian Beauregard 2020-10-20 12:08:21 -04:00
parent 2c700450b5
commit daf309c2bb
1 changed files with 1 additions and 0 deletions

View File

@ -2588,6 +2588,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -q -U transformers\n",
"from transformers import TFOpenAIGPTLMHeadModel\n",
"\n",
"model = TFOpenAIGPTLMHeadModel.from_pretrained(\"openai-gpt\")"