Skip to content

Fine-tuning DPO Script #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Fine-tuning DPO Script #19

wants to merge 9 commits into from

Conversation

arhaankk
Copy link
Collaborator

@arhaankk arhaankk commented Feb 27, 2025

@arhaankk arhaankk requested a review from jie-jw-wu February 27, 2025 06:54
@arhaankk arhaankk self-assigned this Feb 27, 2025
Comment on lines 59 to 60
max_prompt_length=1024,
max_length=1536,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check what are the difference between these 2 fields

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

max_prompt_length controls only the prompt (input). Defines the maximum allowed length of the prompt (input sequence) in tokens.
max_length controls the total length (input + output). Defines the maximum allowed length for the entire sequence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants