Skip to main content
The .models accessor provides methods for listing and downloading models.

Model class

QuantizedFile class

Downloading models

Download a quantized model file using one of the following approaches:
client.models.download() accepts either a string reference ('model/quantization') or a QuantizedFile object.
If the model has already been downloaded, the function exits immediately. Otherwise, a progress bar displays.

Example usage