Skip to content

How does openAI framework converts the ChatComplete (training data ) into model ready format (SFT) #2075

@shakeel608

Description

@shakeel608

I have a question regarding the internal processing pipeline for Supervised Fine‑Tuning (SFT) when using the ChatCompletion-style JSON format for training data.

{
"messages": [
{
"role": "system",
"content": "You are an ..."
},
{
"role": "user",
"content": "Please tell me about the paper "K205.........""
},
{
"role": "assistant",
"content": "The paper titled "K205R specific nanobody...""
}
]
}

How does the framework internally transform the ChatCompletion training data format into a model ready input. And how is the loss computed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions