Skip to content

Alpaca format mapping? #1704

Closed Answered by hiyouga
EllenOrange asked this question in Q&A
Dec 1, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

We adopted the alpaca template without an input field since most samples in alpaca 52k have no input.
Using the alpaca template in this framework, you can choose to pre-process the training set by prepending the tokens to the inputs:

{
  "instruction": "<your instruction>",
  "input": "### Input:\n<your input>",
  "output": "<your response>"
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@EllenOrange
Comment options

Answer selected by EllenOrange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
solved This problem has been already solved.
2 participants