What is the correct prompt format?

#1
by PhanTask - opened

Hi, I want to test toolpaca but not sure what is the correct prompt format.

What I tried is the standford Alpaca format. For example:

Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
toolformer: enabled
toolformer access: wikipedia
A wrapper around Wikipedia. Useful for when you need to display general information about people, places, companies, historical events, or other subjects found in an encyclopedia, displays a snippet summary of the topic. Input should be a search query.
wikipedia(query)
Find the answer to a general knowledge question based on the input given

### Input:
Who is the current president of the United States?

### Response:

However this does not work.

Yeah idk what happened during training but its broken

unfortunate

Yeah idk what happened during training but its broken

I see. Anyway thanks for all the efforts on training various great alpaca models, chavinlo! Do you mind guiding me to the script/codebase you used to train toolpaca? Is it the original standford alpaca repo or a toolformer implementation? I would like to learn more and hopefully to debug it

Original alpaca repo

Original alpaca repo

Thanks!

Sign up or log in to comment