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

Extend model metadata schema #86

Merged
merged 14 commits into from
Feb 6, 2024
Merged

Extend model metadata schema #86

merged 14 commits into from
Feb 6, 2024

Conversation

janosh
Copy link
Owner

@janosh janosh commented Feb 6, 2024

Second major reworking of model metadata schema, validation, and syncing types to site following #85.

Adds keys train_task test_task targets model_type model_params and disallow keys not defined in schema.

2517f55 convert model-metadata-schema from .json to .yaml
69ffe3c add train_size model_params openness to Key enum
ec3e828 fix loading multiple metadata files per model dir in models.py
f44f065 move TS defs into separate src/lib/types.ts file
484562f package.json add dev dep json-schema-to-typescript to auto-generate model-metadata.d.ts
f33c5fd mv model-metadata-schema.y(a->'')ml
e6b1c5e fix load() util for model checkpoint loading
4e60e96 add keys train_task test_task targets model_type model_params to all model metadata files
cdf840d add model_params to wandb-collected run params in all test scripts
80a494c rename DictableStrEnum->LabelEnum, add ability to set key labels and add labels to all Keys
86ae825 set additionalProperties: false on model_metadata_schema.yml
330b343 add model params col to metrics table
0ce580b change MP v2022.10.28 model training set titles
d4ed313 fix model openness toggle, ModelCard remove DOI from model links

@janosh janosh added site Website related reproducibility Issues or improvements to reproducibility labels Feb 6, 2024
@janosh janosh enabled auto-merge (squash) February 6, 2024 13:33
@janosh janosh merged commit e7a5abe into main Feb 6, 2024
10 checks passed
@janosh janosh deleted the extend-model-metadata-schema branch February 6, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reproducibility Issues or improvements to reproducibility site Website related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant