Skip to content

Conversation

mc-nya
Copy link

@mc-nya mc-nya commented Mar 25, 2024

Hi
I got the running errors about missing field following the ReadMe tutorial.

pydantic_core._pydantic_core.ValidationError: 2 validation errors for DataConfig
train_configs
  Field required [type=missing, input_value={'vocab_size': 256, 'inpu...gs={'num_kv_pairs': 4})}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.4/v/missing
test_configs
  Field required [type=missing, input_value={'vocab_size': 256, 'inpu...gs={'num_kv_pairs': 4})}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.4/v/missing

It might caused by DataConfig update on commit 194a712, I updated the DataConfig in basic and basic_sweep, not sure it has the same behavior as previous code before DataConfig change.

@HardworkingPearl
Copy link

I get the same bug. does anyone know how to solve this?

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.

2 participants