Skip to content

feat: support chameleon - #19

Merged
Gaiejj merged 4 commits into
PKU-Alignment:mainfrom
Gaiejj:dev-chameleon
Jul 23, 2024
Merged

Gaiejj merged 4 commits into
PKU-Alignment:mainfrom
Gaiejj:dev-chameleon

Conversation

@Gaiejj

@Gaiejj Gaiejj commented Jul 23, 2024 •

Copy link
Copy Markdown
Member

Description

Support SFT and DPO for the meta chameleon model.
Thanks to the contributions of transformer, we have achieved this integration with almost no effort.

If you need to use the chameleon model, please compile and install the latest version of transformers from the source code.

https://github.com/huggingface/transformers.git

Motivation and Context

For more details please refer to #18

  • I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds core functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (update in the documentation)

Checklist

Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

  • I have read the CONTRIBUTION guide. (required)
  • My change requires a change to the documentation.
  • I have updated the tests accordingly. (required for a bug fix or a new feature)
  • I have updated the documentation accordingly.

@Gaiejj Gaiejj added enhancement New feature or request README Revision for README labels Jul 23, 2024

@htlou htlou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Fantastic Code! ❤️

@Gaiejj
Gaiejj requested review from XuyaoWang and zmsn-2077 July 23, 2024 07:22

@XuyaoWang XuyaoWang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM.

@Gaiejj
Gaiejj merged commit f25599d into PKU-Alignment:main Jul 23, 2024
@Gaiejj
Gaiejj deleted the dev-chameleon branch December 27, 2024 08:20
LichenLillc pushed a commit to LichenLillc/align-anything that referenced this pull request May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request README Revision for README

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants