腾讯云大模型训推平台TI-ONE 注册模型

create_model_by_cos(self, training_model_name, algorithm_framework, model_cos_path, model_index, reasoning_env, delete_task_cos_model=True, tags=None) 使用现有的cos路径来创建新的模型 :param training_model_name: 模型名称 :type t。

相关产品
腾讯云大模型训推平台TI-ONE 产品页,含版本规格、价格与购买入口。

create_model_by_cos(self, training_model_name, algorithm_framework, model_cos_path, model_index, reasoning_env, delete_task_cos_model=True, tags=None) 使用现有的cos路径来创建新的模型 :param training_model_name: 模型名称 :type t。

create_model_by_cos(self, training_model_name, algorithm_framework, model_cos_path, model_index, reasoning_env, delete_task_cos_model=True, tags=None) 使用现有的cos路径来创建新的模型 :param training_model_name: 模型名称 :type training_model_name: str :param algorithm_framework: 算法框架 :type algorithm_framework: str :param model_cos_path: 模型cos目录,以/结尾。格式:<bucket>/<cos path>/ :type model_cos_path: str :param model_index: 训练指标。 :type model_index: str :param reasoning_env: 推理的运行环境 :type reasoning_env: :class:`tikit.models.ReasoningEnvironment` :param delete_task_cos_model: 是否删除任务的原来输出的模型文件 :type delete_task_cos_model: bool :param tags: 标签配置 :type tags: list of :class:`tencentcloud.tione.v20211111.models.Tag` :return: :rtype: :class:`tencentcloud.tione.v20211111.models.CreateTrainingModelResponse` 返回的内容如下: { "Id": "m-23054253294030848", "RequestId": "c8f9b70e-bf4d-4c34-9480-21d902d3b341" }create_model_by_task(self, training_model_name, training_job_id, reasoning_env, training_model_index=None, delete_task_cos_model=True, tags=None) 使用现有的任务的结果来创建新的模型 :param training_model_name: 模型名称 :type training_model_name: str :param training_job_id: 训练任务id :type training_job_id: str :param reasoning_env: 推理的运行环境 :type reasoning_env: :class:`tikit.models.ReasoningEnvironment` :param training_model_index: 训练指标。非空时覆盖训练任务里面的值。 :type training_model_index: str :param delete_task_cos_model: 是否删除任务的原来输出的模型文件 :type delete_task_cos_model: bool :param tags: 标签配置 :type tags: list of :class:`tencentcloud.tione.v20211111.models.Tag` :return: :rtype: :class:`tencentcloud.tione.v20211111.models.CreateTrainingModelResponse` 返回的内容如下: { "Id": "m-23054253294030848", "RequestId": "c8f9b70e-bf4d-4c34-9480-21d902d3b341" }create_model_version_by_cos(self, training_model_id, algorithm_framework, model_cos_path, model_index, reasoning_env, delete_task_cos_model=True, tags=None) 使用现有的cos路径来创建新的模型版本 :param training_model_id: 模型ID :type training_model_id: str :param algorithm_framework: 算法框架 :type algorithm_framework: str :param model_cos_path: 模型cos目录,以/结尾。格式:<bucket>/<cos path>/ :type model_cos_path: str :param model_index: 训练指标。 :type model_index: str :param reasoning_env: 推理的运行环境 :type reasoning_env: :class:`tikit.models.ReasoningEnvironment` :param delete_task_cos_model: 是否删除任务的原来输出的模型文件 :type delete_task_cos_model: bool :param tags: 标签配置 :type tags: list of :class:`tencentcloud.tione.v20211111.models.Tag` :return: :rtype: :class:`tencentcloud.tione.v20211111.models.CreateTrainingModelResponse` 返回的内容如下: { "Id": "m-23054253294030848", "RequestId": "c8f9b70e-bf4d-4c34-9480-21d902d3b341" }create_model_version_by_task(self, training_model_id, training_job_id, reasoning_env, training_model_index=None, delete_task_cos_model=True, tags=None) 使用现有的cos路径来创建新的模型版本 :param training_model_id: 模型ID :type training_model_id: str :param training_job_id: 训练任务id :type training_job_id: str :param reasoning_env: 推理的运行环境 :type reasoning_env: :class:`tikit.models.ReasoningEnvironment` :param training_model_index: 训练指标。非空时覆盖训练任务里面的值。 :type training_model_index: str :param delete_task_cos_model: 是否删除任务的原来输出的模型文件 :type delete_task_cos_model: bool :param tags: 标签配置 :type tags: list of :class:`tencentcloud.tione.v20211111.models.Tag` :return: :rtype: :class:`tencentcloud.tione.v20211111.models.CreateTrainingModelResponse` 返回的内容如下: { "Id": "m-23054253294030848", "RequestId": "c8f9b70e-bf4d-4c34-9480-21d902d3b341" }describe_training_model_version(self, training_model_version_id) 查看单个版本的信息 :param training_model_version_id: 模型版本id :type training_model_version_id: str :rtype: :class:`tencentcloud.tione.v20211111.models.DescribeTrainingModelVersionResponse`describe_training_model_versions(self, training_model_id) 查看模型各个版本的信息列表 :param training_model_id: 模型id :type training_model_id: str :rtype: :class:`tencentcloud.tione.v20211111.models.DescribeTrainingModelVersionsResponse`describe_training_models(self, filters=None, order_field=None, order=None, offset=None, limit=None, tag_filters=None) 查看模型列表 :param filters: 过滤器 :type filters: list of Filter :param order_field: 排序字段 :type order_field: str :param order: 排序方式,ASC/DESC :type order: str :param offset: 偏移量 :type offset: int :param limit: 返回结果数量 :type limit: int :param tag_filters: 标签过滤 :type tag_filters: list of TagFilter :rtype: :class:`tencentcloud.tione.v20211111.models.DescribeTrainingModelsResponse` print返回的结果,输出如下: +———————+———————–+——————-+———————-+ | 模型ID | 名称 | 标签 | 创建时间 | +———————+———————–+——————-+———————-+ | m-23054253294030848 | tikit-model-task-1227 | | 2021-12-27T14:22:43Z | | m-23054252760240128 | tikit-model-cos-1227 | | 2021-12-27T14:22:35Z | | m-23054246746066944 | tikit-model-task | | 2021-12-27T14:21:03Z | | m-23037023501881344 | tikit-model-cos | | 2021-12-24T13:20:57Z | | m-23036973226987520 | tikit-model-name-2 | | 2021-12-24T13:08:10Z | | m-23034443699064832 | model_cos-2 | | 2021-12-24T02:24:52Z | | m-23028904650346496 | model_cos | tag_001:tag_v_001 | 2021-12-23T02:56:13Z | | m-23028894739075072 | model_task | | 2021-12-23T02:53:42Z | | 22997374387884032 | xx004 | | 2021-12-17T13:17:39Z | | 22996889833377792 | xx003 | | 2021-12-17T11:14:26Z | +———————+———————–+——————-+———————-+delete_training_model(self, training_model_id) 删除模型 :param training_model_id: 模型id :type training_model_id: str :rtype: :class:`tencentcloud.tione.v20211111.models.DeleteTrainingModelResponse`delete_training_model_version(self, training_model_version_id) 删除模型版本 :param training_model_version_id: 模型版本id :type training_model_version_id: str :rtype: :class:`tencentcloud.tione.v20211111.models.DeleteTrainingModelVersionResponse`

赞 (0)
上一篇 4天前
下一篇 4天前