Petr Tsvetkov
commited on
Commit
β’
9d943c1
1
Parent(s):
fbb73cc
Prompts & params adjusted
Browse files
generation_steps/synthetic_end_to_start.py
CHANGED
@@ -7,7 +7,7 @@ from api_wrappers import grazie_wrapper
|
|
7 |
from generation_steps import examples
|
8 |
|
9 |
GENERATION_MULTIPLIER = 1
|
10 |
-
REL_INSERTIONS_THRESHOLD = 0.
|
11 |
GENERATION_ATTEMPTS = 5
|
12 |
|
13 |
|
|
|
7 |
from generation_steps import examples
|
8 |
|
9 |
GENERATION_MULTIPLIER = 1
|
10 |
+
REL_INSERTIONS_THRESHOLD = 0.5
|
11 |
GENERATION_ATTEMPTS = 5
|
12 |
|
13 |
|
generation_steps/synthetic_start_to_end.py
CHANGED
@@ -26,6 +26,7 @@ This generated message is not perfect. Your task is to rewrite and improve it.
|
|
26 |
You have to simulate a human software developer who manually rewrites the LLM-generated commit message,
|
27 |
so the message you print must share some fragments with the generated message.
|
28 |
Your message should be concise.
|
|
|
29 |
Here are some examples of what you should output:
|
30 |
START OF THE EXAMPLES LIST
|
31 |
{examples.EXAMPLES_START_TO_END}
|
|
|
26 |
You have to simulate a human software developer who manually rewrites the LLM-generated commit message,
|
27 |
so the message you print must share some fragments with the generated message.
|
28 |
Your message should be concise.
|
29 |
+
Follow the Conventional Commits guidelines.
|
30 |
Here are some examples of what you should output:
|
31 |
START OF THE EXAMPLES LIST
|
32 |
{examples.EXAMPLES_START_TO_END}
|