Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: update the llm_kmeans notebook #247

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 30, 2023
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 6 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.