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

Fix embedding-based classification documentation #597

Merged
merged 2 commits into from
Apr 16, 2024
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
4 changes: 2 additions & 2 deletions src/examples/classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"LLMs, on the other hand, can swiftly process and categorize enormous datasets with minimal human intervention.\n",
"By leveraging LLMs for classification tasks, organizations can unlock insights from their data more efficiently, streamline their workflows, and harness the full potential of their information assets.\n",
"\n",
"In this notebook, we present to alternative ways for classifying text using Aleph Alpha's Luminous models.\n",
"In this notebook, we present two alternative ways for classifying text using Aleph Alpha's Luminous models.\n",
"First, let's have a look at single-label classification using prompting.\n",
"\n",
"### Prompt-based single-label classification\n",
Expand Down Expand Up @@ -280,7 +280,7 @@
"Again, let's appreciate the difference of this result compared to `PromptBasedClassify`'s result.\n",
"- The probabilities do not add up to 1.\n",
"In fact, we have no way of predicting what the sum of all scores will be.\n",
"In some cases, individual scores may even be negative.\n",
"We only know they will be in the range from 0 to 1.\n",
"All we know is that the highest score is likely to correspond to the best fitting label, provided we delivered good examples.\n",
"- We were much quicker to obtain a result.\n",
"\n",
Expand Down