From e88b5134155526a5e57024564ff94f5fd344beec Mon Sep 17 00:00:00 2001 From: Jon Durbin Date: Mon, 24 Jul 2023 11:57:57 -0400 Subject: [PATCH] Minor PLAINFORMAT coding updates. --- airoboros/instructors/coding.py | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/airoboros/instructors/coding.py b/airoboros/instructors/coding.py index 98f0c7c..f1a31a4 100644 --- a/airoboros/instructors/coding.py +++ b/airoboros/instructors/coding.py @@ -104,13 +104,14 @@ async def generate(instructor): "Do not include an intro sentence indicating what the code will do.", "Do not include any instructions for usage, warnings about replacing certain values, etc.", "Do not surround the code with backticks/markdown formatting.", + "Include help code comments.", ] ), ] ) ) instructions.append( - instruction if not plain else instruction + " PLAINFORMAT" + instruction if not plain else instruction.strip() + " PLAINFORMAT" ) futures.append( instructor.generate_response( diff --git a/setup.py b/setup.py index f9cef55..4d30371 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="airoboros", - version="2.0.9", + version="2.0.10", description="Updated and improved implementation of the self-instruct system.", long_description=long_description, long_description_content_type="text/markdown",