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

[WIP] Hugging Face Conversion #44

Closed
wants to merge 0 commits into from

Conversation

JACKHAHA363
Copy link

@JACKHAHA363 JACKHAHA363 commented Aug 18, 2023

Roadmap:

  1. make tools/convert_sequential_to_hf.py works with magma_pythia_410M checkpoint. (current)
  2. Add huggingface Robin class by adding adaptors to GPTNeoX huggingface class.
  3. Modify convert_sequential_to_hf.py accordingly.

Command:

python tools/convert_sequential_to_hf.py \
--input_dir checkpoints/magma_410M_testrun5/global_step1000 \
--config_file checkpoints/magma_410M_testrun5/global_step1000/configs/magma_pythia_410M.yml checkpoints/magma_410M_testrun5/global_step1000/configs/magma_setup.yml \
--output_dir checkpoint/magma_converted

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.

None yet

1 participant