gpt2s.yaml 234 B

12345678
  1. # @package _global_
  2. defaults:
  3. - /experiment/owt/base.yaml
  4. - override /model: gpt2
  5. - override /model/gpt2model: gpt2-small
  6. datamodule:
  7. batch_size: ${eval:"4 if ${train.gpu_mem} < 24 else (8 if ${train.gpu_mem} < 40 else 16)"}