Skip to content

Save vocabulary and merge files in model dir - #55

Closed
gcooper-isi wants to merge 2 commits into
NVIDIA:mainfrom
gcooper-isi:save_vocab_files_in_model_dir
Closed

Save vocabulary and merge files in model dir#55
gcooper-isi wants to merge 2 commits into
NVIDIA:mainfrom
gcooper-isi:save_vocab_files_in_model_dir

Conversation

@gcooper-isi

Copy link
Copy Markdown

In most cases, when fine tuning or generating text from an existing model, you will want to use exactly the same vocabulary and merge files that were used to train the original model. Therefore, it is helpful for these files to default to the same ones used for training the original model in these cases. To facilitate this, this pull request automatically copies these files into the model directory when they are specified on the command line. If they are not specified on the command line, it will look for the files in the model directory and use them if they are there.

@gcooper-isi gcooper-isi closed this Apr 1, 2021
Chen-Chang pushed a commit to Chen-Chang/Megatron-LM that referenced this pull request May 18, 2021
* gan example

* fix client optimizer D vs G

* tensorboard log path

* incorporating comments on pr

* multi-gpu testing

Co-authored-by: Jeff Rasley <jerasley@microsoft.com>
rraminen referenced this pull request in ROCm/Megatron-LM Mar 22, 2023
* xpu support (#55)

* port accel abs interfece

* WA for run3.6b

* move on

* fix current_dievice

* fix typo

* enable to run 345M GPT

* delete apex_patch

* add TODO xpu compatible tg for xpu WA

* use deepspeed launcher

* enable run3.6b bf16

* add zero2 config json

* readd enable_each_rank_log

* fix typos

* add ccl arg

* fix

* use short word

* use no-masked-softmax-fusion

* readd

* set train  iters to 10

* remove duplicate line

* change assert msg

* update format

* add whitespace

* update path

* update note

* update

* fix typos

* delete notes

* update format

* update xpu check to cuda check

* update

* clean up file

* fix typos

* add python based gradient clipping

* change condition for python based path
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