Ultimate access to all questions.
You are tasked with implementing a custom document intelligence model to extract specific fields from a new type of document. Describe the steps you would take to train this model, including data preparation, model selection, and training process. Additionally, explain how you would evaluate the model's performance and what metrics you would use to ensure its accuracy.