synt_config = SyntheticConfig(n_hashes=8, seed=1, foo=1, verbose=True)
synt_config
synt_config.d_model
synt_config.n_hashes = 4
assert synt_config._d['n_hashes'] == 4
try: synt_config.foo = 1
except Exception as e: print(e)
synt_config['n_layers']
Note: Config for envik8 needs to be updated when we diside on sequence length.
TransformerLMConfigEnwik8()
ReversibleLMConfigEnwik8(rev_thres=128)
cfg = NHashesConfig()
cfg
cfg = NLayersConfig()
cfg
ReversibleTransformerConfigWMT(n_enc_layers=2, n_dec_layers=2)
TransformerConfigWMT(n_enc_layers=1, n_dec_layers=1)