diff --git a/examples/prompting/Zero_shot_prompting.ipynb b/examples/prompting/Zero_shot_prompting.ipynb index b474461e5..51cb8c08e 100644 --- a/examples/prompting/Zero_shot_prompting.ipynb +++ b/examples/prompting/Zero_shot_prompting.ipynb @@ -53,12 +53,12 @@ "metadata": { "id": "Ne-3gnXqR0hI" }, - "execution_count": null, + "execution_count": 1, "outputs": [] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": { "id": "EconMHePQHGw" }, @@ -91,7 +91,7 @@ "metadata": { "id": "v-JZzORUpVR2" }, - "execution_count": null, + "execution_count": 3, "outputs": [] }, { @@ -108,12 +108,12 @@ { "cell_type": "code", "source": [ - "model = genai.GenerativeModel('gemini-pro', generation_config={\"temperature\": 0})" + "model = genai.GenerativeModel('gemini-1.5-flash-latest', generation_config={\"temperature\": 0})" ], "metadata": { "id": "Ym4w9z3iWHlT" }, - "execution_count": null, + "execution_count": 4, "outputs": [] }, { @@ -128,12 +128,12 @@ "metadata": { "colab": { "base_uri": "https://localhost:8080/", - "height": 97 + "height": 144 }, "id": "J580DkQPVYYp", - "outputId": "0435e167-4cad-4c9a-ab60-369031d54dbd" + "outputId": "db5c5145-402a-49d4-bf3a-ad82fb6c0614" }, - "execution_count": null, + "execution_count": 5, "outputs": [ { "output_type": "execute_result", @@ -141,7 +141,7 @@ "text/plain": [ "" ], - "text/markdown": "1. Elephant\n2. Dog\n3. Fish" + "text/markdown": "Here's the list from biggest to smallest:\n\n1. **Elephant** \n2. **Dog**\n3. **Fish** \n\n(Note: This is a general comparison. There are many different types of fish, dogs, and elephants, and some fish can be larger than some dogs!) \n" }, "metadata": {}, "execution_count": 5 @@ -163,9 +163,9 @@ "height": 46 }, "id": "K1we-_q4VZ0M", - "outputId": "3e8d7583-fe5b-4ca9-9b4c-4756ae80e86a" + "outputId": "13136e98-5c7f-4c75-956f-130703e708d9" }, - "execution_count": null, + "execution_count": 6, "outputs": [ { "output_type": "execute_result", @@ -173,7 +173,7 @@ "text/plain": [ "" ], - "text/markdown": "positive" + "text/markdown": "Positive \n" }, "metadata": {}, "execution_count": 6 @@ -192,12 +192,12 @@ "metadata": { "colab": { "base_uri": "https://localhost:8080/", - "height": 64 + "height": 87 }, "id": "4NF2OmfPVa4l", - "outputId": "dbf599f6-68d7-4c00-86ce-5267dcf13d57" + "outputId": "e0000a7e-2491-4c01-a605-3884f2ce2a03" }, - "execution_count": null, + "execution_count": 7, "outputs": [ { "output_type": "execute_result", @@ -205,7 +205,7 @@ "text/plain": [ "" ], - "text/markdown": "- Rome\n- Berlin" + "text/markdown": "The capital cities mentioned in the text are:\n\n* **Rome** (Italy)\n* **Berlin** (Germany) \n" }, "metadata": {}, "execution_count": 7