diff --git a/docs/_source/tutorials/notebooks/labelling-tokenclassification-basics.ipynb b/docs/_source/tutorials/notebooks/labelling-tokenclassification-basics.ipynb index f9b0dd634f..b29d0f99b2 100644 --- a/docs/_source/tutorials/notebooks/labelling-tokenclassification-basics.ipynb +++ b/docs/_source/tutorials/notebooks/labelling-tokenclassification-basics.ipynb @@ -15,12 +15,22 @@ ] }, { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + ".. note::\n", + "This tutorial applies only to Text2Text, Token Classification and Text Classification datasets. To assign annotations in Feedback datasets follow [this guide](../../guides/llms/practical_guides/assign_annotations.md)." + ] + }, + { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "## Introduction\n", "\n", - "Annotations are often done by teams that share the workload. When this is the case, we want to avoid annotation overlap for efficiency or to control when and how this overlap happens. To do this in Argilla `(v1.6.0)` we have two options: \n", + "Annotations are often done by teams that share the workload. When this is the case, we want to avoid annotation overlap for efficiency or to control when and how this overlap happens. To do this in Argilla `(>v1.6.0)` we have two options: \n", "\n", "1. we can keep a single dataset and assign a set of records to each user.\n", "\n", @@ -81,7 +91,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install argilla==1.6.0 datasets==2.10.1 httpx==0.23.3 -qqq" + "%pip install argilla datasets httpx -qqq" ] }, { @@ -202,6 +212,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -210,15 +221,7 @@ "**Note**\n", "\n", "If you are using a version earlier than 1.11.0 you will need to call the API directly to get the list of users as is done in the following cell. Note that, in that case, users will be returned as dictionaries and so `users.username` will be `users['username']` instead.\n", - "" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ + "```python\n", "import httpx\n", "\n", "rg_client= rg.active_client().client\n", @@ -229,7 +232,9 @@ "users = http.get(\"/api/users\").json()\n", "\n", "# optional: filter users to get only those with annotator role\n", - "users = [u for u in users if u['role']=='annotator']" + "users = [u for u in users if u['role']=='annotator']\n", + "```\n", + "" ] }, { @@ -393,7 +398,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.10" + "version": "3.8.15" }, "vscode": { "interpreter": {