Skip to content

Commit

Permalink
chore: Update gemini-2.0-flash-expgemini-2.0-flash-001
Browse files Browse the repository at this point in the history
  • Loading branch information
holtskinner committed Feb 5, 2025
1 parent 15f0319 commit b943637
Show file tree
Hide file tree
Showing 13 changed files with 1,041 additions and 1,055 deletions.
2 changes: 1 addition & 1 deletion audio/speech/use-cases/podcast/multi-speaker-podcast.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
},
"outputs": [],
"source": [
"MODEL_ID = \"gemini-2.0-flash-exp\" # @param {type: \"string\"}"
"MODEL_ID = \"gemini-2.0-flash-001\" # @param {type: \"string\"}"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"source": [
"<div class=\"alert alert-block alert-warning\">\n",
"<b>\n",
"⚠️ Gemini 2.0 Flash (Model ID: gemini-2.0-flash-exp) and the Google Gen AI SDK are currently experimental and output can vary ⚠️</b>\n",
"⚠️ Gemini 2.0 Flash (Model ID: gemini-2.0-flash-001) and the Google Gen AI SDK are currently experimental and output can vary ⚠️</b>\n",
"</div>\n"
]
},
Expand Down Expand Up @@ -256,7 +256,7 @@
"source": [
"## Overview\n",
"\n",
"[Gemini 2.0 Flash](https://cloud.google.com/vertex-ai/generative-ai/docs/gemini-v2) is a new multimodal generative ai model from the Gemini family developed by [Google DeepMind](https://deepmind.google/). It now available as an experimental preview release through the Gemini API in Vertex AI and Vertex AI Studio. The model introduces new features and enhanced core capabilities:\n",
"[Gemini 2.0 Flash](https://cloud.google.com/vertex-ai/generative-ai/docs/gemini-v2) is a new multimodal generative ai model from the Gemini family developed by [Google DeepMind](https://deepmind.google/). It now available through the Gemini API in Vertex AI and Vertex AI Studio. The model introduces new features and enhanced core capabilities:\n",
"\n",
"- Multimodal Live API: This new API helps you create real-time vision and audio streaming applications with tool use.\n",
"- Speed and performance: Gemini 2.0 Flash is the fastest model in the industry, with a 3x improvement in time to first token (TTFT) over 1.5 Flash.\n",
Expand Down Expand Up @@ -463,7 +463,7 @@
},
"outputs": [],
"source": [
"MODEL_ID = \"gemini-2.0-flash-exp\" # @param {type: \"string\"}\n",
"MODEL_ID = \"gemini-2.0-flash-001\" # @param {type: \"string\"}\n",
"MODEL_ID_Flash = \"gemini-1.5-flash-002\" # For control generation for grounding with google search as a Tool"
]
},
Expand Down
6 changes: 3 additions & 3 deletions gemini/chat-completions/intro_chat_completions_api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@
"\n",
"You can experiment with [various supported Gemini models](https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/call-gemini-using-openai-library#supported_models).\n",
"\n",
"If you are not sure which model to use, then try `gemini-2.0-flash-exp`.\n",
"If you are not sure which model to use, then try `gemini-2.0-flash-001`.\n",
"\n",
"`gemini-2.0-flash-exp` is optimized for multimodal use cases where speed and cost are important."
"`gemini-2.0-flash-001` is optimized for multimodal use cases where speed and cost are important."
]
},
{
Expand All @@ -347,7 +347,7 @@
},
"outputs": [],
"source": [
"MODEL_ID = \"google/gemini-2.0-flash-exp\" # @param {type:\"string\"}"
"MODEL_ID = \"google/gemini-2.0-flash-001\" # @param {type:\"string\"}"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion gemini/getting-started/intro_gemini_2_0_flash.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
" <img src=\"https://img.youtube.com/vi/YfiLUpNejpE/maxresdefault.jpg\" alt=\"Introduction to Gemini on Vertex AI\" width=\"500\">\n",
"</a>\n",
"\n",
"[Gemini 2.0 Flash](https://cloud.google.com/vertex-ai/generative-ai/docs/gemini-v2) is a new multimodal generative ai model from the Gemini family developed by [Google DeepMind](https://deepmind.google/). It is now available as an experimental preview release through the Gemini API in Vertex AI and Vertex AI Studio. The model introduces new features and enhanced core capabilities:\n",
"[Gemini 2.0 Flash](https://cloud.google.com/vertex-ai/generative-ai/docs/gemini-v2) is a new multimodal generative ai model from the Gemini family developed by [Google DeepMind](https://deepmind.google/). It is available through the Gemini API in Vertex AI and Vertex AI Studio. The model introduces new features and enhanced core capabilities:\n",
"\n",
"- Multimodal Live API: This new API helps you create real-time vision and audio streaming applications with tool use.\n",
"- Speed and performance: Gemini 2.0 Flash is the fastest model in the industry, with a 3x improvement in time to first token (TTFT) over 1.5 Flash.\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@
"outputs": [],
"source": [
"response = client.models.generate_content(\n",
" model=\"gemini-2.0-flash-exp\",\n",
" model=\"gemini-2.0-flash-001\",\n",
" contents=prompt,\n",
")\n",
"\n",
Expand Down
Loading

0 comments on commit b943637

Please sign in to comment.