Skip to content

Commit

Permalink
Minor PLAINFORMAT coding updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
j-durbin committed Jul 24, 2023
1 parent 7f625d8 commit e88b513
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion airoboros/instructors/coding.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e88b513

Please sign in to comment.