Skip to main content

module aixplain.modules.finetune.cost


class FinetuneCost

method __init__

__init__(training: Dict, inference: Dict, hosting: Dict)None

Create a FinetuneCost object with training, inference, and hosting cost information.

Args:

  • training (Dict): Dictionary containing training cost information.
  • inference (Dict): Dictionary containing inference cost information.
  • hosting (Dict): Dictionary containing hosting cost information.

method to_dict

to_dict() → Dict

Convert the FinetuneCost object to a dictionary.

Returns:

  • Dict: A dictionary representation of the FinetuneCost object.