Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genai lab Instructions #1666

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/en/alab/training_configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,19 @@ When triggering the training, users can choose to immediately deploy the model o

<img class="image image__shadow" src="/assets/images/annotation_lab/4.1.0/train_model_deployment.png" style="width:100%;"/>

## Model Versioning when Training Models
Generative AI Lab 6.9 introduces model versioning for the following project types: Named Entity Recognition (NER), Classification, Assertion, Relation, and Visual NER. In the **TRAINING SETTINGS** section of the **Train** page, a toggle labeled **Enable Versioning** is now available. By default, model versioning is disabled. To enable it, toggle **Enable Versioning** to **on**.

![690image](/assets/images/annotation_lab/6.9.0/5.png)

When enabled, models are saved with versioned names following the format **projecttype_projectname_v1**, **projecttype_projectname_v2**, and so on. If model deployment is enabled after training is complete, the most recently trained model is automatically applied to the project configuration. If model deployment after training is not enabled, the project configuration remains unchanged. All versions of trained models are accessible on the Reuse Resource page, allowing users to browse and select specific model versions for reuse in other projects.

![690image](/assets/images/annotation_lab/6.9.0/6.png)

Model versioning is also supported for previously created projects. If versioning is disabled, subsequent training overwrites the most recent model without creating a new version. When re-enabled, versioning resumes from the latest version rather than starting over from v1. This feature simplifies model management by enabling version tracking and reusability, offering seamless integration for new and existing projects.

Note: The **Enable Versioning** toggle is disabled during training.

#### License Requirements

Visual NER annotation, training and preannotation features are dependent on the presence of a [Visual NLP](/docs/en/ocr) license. Licenses with scope ocr: inference and ocr: training are required for preannotation and training respectively.
Expand Down
4 changes: 2 additions & 2 deletions docs/en/alab/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ seotitle: Generative AI Lab | John Snow Labs
title: Bundled Libraries Versions
permalink: /docs/en/alab/version
key: docs-training
modify_date: "2024-04-8"
modify_date: "2024-12-11"
use_language_switcher: "Python-Scala"
show_nav: true
sidebar:
Expand All @@ -31,4 +31,4 @@ The table below displays the bundled version of NLP Libraries associated with va
| 6.0.0 - 6.2.1 | 5.3.1 | 5.3.1 | 5.3.0 | 1.0.0 | 1.0.0 | 3.4.0 |
| 6.3.0 - 6.6.2 | 5.3.2 | 5.3.2 | 5.3.2 | 1.0.0 | 1.0.0 | 3.4.0 |
| 6.7.0 - 6.8.2 | 5.4.0 | 5.4.0 | 5.4.0 | 1.0.0 | 1.0.0 | 3.4.0 |
| 6.9.0 - latest | 5.4.0 | 5.4.0 | 5.5.0 | 1.0.0 | 1.0.0 | 3.4.0 |
| 6.9.0 - latest | 5.4.0 | 5.4.0 | 5.5.0 | 1.0.0 | 1.0.0 | 3.4.0 |