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

Add hf2megatron converter #55

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

Conversation

YumaTsuta
Copy link
Collaborator

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

@YumaTsuta
Copy link
Collaborator Author

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

@YumaTsuta
Copy link
Collaborator Author

新規追加するスクリプト名が 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