CLI 참조
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
# Prints the usable commands in the config group
ilab config
1.1.1.1. ilab config init 링크 복사링크가 클립보드에 복사되었습니다!
InstructLab용 환경 초기화
사용 예
# Set up the InstructLab environment ilab config init
# Set up the InstructLab environment
ilab config init
1.1.1.2. ilab config show 링크 복사링크가 클립보드에 복사되었습니다!
~/.config/instructlab/config.yaml에 저장된 구성 파일의 현재 상태를 표시합니다.
사용 예
# Shows the `config.yaml` file on your system ilab config show
# Shows the `config.yaml` file on your system
ilab config show
1.1.1.3. ilab config edit 링크 복사링크가 클립보드에 복사되었습니다!
~/.config/config.yaml에 저장된 구성을 편집할 수 있습니다.
사용 예
# Opens a vim shell where you can edit your config file ilab config edit
# Opens a vim shell where you can edit your config file
ilab config edit
1.1.2. ilab 데이터 링크 복사링크가 클립보드에 복사되었습니다!
명령 그룹 InstructLab에서 생성된 데이터와 상호 작용
사용 예
# Prints the usable commands in the data group ilab data
# Prints the usable commands in the data group
ilab data
1.1.2.1. ilab 데이터 생성 링크 복사링크가 클립보드에 복사되었습니다!
InstructLab에 대한 합성 데이터 생성 (SDG) 프로세스를 실행합니다.
사용 예
1.1.2.2. ilab 데이터 목록 링크 복사링크가 클립보드에 복사되었습니다!
시스템에서 데이터 세트, ' ~/.local/instructlab/datasets'의 모든 데이터 세트를 표시합니다.
사용 예
# List every dataset in the datasets directory ilab data list
# List every dataset in the datasets directory
ilab data list
1.1.3. ilab 모델 링크 복사링크가 클립보드에 복사되었습니다!
명령 그룹 InstructLab의 모델과 상호 작용
사용 예
# Prints the usable commands in the model group ilab model
# Prints the usable commands in the model group
ilab model
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>
# 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>
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>
# Downloads the default models
ilab model download
# Downloads the models from a specific repository
ilab model download --repository <name-of-repository>
1.1.3.3. ilab 모델 평가 링크 복사링크가 클립보드에 복사되었습니다!
모델에서 평가 프로세스 실행
사용 예
1.1.3.4. ilab 모델 목록 링크 복사링크가 클립보드에 복사되었습니다!
시스템에 설치된 모든 모델 나열
사용 예
* List all the installed models ilab model list
* List all the installed models
ilab model list
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>
# 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>
1.1.3.6. ilab 모델 제공 링크 복사링크가 클립보드에 복사되었습니다!
끝점에서 모델 제공
사용 예
1.1.4. ilab 시스템 링크 복사링크가 클립보드에 복사되었습니다!
모든 시스템 관련 명령에 대한 명령 그룹
사용 예
# Prints the usable commands in the system group ilab system
# Prints the usable commands in the system group
ilab system
1.1.4.1. ilab 시스템 정보 링크 복사링크가 클립보드에 복사되었습니다!
시스템의 하드웨어 사양을 표시합니다.
사용 예
#Prints the hardware specifications of your machine ilab system info
#Prints the hardware specifications of your machine
ilab system info
1.1.5. ilab taxonomy 링크 복사링크가 클립보드에 복사되었습니다!
명령 그룹 InstructLab의 과세미 경로와 상호 작용
사용 예
# Prints the usable commands in the taxonomy group ilab taxonomy
# Prints the usable commands in the taxonomy group
ilab taxonomy
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>
# 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>