Skip to content

Usability update#857

Merged
wheresmyhair merged 6 commits into
mainfrom
yizhenjia-maintenance
Jun 14, 2024
Merged

Usability update#857
wheresmyhair merged 6 commits into
mainfrom
yizhenjia-maintenance

Conversation

@wheresmyhair
Copy link
Copy Markdown
Collaborator

  1. RM shell shebang fix
  2. Add padding side option, by default right (as what LMFlow did previously), when set to auto, will follow the tokenizer default padding_side
  3. Specify num_labels=1 for HFTextRegressionModel to avoid some rare bugs
  4. HFTextRegressionModel supports text_only and text2text data (only for inference, since training a reward model needs preference(paired) data)

Copy link
Copy Markdown
Contributor

@research4pan research4pan left a comment

Choose a reason for hiding this comment

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

LGTM

@wheresmyhair wheresmyhair merged commit d7055e3 into main Jun 14, 2024
@wheresmyhair wheresmyhair deleted the yizhenjia-maintenance branch June 17, 2024 01:13
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