Skip to content

config datasets help #856

Closed Answered by bittersweet1999
TousenKaname asked this question in Q&A
Discussion options

You must be logged in to vote

We set HUMAN and BOT to differentiate the roles in a conversation. In a single-turn dialogue dataset, you only need to use HUMAN. For example:

template = dict(
    round=[
        dict(
            role='HUMAN',
            prompt="{question}"
        ),
    ]
)

In the case of multi-turn dialogues, you might need to specify templates for multiple rounds of HUMAN and BOT interactions. In the chatmed data example you provided, since it's a single-turn dialogue, using HUMAN as the template is sufficient.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TousenKaname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants