Get Model#

Prerequisites#

Before you can get a model, make sure that you have:

  • Access to the NeMo Entity Store Microservice.

  • The model’s namespace and name.


How to Get a Model#

API#

  1. Make a GET request to the /v1/models/{namespace}/{name} endpoint.

    ENTITY_STORE_BASE_URL="<URL for NeMo Entity Store>"
    NAMESPACE="team-docs"
    MODEL_NAME="documentation-test-model"
    
    curl -X GET "${ENTITY_STORE_BASE_URL}/v1/models/${NAMESPACE}/${MODEL_NAME}" \
      -H 'Accept: application/json' \
      -H 'Content-Type: application/json' | jq
    
  2. Check the model details by reviewing the response.

    Example Response
    {
      "created_at": "2025-03-10T21:38:37.064850",
      "updated_at": "2025-03-10T21:38:37.064851",
      "name": "acui-737@cust-HKVydV9qRNvXFhWyns2emZ",
      "namespace": "default",
      "description": "squad ds",
      "spec": {
        "num_parameters": 1000000000,
        "context_size": 4096,
        "num_virtual_tokens": 0,
        "is_chat": false
      },
      "artifact": {
        "gpu_arch": "Ampere",
        "precision": "bf16",
        "tensor_parallelism": 1,
        "backend_engine": "nemo",
        "status": "created",
        "files_url": "hf://default/user1-737@cust-HKVydV9qRNvXFhWyns2emZ"
      },
      "base_model": "meta/llama-3.2-1b",
      "peft": {
        "finetuning_type": "lora"
      },
      "schema_version": "1.0",
      "project": "project-U6V7dg8yvLGfSBfPYSron3",
      "custom_fields": {}
    }