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

Fix MPT HF conversion #1257

Merged
merged 2 commits into from
Jun 6, 2024
Merged

Fix MPT HF conversion #1257

merged 2 commits into from
Jun 6, 2024

Conversation

dakinggg
Copy link
Collaborator

@dakinggg dakinggg commented Jun 6, 2024

Adds a check to make sure files exist before trying to run conversion on them. This can occur if finetuning MPT with code that is on the HF hub.

Before: mpt-convert-1-zoYixY
After: mpt-convert-2-hlVHYN

@dakinggg dakinggg marked this pull request as ready for review June 6, 2024 01:20
@dakinggg dakinggg requested a review from a team as a code owner June 6, 2024 01:20
@dakinggg dakinggg merged commit 67928cb into mosaicml:main Jun 6, 2024
9 checks passed
KuuCi pushed a commit that referenced this pull request Jun 7, 2024
(cherry picked from commit 67928cb)
KuuCi pushed a commit that referenced this pull request Jun 7, 2024
KuuCi pushed a commit that referenced this pull request Jun 7, 2024
@dakinggg dakinggg deleted the fix-mpt branch June 22, 2024 20:46
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.

3 participants