Get Customization Target Details#

Prerequisites#

Before you can get a customization target’s details, make sure that you have:

  • The namespace the target belongs to.

  • The name of the target.

You can get this information for all targets by listing the available targets.


Options#

You can get the details of a customization target in the following ways.

API#

  1. Submit a GET request to /v1/customization/targets/{namespace}/{name}.

    curl --get "${CUSTOMIZER_SERVICE_URL}/v1/customization/targets/meta/llama-3.1-8b-instruct@2.0"
    
  2. Review the response.

    Example Response
    {
      "id": "cust-target-abc123",
      "created_at": "2024-05-08T12:00:00Z",
      "updated_at": "2024-05-08T12:00:00Z",
      "name": "llama-3.1-8b-instruct@2.0",
      "namespace": "meta",
      "project": null,
      "ownership": {},
      "description": "Meta Llama 3.1 8B",
      "enabled": true,
      "base_model": "meta/llama-3.1-8b",
      "status": "ready",
      "model_path": "llama-3_1-8b-instruct_2_0",
      "model_uri": "ngc://nvidia/nemo/llama-3_1-8b:2.0",
      "tokenizer": {},
      "num_parameters": 8000000000,
      "precision": "bf16-mixed"
    }