Installation
How to install and set up the Predibase Python SDK
The Predibase Python SDK is available on PyPI and can be installed using pip.
Requirements
- Python 3.8 or higher
- pip package manager
Standard Installation
Install the Predibase SDK using pip:
Verification
Verify your installation by importing the Predibase client in Python:
Setting Up Your API Key
After installation, set up your API key using one of these methods:
Environment Variable
Set the PREDIBASE_API_TOKEN
environment variable:
Direct Initialization
Provide your API key when initializing the client:
Next Steps
Once you’ve installed the SDK, you can:
- Deploy models using Deployments
- Fine-tune models with Adapters
- Manage training data with Datasets
- Organize your adapters with Repos