Skip to content

[ChatLLaMA] RLHF Training: Prompt too long #299

Description

@swang99

I am getting the following error when doing RLHF training. I decreased the max_sequence_length in my actor configuration to 1024 because there were errors with training for me when set to 2048. Is my actor max_sequence_length too small, and does this mean I have to redo pre-training with a larger max sequence? There isn't a way to change the state_length to my knowledge.

ValueError: The prompt is too long w.r.t the model sequence length
max_sequence_length=1024
state_length=1024
min_tokens=100
max_tokens=2048
max_generation_possible=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingchatllamaIssue related to the ChatLLaMA module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions