Skip to content

Are custom prompts allowed? #58

@lihaoling

Description

@lihaoling

Can we use customized prompt. e.g. like Magicoder when testing HumanEval, the promtp will appear in the INSTRUCTION and RESPONSE respectively.

 instruction = f"""Write a solution to the following problem:
```python
{prompt}
```"""
response_prefix = f"""```python
{prompt}"""

https://github.com/ise-uiuc/magicoder/blob/main/experiments/text2code.py#L60

Also, can we extract the docstring part of task_prompt from the complete subset of BigCodeBench and use it as the prompt for the INSTRUCTION and task_prompt as the prompt for the RESPONSE?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions