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

continuous training tutorial update #3300

Merged
merged 1 commit into from
Jun 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"\n",
"Sometimes, the model could benefit from more training epochs or additional training time in case of underfitting. With AutoMM, you can easily extend the training time of your model without starting from scratch.\n",
"\n",
"Additionally, it's also common to need to incorporate new data into your model. Whether it's more data of the same type, a dataset with a different problem type, or even a dataset with a different set of labels, AutoMM allows you to continue training seamlessly. This flexibility makes it easy to improve and adapt your models as your data grows or evolves."
"Additionally, it's also common to need to incorporate more data into your model. AutoMM allows you to continue training with data of the same problem type and same classes if it is a multiclass problem. This flexibility makes it easy to improve and adapt your models as your data grows."
]
},
{
Expand Down Expand Up @@ -110,9 +110,7 @@
"metadata": {},
"outputs": [],
"source": [
"import copy\n",
"\n",
"predictor_2 = copy.deepcopy(predictor)\n",
"predictor_2 = MultiModalPredictor.load(model_path) # you can also use the `predictor` we assigned above\n",
"train_data_2 = train_data.drop(train_data_1.index).sample(n=subsample_size, random_state=0)\n",
"predictor_2.fit(train_data_2, time_limit=60)"
]
Expand Down Expand Up @@ -148,7 +146,7 @@
"source": [
"### Use Case 3: Applying Pre-Trained Models to New Tasks\n",
"\n",
"Often, you'll encounter situations where a new task is related but not identical to a task you've previously trained a model for (e.g., training a more fine-grained sentiment analysis model). If you wish to leverage the knowledge that the model has already learned from the old data to help it learn the new task more quickly and effectively, AutoMM supports dumping your trained models into model weights and using them as foundation models:"
"Often, you'll encounter situations where a new task is related but not identical to a task you've previously trained a model for (e.g., training a more fine-grained sentiment analysis model, or adding more classes to your multiclass model). If you wish to leverage the knowledge that the model has already learned from the old data to help it learn the new task more quickly and effectively, AutoMM supports dumping your trained models into model weights and using them as foundation models:"
]
},
{
Expand Down