# Training Models ## List available base models for training (deprecated) `training_models.list() -> TrainingModelListResponse` **get** `/api/v1/training-models` Deprecated alias of `GET /autoscientist/models`, kept for existing clients. Returns the set of base models that can be used as the `model` field when creating a training job. Use `GET /autoscientist/models` in new code. ### Returns - `class TrainingModelListResponse: …` - `models: List[Model]` - `id: str` Identifier to pass as `model` when creating a job. - `display_name: str` Human-readable model name. - `model_size: Optional[object]` Parameter count label (e.g. "8B", "70B"). - `context_length: Optional[object]` Maximum context window in tokens. - `methods: List[str]` Training methods supported (e.g. ["sft", "dpo"]). - `training_types: List[str]` Training types supported (e.g. ["lora", "full"]). ### Example ```python import os from adaption import Adaption client = Adaption( api_key=os.environ.get("ADAPTION_API_KEY"), # This is the default and can be omitted ) training_models = client.training_models.list() print(training_models.models) ``` #### Response ```json { "models": [ { "id": "id", "display_name": "display_name", "model_size": {}, "context_length": {}, "methods": [ "string" ], "training_types": [ "string" ] } ] } ```