Skip to content

Commit

Permalink
add missing argument and update language
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbouchard committed Jan 1, 2025
1 parent ffb3109 commit f14c543
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
" attribute='race',\n",
" subset_prompts=True\n",
")\n",
"race_prompts = pd.DataFrame(ftu_result[\"data\"]).rename({'attribute_words': 'race_words'})\n",
"race_prompts = pd.DataFrame(ftu_result[\"data\"]).rename(columns={'attribute_words': 'race_words'})\n",
"race_prompts.tail(5)"
]
},
Expand Down Expand Up @@ -481,7 +481,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Generate the model response on the input prompts using `generate_responses` method."
"Create counterfactual input prompts and generate corresponding LLM responses using `generate_responses` method."
]
},
{
Expand Down

0 comments on commit f14c543

Please sign in to comment.