Submission Code format

I am planning to upload my training code to kaggle. There will be one notebook for training code, and one notebook for inference code, and one file for the model. Will this be acceptable, if I submit a document explaining my code and structure? Or do I have to follow the format shown in the baseline?