Install transformers library
parent
2c700450b5
commit
daf309c2bb
|
@ -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\")"
|
||||
|
|
Loading…
Reference in New Issue