Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
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
6 changes: 3 additions & 3 deletions notebooks/generative_ai/bq_dataframes_llm_kmeans.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We now have the complaints and their text embeddings as two columns in our combined_df. Recall that complaints with numerically similar text embeddings should have similar meanings semantically. We will now group similar complaints together."
"We now have the complaints and their text embeddings as two columns in our predicted_embeddings DataFrame."
]
},
{
Expand Down Expand Up @@ -426,7 +426,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Our dataframe combined_clustered_result now has three complaint columns: the content, their text embeddings, and an ID from 1-10 (inclusive) indicating which semantically similar group they belong to."
"Our DataFrame clustered_result now has an additional column that includes an ID from 1-10 (inclusive) indicating which semantically similar group they belong to."
]
},
{
Expand Down Expand Up @@ -501,7 +501,7 @@
"source": [
"# The plain English request we will make of PaLM 2\n",
"prompt = (\n",
" \"Please highlight the most obvious difference between\"\n",
" \"Please highlight the most obvious difference between \"\n",
" \"the two lists of comments:\\n\" + prompt1 + prompt2\n",
")\n",
"print(prompt)"
Expand Down