Este contenido no está disponible en el idioma seleccionado.
Chapter 1. Red Hat Enterprise Linux AI command line interface reference
This reference provides descriptions and examples for the Red Hat Enterprise Linux AI CLI (ilab
) commands.
1.1. Red Hat Enterprise Linux AI CLI commands Copiar enlaceEnlace copiado en el portapapeles!
1.1.1. ilab config Copiar enlaceEnlace copiado en el portapapeles!
Command Group for Interacting with the configuration of InstructLab
Example usage
Prints the usable commands in the config group
# Prints the usable commands in the config group
ilab config
1.1.1.1. ilab config init Copiar enlaceEnlace copiado en el portapapeles!
Initializes environment for InstructLab
Example usage
Set up the InstructLab environment
# Set up the InstructLab environment
ilab config init
1.1.1.2. ilab config show Copiar enlaceEnlace copiado en el portapapeles!
Displays current state of the config file stored at ~/.config/instructlab/config.yaml
Example usage
Shows the `config.yaml` file on your system
# Shows the `config.yaml` file on your system
ilab config show
1.1.1.3. ilab config edit Copiar enlaceEnlace copiado en el portapapeles!
Allows you to edit the config stored at ~/.config/config.yaml
Example usage
Opens a vim shell where you can edit your config file
# Opens a vim shell where you can edit your config file
ilab config edit
1.1.2. ilab data Copiar enlaceEnlace copiado en el portapapeles!
Command Group for Interacting with the data generated by InstructLab
Example usage
Prints the usable commands in the data group
# Prints the usable commands in the data group
ilab data
1.1.2.1. ilab data generate Copiar enlaceEnlace copiado en el portapapeles!
Runs the synthetic data generation (SDG) process for InstructLab
Example usage
1.1.2.2. ilab data list Copiar enlaceEnlace copiado en el portapapeles!
Displays every dataset in the datasets directory, ` ~/.local/instructlab/datasets` , on your machine
Example usage
List every dataset in the datasets directory
# List every dataset in the datasets directory
ilab data list
1.1.3. ilab model Copiar enlaceEnlace copiado en el portapapeles!
Command Group for Interacting with the models in InstructLab
Example usage
Prints the usable commands in the model group
# Prints the usable commands in the model group
ilab model
1.1.3.1. ilab model chat Copiar enlaceEnlace copiado en el portapapeles!
Run a chat using the modified model
Example usage
Creates a virtual environment to chat with the model Creates a virtual environment to chat with a specified model
# 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 model download Copiar enlaceEnlace copiado en el portapapeles!
Downloads the model(s)
Example usage
Downloads the default models Downloads the models from a specific 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 model evaluate Copiar enlaceEnlace copiado en el portapapeles!
Runs the evaluation process on the model
Example usage
1.1.3.4. ilab model list Copiar enlaceEnlace copiado en el portapapeles!
Lists all the models installed on your system
Example usage
* List all the installed models ilab model list
* List all the installed models
ilab model list
1.1.3.5. ilab model train Copiar enlaceEnlace copiado en el portapapeles!
Runs the training process on the model
Example usage
Runs the training process on the default model from the config.yaml Runs the training process on a specified 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 model serve Copiar enlaceEnlace copiado en el portapapeles!
Serves the model on an endpoint
Example usage
1.1.4. ilab system Copiar enlaceEnlace copiado en el portapapeles!
Command group for all system-related commands
Example usage
Prints the usable commands in the system group
# Prints the usable commands in the system group
ilab system
1.1.4.1. ilab system info Copiar enlaceEnlace copiado en el portapapeles!
Displays the hardware specifications of your system
Example usage
#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 Copiar enlaceEnlace copiado en el portapapeles!
Command Group for Interacting with the taxonomy path of InstructLab
Example usage
Prints the usable commands in the taxonomy group
# Prints the usable commands in the taxonomy group
ilab taxonomy
1.1.5.1. ilab taxonomy diff Copiar enlaceEnlace copiado en el portapapeles!
Lists taxonomy files that you changed and verifies that the taxonomy is valid
Example usage
Prints the taxonomy files you changed and verifies that the taxonomy is valid Prints the taxonomy files in a specified path and verifies that the taxonomy is valid
# 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>