此内容没有您所选择的语言版本。

Chapter 2. Updating a model


Red Hat Enterprise Linux AI allows you to upgrade LLMs that you locally downloaded to the latest version of the model.

2.1. Updating the models

You can upgrade your local models to the latest version of the model using the RHEL AI tool set.

Prerequisites

  • You installed the InstructLab tools with the bootable container image.
  • You initialized InstructLab and can use the ilab CLI.
  • You downloaded LLMs on Red Hat Enterprise Linux AI.
  • You created a Red Hat registry account and logged in on your machine.

Procedure

  1. You can upgrade any model by running the following command.

    $ ilab model download --repository <repository_and_model> --release latest

    where:

    <repository_and_model>
    Specifies the repository location of the model as well as the model. You can access the models from the registry.redhat.io/rhelai1/ repository.
    <release>
    Specifies the version of the model. Set to latest, or a specific version of the model, for the most up to date version of the model.

Verification

  1. You can view all the downloaded models on your system with the following command:

    $ ilab model list
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.