From 3f272673427073683322e449f517a1946547a822 Mon Sep 17 00:00:00 2001 From: CharlesCNorton <135471798+CharlesCNorton@users.noreply.github.com> Date: Sun, 9 Jun 2024 08:21:07 -0400 Subject: [PATCH] Fix: two typos - "critque" -> "critique" Corrected two typos of 'critque' to 'critique' in the data preparation md. --- docs/guides/finetuning_sections/_02_prepare_dataset.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/finetuning_sections/_02_prepare_dataset.md b/docs/guides/finetuning_sections/_02_prepare_dataset.md index 811748d5..4d17e2d3 100644 --- a/docs/guides/finetuning_sections/_02_prepare_dataset.md +++ b/docs/guides/finetuning_sections/_02_prepare_dataset.md @@ -226,7 +226,7 @@ Here are six specific use cases that you might find helpful: line, prompts = args record = json.loads(line) news_article = record.get("news") - critique= record.get("critque") + critique= record.get("critique") part = random.choice(list(range(20))) prompt = prompts[part] @@ -249,7 +249,7 @@ Here are six specific use cases that you might find helpful: except Exception as e: new_news = "ERROR: " + str(e) - result = json.dumps({"news": news_article, "critque": critique, "corrected_news": new_news}) + result = json.dumps({"news": news_article, "critique": critique, "corrected_news": new_news}) # Generate a random 8-digit hexadecimal string random_hash = secrets.token_hex(4)