How to use starcoder as a chat assistant like chatgpt

#30
by Rajath-jain - opened

When I tried asking the same question as provided in AWS Sagemaker deployment script, it gave:

image.png
And then checked with
{
"inputs": "def sum(a,b):"
}
And it returned:
{
"generated_text": "def sum(a,b):\n return a+b\n\ndef diff(a,b):\n return a-b\n"
}
How do I get it to give complete code or make it to chat?

Sign up or log in to comment