Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliaElv committed Nov 22, 2024
1 parent 12d67bb commit 20f7313
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chapters/en/chapter10/2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Once Argilla is up and running, you can log in with your credentials.

Now you can go to your Python environment or notebook and install the argilla library:

`! pip install argilla`
`!pip install argilla`

Let's connect with our Argilla instance. To do that you will need the following information:

Expand Down
1 change: 1 addition & 0 deletions chapters/en/chapter10/3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ We can now think about the settings of our dataset in Argilla. These represent t

```python
from datasets import load_dataset

data = load_dataset("SetFit/ag_news", split="train")
data.features()
```
Expand Down
6 changes: 3 additions & 3 deletions chapters/en/chapter10/4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Before you start annotating your dataset, it is always good practice to write so

In Argilla, you can go to your dataset settings page in the UI and modify the guidelines and the descriptions of your questions to help with alignment.

<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/argilla_dataset_settings.png" alt="Screenshot of the Dataset Settings page in Argilla." width="80%"/>
<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/argilla_dataset_settings.png" alt="Screenshot of the Dataset Settings page in Argilla."/>

If you want to dive deeper into the topic of how to write good guidelines, we recommend reading [this blogpost](https://argilla.io/blog/annotation-guidelines-practices) and the bibliographical references mentioned there.

Expand All @@ -25,11 +25,11 @@ Sometimes, you want to have more than one submitted response per record, for exa
When you open your dataset, you will realize that the first question is already filled in with some suggested labels. That's because in the previous section we mapped our question called `label` to the `label_text` column in the dataset, so that we simply need to review and correct the already existing labels:

<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/argilla_initial%20dataset.png" alt="Screenshot of the dataset in Argilla." width="80%"/>
<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/argilla_initial%20dataset.png" alt="Screenshot of the dataset in Argilla."/>

For the token classification, we'll need to add all labels manually, as we didn't include any suggestions. This is how it might look after the span annotations:

<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/argilla_dataset_with_spans.png" alt="Screenshot of the dataset in Argilla with spans annotated." width="80%"/>
<img src="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/argilla_dataset_with_spans.png" alt="Screenshot of the dataset in Argilla with spans annotated."/>

As you move through the different records, there are different actions you can take:
- submit your responses, once you're done with the record.
Expand Down

0 comments on commit 20f7313

Please sign in to comment.