Skip to content

\n should be handled properly #134

@pfliu-nlp

Description

@pfliu-nlp

f" {input['question']}\n Thought: ",

Run

>>> from datalabs import load_dataset
>>> from datalabs import load_dataset
>>> from promptware import install
>>> software = install("./softwares/multi_hop_qa")
>>> software.example_prompt
  • the \n should be removed after Thought:

'Question: What is the elevation range for the area that the eastern sector of the Colorado orogeny extends into?\nThought: Let’s think step by step. The eastern sector of Colorado orogeny extends into the High Plains. High Plains rise in elevation from around 1,800 to 7,000 ft, so the answer is 1,800 to 7,000 ft. \nAnswer: 1,800 to 7,000 ft\n\nQuestion: Musician and satirist Allie Goertz wrote a song about the "The Simpsons" character Milhouse, who Matt Groening named after who? Thought: Let’s think step by step. Milhouse was named after U.S. president Richard Nixon, so the answer is Richard Nixon. \nAnswer: Richard Nixon\n\nQuestion: Which documentary is about Finnish rock groups, Adam Clayton Powell or The Saimaa Gesture? Thought: Let’s think step by step. Adam Clayton Powell (film) is a documentary about an African-American politician, not Finnish rock groups. So the documentary about Finnish rock groups must instead be The Saimaa Gesture.\n Answer: The Saimaa Gesture\n\nQuestion: What profession does Nicholas Ray and Elia Kazan have in common?\n Thought: Let’s think step by step. Professions of Nicholas Ray are director, screenwriter, and actor. Professions of Elia Kazan are director, producer, screenwriter, and actor. So profession Nicholas Ray and Elia Kazan have in common is director, screenwriter, and actor.\n Answer: director, screenwriter, actor\n\nQuestion: Which magazine was started first Arthur’s Magazine or First for Women?\n Thought: Let’s think step by step. Arthur’s Magazine was started in 1844. First for Women was started in 1989. 1844 (Arthur’s Magazine) < 1989 (First for Women), so Arthur’s Magazine was started first.\n Answer: Arthur’s Magazine\n\nQuestion: Were Pavel Urysohn and Leonid Levin known for the same type of work?\n Thought: Let’s think step by step. Pavel Urysohn is a mathematician. Leonid Levin is a mathematician and computer scientist. So Pavel Urysohn and Leonid Levin have the same type of work.\n Answer: Yes\n\nQuestion: What government position was held by the woman who portrayed Corliss Archer in the film Kiss and Tell ?\n Thought: \n'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions