Install transformers library
parent
2c700450b5
commit
daf309c2bb
|
@ -2588,6 +2588,7 @@
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
|
"!pip install -q -U transformers\n",
|
||||||
"from transformers import TFOpenAIGPTLMHeadModel\n",
|
"from transformers import TFOpenAIGPTLMHeadModel\n",
|
||||||
"\n",
|
"\n",
|
||||||
"model = TFOpenAIGPTLMHeadModel.from_pretrained(\"openai-gpt\")"
|
"model = TFOpenAIGPTLMHeadModel.from_pretrained(\"openai-gpt\")"
|
||||||
|
|
Loading…
Reference in New Issue