CLI 참조


Red Hat Enterprise Linux AI 1.5

RHEL AI CLI(명령줄 인터페이스) 참조

Red Hat RHEL AI Documentation Team

초록

이 문서에서는 RHEL AI에 사용되는 CLI 명령에 대한 참조를 제공합니다.

1장. Red Hat Enterprise Linux AI 명령줄 인터페이스 참조

이 참조는 Red Hat Enterprise Linux AI CLI(ilab) 명령에 대한 설명과 예를 제공합니다.

1.1. Red Hat Enterprise Linux AI CLI 명령

1.1.1. ilab config

명령 그룹 InstructLab의 구성과 상호 작용

사용 예

# Prints the usable commands in the config group
ilab config
Copy to Clipboard Toggle word wrap

1.1.1.1. ilab config init

InstructLab용 환경 초기화

사용 예

# Set up the InstructLab environment
ilab config init
Copy to Clipboard Toggle word wrap

1.1.1.2. ilab config show

~/.config/instructlab/config.yaml에 저장된 구성 파일의 현재 상태를 표시합니다.

사용 예

# Shows the `config.yaml` file on your system
ilab config show
Copy to Clipboard Toggle word wrap

1.1.1.3. ilab config edit

~/.config/config.yaml에 저장된 구성을 편집할 수 있습니다.

사용 예

# Opens a vim shell where you can edit your config file
ilab config edit
Copy to Clipboard Toggle word wrap

1.1.2. ilab 데이터

명령 그룹 InstructLab에서 생성된 데이터와 상호 작용

사용 예

# Prints the usable commands in the data group
ilab data
Copy to Clipboard Toggle word wrap

1.1.2.1. ilab 데이터 생성

InstructLab에 대한 합성 데이터 생성 (SDG) 프로세스를 실행합니다.

사용 예

# Runs the SDG process on the default model, the default model is specified in the `~/.config/config.yaml`
ilab data generate

# Runs the SDG process on a selected model
ilab data generate --model <model-name>

# Runs the SDG process on the customized taxonomy path
ilab data generate --taxonomy-path <path-to-taxonomy>

# Edits the `config.yaml` to use a specified number of GPUs in SDG
ilab data generate --gpus <num-gpus>
Copy to Clipboard Toggle word wrap

1.1.2.2. ilab 데이터 목록

시스템에서 데이터 세트, ' ~/.local/instructlab/datasets'의 모든 데이터 세트를 표시합니다.

사용 예

# List every dataset in the datasets directory
ilab data list
Copy to Clipboard Toggle word wrap

1.1.3. ilab 모델

명령 그룹 InstructLab의 모델과 상호 작용

사용 예

# Prints the usable commands in the model group
ilab model
Copy to Clipboard Toggle word wrap

1.1.3.1. ilab 모델 채팅

수정된 모델을 사용하여 채팅 실행

사용 예

# Creates a virtual environment to chat with the model
ilab model chat

# Creates a virtual environment to chat with a specified model
ilab model chat --model <model-name>
Copy to Clipboard Toggle word wrap

1.1.3.2. ilab 모델 다운로드

모델 다운로드

사용 예

# Downloads the default models
ilab model download

# Downloads the models from a specific repository
ilab model download --repository <name-of-repository>
Copy to Clipboard Toggle word wrap

1.1.3.3. ilab 모델 평가

모델에서 평가 프로세스 실행

사용 예

# Runs the evaluation process on the MMLU benchmark
ilab model evaluate --benchmark mmlu

# Runs the evaluation process on the MT_BENCH benchmark
ilab model evaluate --benchmark mt_bench

# Runs the evaluation process on the MMLU_BRANCH benchmark
ilab model evaluate --benchmark mmlu_branch

# Runs the evaluation process on the MT_BENCH_BRANCH benchmark
ilab model evaluate --benchmark mt_bench_branch
Copy to Clipboard Toggle word wrap

1.1.3.4. ilab 모델 목록

시스템에 설치된 모든 모델 나열

사용 예

* List all the installed models
ilab model list
Copy to Clipboard Toggle word wrap

1.1.3.5. ilab 모델 교육

모델에서 교육 프로세스 실행

사용 예

# Runs the training process on the default model from the config.yaml
ilab model train

# Runs the training process on a specified model
ilab model train --model-name <name-of-model>
Copy to Clipboard Toggle word wrap

1.1.3.6. ilab 모델 제공

끝점에서 모델 제공

사용 예

# Serves the default model to the server
ilab model serve

# Serves the specified model to the server
ilab model serve --model-path <path-to-model>

# Serves the default model using a specified number of GPUs
ilab model serve --gpus <num-gpus>
Copy to Clipboard Toggle word wrap

1.1.4. ilab 시스템

모든 시스템 관련 명령에 대한 명령 그룹

사용 예

# Prints the usable commands in the system group
ilab system
Copy to Clipboard Toggle word wrap

1.1.4.1. ilab 시스템 정보

시스템의 하드웨어 사양을 표시합니다.

사용 예

#Prints the hardware specifications of your machine
ilab system info
Copy to Clipboard Toggle word wrap

1.1.5. ilab taxonomy

명령 그룹 InstructLab의 과세미 경로와 상호 작용

사용 예

# Prints the usable commands in the taxonomy group
ilab taxonomy
Copy to Clipboard Toggle word wrap

1.1.5.1. ilab taxonomy diff

변경한 과세미니 파일을 나열하고 분류가 유효한지 확인합니다.

사용 예

# Prints the taxonomy files you changed and verifies that the taxonomy is valid
ilab taxonomy diff

# Prints the taxonomy files in a specified path and verifies that the taxonomy is valid
ilab taxonomy diff --taxonomy-path <path-to-taxonomy>
Copy to Clipboard Toggle word wrap

법적 공지

Copyright © 2025 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동