wandb setting.
Log Cohere fine-tuning results
To add Cohere fine-tuning logging to your W&B workspace, do the following:-
Create a
WandbConfigwith your W&B API key, W&Bentity, andprojectname. The API key authenticates the Cohere job with W&B, and the entity and project determine where W&B logs your runs. Create an API key in your W&B user settings. Replace<wandb-api-key>in the following example with your API key. -
Pass this config to the
FinetunedModelobject along with your model name, dataset, and hyperparameters to start your fine-tuning run. Thewandbsetting configures Cohere to stream metrics to your W&B project during the run. -
View your model’s fine-tuning training and validation metrics and hyperparameters in the W&B project that you created.
