Skip to content

Add hf2megatron converter #55

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add hf2megatron converter #55

wants to merge 1 commit into from

Conversation

ytivy
Copy link
Collaborator

@ytivy ytivy commented Oct 24, 2024

This PR add model converter from hugging face format into megatron-LM format

@ytivy
Copy link
Collaborator Author

ytivy commented Oct 24, 2024

実行時にMegatron-LMのコードが動くのですが、args.save_intervalを設定せずに動かすためスクリプトを改変した箇所でエラーが発生します。
この問題を解決してからPRをreadyに変更予定。
該当部分をコメントアウトすれば動きます。

@ytivy
Copy link
Collaborator Author

ytivy commented Oct 24, 2024

新規追加するスクリプト名が hf2megatron.sh のため、既存のmegatron -> HF形式変換スクリプト converter.shmegatron2hf.sh にしても良いと思います。

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.

1 participant