ML Studio dependencies

ML Studio relies on training scripts, in the form of an ibformers package, and base models. Both of these dependencies are provided through the Marketplace and must be updated periodically.

  • For new Instabase installations, ML Studio dependencies are typically installed through automated post-install actions, and no further action is required.

  • For upgrades to version 23.01 or later, you must update Marketplace to make available the latest ibformers files and base models.

Dependency compatibility

Instabase versions 23.07 and later require ibformers v2.2.0 or later.

Instabase versions 22.01 and later may optionally upgrade to ibformers v2, but releases earlier than 23.01 might not support all of the features available in ibformers v2.

Running Instabase 23.01 or later with an incompatible ibformers package or base models can result in a Model not found in cache error when you attempt to train a model. To resolve this error, update Marketplace.

ibformers documentation

The ibformers documentation details components and functionality provided in the ibformers package, including base models, hyperparameters, and metrics. Components and functionality vary by version, so consult the documentation for your ibformers version.

This version of Instabase is compatible with the following ibformers versions:

For details about earlier ibformers versions, see the package documentation in Developer Exchange (deprecated).

Base models

These are the current base models available from Instabase.

Base model names and paths were changed to support updated architecture in which ibformers v2 performs base model lookup and download.

Current name Legacy name
bert_base_uncased-0.0.1.ibsolution bert_base, natural_language (merged)
instalm_base_draft-0.0.1.ibsolution instalm_base
instalmv3-0.0.3.ibsolution instalmv3
laymqav1_base-0.0.1.ibsolution layoutMultiQA_base
layoutlm_base_uncased-0.0.1.ibsolution layout_base, layout_split_classifier (merged)
layoutlmv2_base_uncased-0.0.1.ibsolution layoutv2
layoutlmv3_base-0.0.1.ibsolution layoutv3
layoutxlm_base-0.0.1.ibsolution layout_multilingual
legal_bert_base_uncased-0.0.1.ibsolution legal_natural_language
table_model_draft_v2-0.0.3.ibsolution table_detr_base

Update Marketplace

Updating Marketplace publishes the latest version of ibformers and base models to your Marketplace instance and makes them available for use in your Instabase environment.

Note

To complete this task, you must be a site administrator or have both the Marketplace Admin app permission and the Manage Site Configuration site permission.

  1. From the Marketplace Admin app, select Tools > Update Marketplace.

  2. In the Docker Image URL field, enter the URL gcr.io/instabase-public/instabase-artifacts:latest and click Upload From Image.

  3. Verify that ibformers and all current base models are present in the directory <instabase_url>/system/global/fs/Instabase Drive/Marketplace/Update/Pending/.

  4. When all packages are uploaded, return to the Update Marketplace window and click Publish Solutions.

    Tip

    If publishing fails, you can manually upload and publish solution files.

    1. Using the Instabase Explorer, upload to a new directory the .ibsolution files, available from your customer success manager.

    2. From the Marketplace Admin app, select Tools > Publish.

    3. Select Publish from file system and click Confirm.

    4. Select the solution directory you uploaded the .ibsolution files to, and click Publish.

  5. From the Marketplace Admin home screen, confirm that ibformers packages show version 2.x.x and that all current base models are listed.

    Tip

    Note the latest version listed for ibformers, because you must specify it in configuration options for model training scripts.

  6. From the Admin app, click Configuration.

  7. Under Model training scripts, set the "mp_version" key for both extraction and classification to the version of ibformers you just published, then click Save.