Pretrain Vision and Large Language Models in Python by Emily Webber

Pretrain Vision and Large Language Models in Python by Emily Webber

Author:Emily Webber
Language: eng
Format: epub
Publisher: Packt Publishing Pvt Ltd
Published: 2023-05-29T00:00:00+00:00


Figure 7.3 – Defining a tuning metric for the job config

You can see we’re asking you to write a regex string and supply that in this object. This then should directly match what is defined in the training script here:

Figure 7.4 – Defining a tuning metric in your training script

For good measure, here’s a visual of the hyperparameter ranges so you can see how they’re defined:

Figure 7.5 – Defining hyperparameter ranges

We have another method I think is particularly well designed. It lets you run analytics on your tuning job by porting it into a pandas DataFrame! The notebook for this is here (6):



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.