From daf309c2bb7d747f2a2d0283103ce20ba6bd3d99 Mon Sep 17 00:00:00 2001 From: Ian Beauregard Date: Tue, 20 Oct 2020 12:08:21 -0400 Subject: [PATCH] Install transformers library --- 16_nlp_with_rnns_and_attention.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/16_nlp_with_rnns_and_attention.ipynb b/16_nlp_with_rnns_and_attention.ipynb index 562b856..945bc5f 100644 --- a/16_nlp_with_rnns_and_attention.ipynb +++ b/16_nlp_with_rnns_and_attention.ipynb @@ -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\")"