From 66456ebe1849d8cca08a5a4603212ee679e11900 Mon Sep 17 00:00:00 2001 From: Sebastian Zett Date: Fri, 8 Mar 2024 11:17:52 +0100 Subject: [PATCH 1/2] fix documentation w.r.t. possible range of embedding scores --- src/examples/classification.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/classification.ipynb b/src/examples/classification.ipynb index 39dd32d7a..29b706a70 100644 --- a/src/examples/classification.ipynb +++ b/src/examples/classification.ipynb @@ -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", From 48f4f632110c29099ce861815d2ad75bda0c76c5 Mon Sep 17 00:00:00 2001 From: Sebastian Zett Date: Fri, 8 Mar 2024 13:25:47 +0100 Subject: [PATCH 2/2] fix typo in classification notebook documentation --- src/examples/classification.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/classification.ipynb b/src/examples/classification.ipynb index 29b706a70..b3e6e6552 100644 --- a/src/examples/classification.ipynb +++ b/src/examples/classification.ipynb @@ -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",