OS Manuals

/usr/bin/transformers-cli

Executable binaries for transformers installed for python3.12

From py3.12-transformers-4.51-bin 4.51.3-r7 (enterprise-packages), captured 2026-11-08 by running transformers-cli --help (exit 0). permalink

None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
usage: transformers-cli <command> [<args>]

positional arguments:
  {chat,convert,download,env,run,serve,add-new-model-like,add-fast-image-processor}
                        transformers-cli command helpers
    chat                **TRANSFORMERS CHAT INTERFACE** The chat interface is a simple tool to try
                        out a chat model. Besides talking to the model there are several commands:
                        - **help**: show this help message - **clear**: clears the current
                        conversation and start a new one - **example {NAME}**: load example named
                        `{NAME}` from the config and use it as the user input - **set
                        {SETTING_NAME}={SETTING_VALUE};**: change the system prompt or generation
                        settings (multiple settings are separated by a ';'). - **reset**: same as
                        clear but also resets the generation configs to defaults if they have been
                        changed by **set** - **save {SAVE_NAME} (optional)**: save the current
                        chat and settings to file by default to
                        `./chat_history/{MODEL_NAME}/chat_{DATETIME}.yaml` or `{SAVE_NAME}` if
                        provided - **exit**: closes the interface
    convert             CLI tool to run convert model from original author checkpoints to
                        Transformers PyTorch checkpoints.
    run                 Run a pipeline through the CLI
    serve               CLI tool to run inference requests through REST and GraphQL endpoints.

options:
  -h, --help            show this help message and exit
Options (1)
OptionDescriptionSource
-h, --helpshow this help message and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.