Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update clustering_with_embeddings.ipynb #393

Merged
merged 2 commits into from
Apr 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"\n",
"This tutorial demonstrates how to visualize and perform clustering with the embeddings from the Gemini API. You will visualize a subset of the 20 Newsgroup dataset using [t-SNE](https://scikit-learn.org/stable/modules/generated/sklearn.manifold.TSNE.html){:.external} and cluster that subset using the KMeans algorithm.\n",
"\n",
"For more information on getting started with embeddings generated from the Gemini API, check out the [Python quickstart](../tutorials/python_quickstart.ipynb#use_embeddings).\n",
"For more information on getting started with embeddings generated from the Gemini API, check out the [Python quickstart](https://ai.google.dev/tutorials/python_quickstart#use_embeddings).\n",
markmcd marked this conversation as resolved.
Show resolved Hide resolved
"\n",
"## Prerequisites\n",
"\n",
Expand Down Expand Up @@ -165,7 +165,7 @@
"source": [
"Key Point: Next, you will choose a model. Any embedding model will work for this tutorial, but for real applications it's important to choose a specific model and stick with it. The outputs of different models are not compatible with each other.\n",
"\n",
"**Note**: At this time, the Gemini API is [only available in certain regions](https://developers.generativeai.google/available_regions)."
"**Note**: At this time, the Gemini API is [only available in certain regions](https://ai.google.dev/available_regions)."
]
},
{
Expand Down Expand Up @@ -2857,7 +2857,7 @@
"\n",
"There are other clustering algorithms outside of KMeans as well, such as [density-based spatial clustering (DBSCAN)](https://scikit-learn.org/stable/modules/generated/sklearn.cluster.DBSCAN.html){:.external}.\n",
"\n",
"To learn how to use other services in the Gemini API, visit the [Python quickstart](../tutorials/python_quickstart.ipynb). To learn more about how you can use the embeddings, check out the [examples](../examples?keywords=embed) available. To learn how to create them from scratch, see TensorFlow's [Word Embeddings](https://www.tensorflow.org/text/guide/word_embeddings){:.external} tutorial."
"To learn how to use other services in the Gemini API, visit the [Python quickstart](https://ai.google.dev/tutorials/python_quickstart). To learn more about how you can use the embeddings, check out the [examples](../examples?keywords=embed) available. To learn how to create them from scratch, see TensorFlow's [Word Embeddings](https://www.tensorflow.org/text/guide/word_embeddings){:.external} tutorial."
]
}
],
Expand Down
Loading