Building a Custom Model
Document Understanding provides an option to build custom models to extract insights from images without needing data scientists.
You need the following before building a custom model:
- A paid tenancy account in Oracle Cloud Infrastructure.
- Familiarity with Oracle Cloud Infrastructure Object Storage.
- The correct policies set up.
Train the model using one of Document Understanding's custom model training modes. The training modes are:
- Recommended training: Document Understanding automatically selects the training duration to create the best model. The training might take up to 24 hours.
- Custom duration: This option lets you set the maximum training duration.
The best training duration depends on the complexity of the detection problem, the typical number of labels in a document, the resolution, and other factors. Consider these needs, and allocate more time as the training complexity increases. The minimum amount of training time recommended is 30 minutes. A longer training time gives greater accuracy, but gives diminishing returns in accuracy with time. Use the recommended mode to get a base optimized model. If you want a better result, increase the training time.
You can use the Console, CLI, or API to build a custom model.
Use the create command and required parameters to create a project:
oci ai-document project create [OPTIONS]
Use the create command and required parameters to create a model:
oci ai-document model create [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the CreateProject operation to create a project.
Run the CreateModel operation to create a model.