Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Defines the standard ML project code architecture, using factory and registry patterns for registrable components like datasets and models.
18% 95%+77 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 4 of 22 without it.
Where should a newly created Transformer network module `spatial_transformer.py` be placed in the project directory tree? Provide the exact relative directory path.
Places the model module file under src/model_module/model/.
3 of 3 safety checks passed
This skill defines the standard code architecture for machine learning projects based on the template structure. When modifying or extending code, follow these patterns to maintain consistency.
The project follows a modular, extensible architecture with clear separation of concerns. Each module (data, model, trainer, analysis) is independently organized using factory and registry patterns for maximum flexibility.
Use this skill when:
@register_dataset@register_model__init__.py factory wiringDo not use this skill when:
Key indicator: if the task does not require a @register_* decorator or a Factory pattern, skip this skill.
Each module uses a factory to create instances dynamically:
# Example from data_module/dataset/__init__.py
DATASET_FACTORY: Dict = {}
Next to this one in the catalogue, plus more from the same author.