ise-uiuc / magicoder

Magicoder: Source Code Is All You Need

Home Page:https://arxiv.org/abs/2312.02120

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text-gen prompt template?

Nurb432 opened this issue · comments

Sorry if this was mentioned before, but is there a stock prompt template in ooba's text-gen that works with this?

Thanks for asking. I'm not very familiar with ooba. Would you mind providing more context?

Here is the normal text-generation prompt for Magicoder:

MAGICODER_PROMPT = """You are an exceptionally intelligent coding assistant that consistently delivers accurate and reliable responses to user instructions.

@@ Instruction
{instruction}

@@ Response
"""

Thanks for asking. I'm not very familiar with ooba. Would you mind providing more context?

As in the most popular web GUI for LLMs ( at least claims to be :) ) . Oobagooba is the person, text-generation is what he calls it. Its based on Gradio. He has built in prompts for most things ( but not yours yet, too new ). https://github.com/oobabooga/text-generation-webui

Ill see if i can create one via what you just posted above this and add it to my copy until its added offically, thanks.