Skip to content

Commit

Permalink
adjust prompt for sample generation
Browse files Browse the repository at this point in the history
  • Loading branch information
stolzenp committed Apr 18, 2024
1 parent cdf6c7c commit 572351c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
label_options = ["positive", "negative"]

prompt = BasePrompt(
task_description="You are writing a movie review. Write only one {} movie review similar to the following examples.",
task_description="Generate a {} movie review similar to this:",
label_options=label_options,
target_formatting_template="",
)

prompt_node = PromptNode(
model_name_or_path="mistralai/Mistral-7B-Instruct-v0.1",
max_length=500,
model_kwargs={"temperature": 0.9},
model_kwargs={"temperature": 2},

)

Expand Down

0 comments on commit 572351c

Please sign in to comment.