Foundation models like Llama, Qwen, and Stable Diffusion are powerful but generic. Post-training is how you make them yours — teaching a model your data, your domain, your task.
That usually means training scripts, hyperparameter tuning, and GPU infrastructure. Gradients replaces all of it with a single API call. Choose a model and a dataset — Gradients automatically optimizes the training configuration for your problem and delivers a production-ready model.
pip install gradientsio
Sign up at gradients.io, grab an API key, and:
import os
from gradientsio import GradientsClient, TaskType
os.environ["GRADIENTS_API_KEY"] = "your-api-key"
result = GradientsClient().train(
model="Qwen/Qwen2.5-3B",
task_type=TaskType.INSTRUCT,
hours=2,
dataset="yahma/alpaca-cleaned",
field_instruction="instruction",
field_input="input",
field_output="output",
).wait()
print(result.trained_model_repository)
Five training modes: INSTRUCT, CHAT, DPO, GRPO, IMAGE.
| Model size | Hourly rate | ||
|---|---|---|---|
| Up to 1B parameters | $10 / hr | 40B+ parameters | $50 / hr |
| Up to 7B parameters | $15 / hr | Image models | $5 / hr |
| Up to 40B parameters | $25 / hr |
| Getting Started | Install, create an account, train your first model, and test the result. |
| Task Types | Instruct, Chat, DPO, GRPO, and Image — when to use each and how. |
| Datasets | How to prepare your data, with good and bad examples for each type. |
| Configuration | Every parameter, error handling, polling, and environment variables. |
| Scheduler | Multi-iteration training for datasets larger than 300k rows. |
| Inference | Sample from local or cloud vLLM servers. |
| Deployment | Serve base models and LoRA adapters locally, on RunPod, Lium, or Targon. |
| Account | Billing, balance, and pricing. |
See the training comparison notebook for a live demo — train a medical QA model and compare it against the base model side by side.
Metadata
Release files for gradientsio 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gradientsio-0.1.5.tar.gz | 4.0 MB | Without provenance | Details for gradientsio-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gradientsio-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for gradientsio-0.1.5-py3-none-any.whl |
Total release size: 4.0 MB
Release files / gradientsio-0.1.5.tar.gz
| Download URL | gradientsio-0.1.5.tar.gz |
|---|---|
| Size | 4.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67ebb9e52af1b56330c3b35d30bc643dda350d4f4dbcef253d37c60d89508a74
|
|
BLAKE2b-256 checksum How to use checksums |
130273958e9d82ae980228db5f8e2ea89666b0a0b89c82a34ca12607e1bd23e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / gradientsio-0.1.5-py3-none-any.whl
| Download URL | gradientsio-0.1.5-py3-none-any.whl |
|---|---|
| Size | 42.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad4a39e7af3e0876dad87d608188a02b76a66b3646af8b9951f3a649ec576dd1
|
|
BLAKE2b-256 checksum How to use checksums |
5e2a76ae8b09183ba5e85b24fcb1bc750754d29d85fac37cd921fb6e11abdfc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for gradientsio 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.