How to save inference in local system and how to push the model to hub for layoutlmV3

I having having issuse with saving this this model in local system after training and unable to push the model data to hub eithier for this layputlm v3