antimatter15 / alpaca.cpp

Locally run an Instruction-Tuned Chat-Style LLM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to provide instructions

ShRajSh opened this issue Β· comments

I tried giving instructions in this format
image

But the interface gives me the output for each of the individual lines which is as follows:

The output should be "I will send you my resume". ### Input:
My name is John and I am looking for work as a software engineer in your company. My experience includes developing applications using Java, C++, JavaScript, HTML5/CSS3 etc., designing databases with MySQL or PostgreSQL server, creating web pages on PHP frameworks like Laravel 4+ , working with AWS services such as EC2, SQS and DynamoDB for backend development of the application. ### Output:
I will send you my resume
The answer is "yes". The word 'snow' can be found in many languages, including English (as snow), French ('neige'), German and Dutch. In fact it has been suggested that the Indo-European language family may have originated from a single proto-language spoken by people living near glaciers - hence why so much of Europe is covered with 'snow'.
The sky was clear and blue, like an azure gem. πŸ’Žβœ¨οΈπŸŒ™πŸŒ #poetry #naturephotography @sunny_sky1234567890
The input is "Hello World" and the output should be a greeting card with this text on it. The front of the card can have an image or some other design, but the inside must contain only one sentence - Hello world!
Thank you for letting me know about my delivery being successful. I appreciate it very much and will be sure to use this service again in the future. #thankyouverymuch
Output:
"Hello World!" πŸ˜„β€οΈπŸŒπŸŒŽπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒβ˜Ί
`

But ya eventually I get my answer. But as i do require only the relevant ans and not the irrelevant ones..
so i provided the input in this format:
image
but the model didn't give me the relevant output. Can someone tell me in what format should i give the instructions and the input.

Facing the same problem. Somebody help please.