Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the dataconfig changes after 194a712 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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