Get Customization Configuration Details#

Get a customization configuration and its details.

Prerequisites#

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

  • Access to the NeMo Customizer service


Options#

API#

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

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

    Example Response
    {
      "name": "llama-3.1-8b-instruct@2.0",
      "namespace": "default",
      "description": "Configuration for training LLama 3.1 8B on A100 GPUs",
      "target": "meta/llama-3.1-8b-instruct@2.0",
      "training_options": [
        {
          "training_type": "sft",
          "finetuning_type": "lora",
          "num_gpus": 2,
          "num_nodes": 1,
          "tensor_parallel_size": 1,
          "micro_batch_size": 1
        }
      ],
      "training_precision": "bf16",
      "max_seq_length": 2048,
      "pod_spec": {},
      "prompt_template": "string",
      "chat_prompt_template": "string",
      "dataset_schemas": [],
      "project": "string",
      "ownership": {}
    }