跳转至

Models(模型(Models))

In Foundry, a model is an artifact for inference that contains machine learning, forecasting, optimization, physical models, or business rules. Within a use case, models encode knowledge about your data to create predictions and empower decisions.

Models developed inside or integrated into Palantir provide:

Architecture

A Model resource in Palantir comprises of two related but distinct components:

  1. Model artifacts: The model weights or container where the trained model is saved.
  2. Model adapter: The logic that describes how the platform can interact with the model artifacts to load, initialize, and perform inference with the model.

Foundry model asset

An adapter is published as part of a Python library to enable communication with the stored model artifacts. It enables the platform to load, initialize, and run inference on any kind of model. Adapters are designed to be flexible and can be used to wrap the different model types that are supported in Foundry:


中文翻译


模型(Models)

在 Foundry 中,模型(model) 是一种用于推理的产物,包含机器学习、预测、优化、物理模型或业务规则。在用例中,模型对数据中的知识进行编码,以生成预测并赋能决策。

在 Palantir 内部开发或集成到 Palantir 的模型提供以下功能:

架构(Architecture)

Palantir 中的模型资源包含两个相关但不同的组件:

  1. 模型产物(Model artifacts): 模型权重 保存训练后模型的容器。
  2. 模型适配器(Model adapter) 描述平台如何与模型产物交互以加载、初始化并执行推理的逻辑。

Foundry 模型资产

适配器作为 Python 库的一部分发布,用于与存储的模型产物进行通信。它使平台能够加载、初始化并对任何类型的模型执行推理。适配器设计灵活,可用于封装 Foundry 中支持的不同模型类型: