From ea07f11f1dd05e086da9cb1fe30879817395c6b3 Mon Sep 17 00:00:00 2001 From: nataliaElv Date: Fri, 22 Nov 2024 13:07:52 +0100 Subject: [PATCH] Fix quiz inline code --- chapters/en/chapter10/7.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chapters/en/chapter10/7.mdx b/chapters/en/chapter10/7.mdx index 1e0b82173..1ae6c0d7b 100644 --- a/chapters/en/chapter10/7.mdx +++ b/chapters/en/chapter10/7.mdx @@ -161,25 +161,25 @@ Let's test what you learned in this chapter! client= rg.Argilla(api_url='...', api_key='...')", explain: "Yes, to interact with your server you'll need to instantiate it first.", correct: true }, { - text: "Import the dataset from the hub: `dataset = rg.Dataset.from_hub(repo_id='argilla/ag_news_annotated')`", + text: "Import the dataset from the hub: dataset = rg.Dataset.from_hub(repo_id='argilla/ag_news_annotated')", explain: "No. This is to import a dataset from the Hub into your Argilla instance.", }, { - text: "Load the dataset: `dataset = client.datasets(name='my_dataset')`", + text: "Load the dataset: dataset = client.datasets(name='my_dataset')", explain: "Yes, you'll need this for further operations", correct: true }, { - text: "Convert the Argilla dataset into a Datasets dataset: `dataset = dataset.to_datasets()`", + text: "Convert the Argilla dataset into a Datasets dataset: dataset = dataset.to_datasets()", explain: "This is not needed if you export the full dataset. Argilla will take care of this for you. However, you might need it if you're working with a subset of records." }, { - text: "Use the `to_hub` method to export the dataset: `dataset.to_hub(repo_id='my_username/dataset_name')`", + text: "Use the to_hub method to export the dataset: dataset.to_hub(repo_id='my_username/dataset_name')", explain: "This will push the dataset to the indicated repo id, and create a new repo if it doesn't exist.", correct: true },