Skip to content

Commit

Permalink
Adds a script to convert HF checkpoints to NeoX 2.0 with mp and pp sh…
Browse files Browse the repository at this point in the history
…arding (EleutherAI#907)

* added HF to NeoX 2.0 conversion script with mp and pp sharding

* (1) added missing curly brace to pythial/1-4B config; (2) fixed a bug related to a hardcoded value withing the conversion script (3) fixed possible bugs in the conversion script wrt the mp sharding convention

---------

Co-authored-by: Quentin Anthony <[email protected]>
  • Loading branch information
bentherien and Quentin-Anthony committed May 19, 2023
1 parent 03f4f77 commit b70d004
Show file tree
Hide file tree
Showing 2 changed files with 507 additions and 1 deletion.
1 change: 0 additions & 1 deletion configs/pythia/1-4B.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,5 @@
"log_interval": 10,
"steps_per_print": 10,
"wall_clock_breakdown": true,

"tokenizer_type": "HFTokenizer"
}
Loading

0 comments on commit b70d004

Please sign in to comment.