Skip to content
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

Don't merge Bohan/dpo First Part #65

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

Don't merge Bohan/dpo First Part #65

wants to merge 8 commits into from

Conversation

sfc-gh-bzhai
Copy link

No description provided.

If this is turned on, each batch will be filled up to the max length by
appending samples until the total length matches the max length. It might
cause the last sample to be truncated.
"""
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"""
"""

appending samples until the total length matches the max length. It might
cause the last sample to be truncated.
"""
dpo_prompt_truncation_mode: str = "keep_start"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add a comment for autogen docs to this field?

Comment on lines +79 to +82
ref_model: ModelConfig
beta: float
ignore_label_index: int = -100
label_smoothing: float = 0.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add some documentation strings?

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