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.01 and later require ibformers
v2.
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.
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.
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.
-
From the Marketplace Admin app, select Tools > Update Marketplace.
-
In the Docker Image URL field, enter the URL
gcr.io/instabase-public/instabase-artifacts:latest
and click Upload From Image. -
Verify that
ibformers
and all current base models are present in the directory<instabase_url>/system/global/fs/Instabase Drive/Marketplace/Update/Pending/
. -
When all packages are uploaded, return to the Update Marketplace window and click Publish Solutions.
TipIf publishing fails, you can manually upload and publish solution files.
-
From the Marketplace Admin home screen, confirm that
ibformers
packages show version2.x.x
and that all current base models are listed.TipNote the latest version listed for
ibformers
, because you must specify it in configuration options for model training scripts. -
From the Admin app, click Configuration.
-
Under Model training scripts, set the
"mp_version"
key for both extraction and classification to the version ofibformers
you just published, then click Save.