gpt3m-flash.yaml 404 B

12345678910111213141516
  1. # @package _global_
  2. defaults:
  3. - /experiment/pile/gpt3s-flash.yaml
  4. - override /model/gpt2model: gpt2-medium
  5. # Can enable mlp_checkpoint_lvl to fit batch_size 16 to A100 40GB
  6. # model:
  7. # config:
  8. # mlp_checkpoint_lvl: 1
  9. datamodule:
  10. batch_size: ${eval:"4 if ${train.gpu_mem} < 24 else (8 if ${train.gpu_mem} < 40 else (16 if ${train.gpu_mem} < 80 else 32))"}
  11. train:
  12. optimizer:
  13. lr: 3.0e-4