github.com/CycloneDX/sbom-utility@v0.16.0/test/cyclonedx/1.6/cdx-1-6-valid-mlbom-environmental-considerations.json (about)

     1  {
     2    "bomFormat": "CycloneDX",
     3    "specVersion": "1.6",
     4    "serialNumber": "urn:uuid:ed5c5ba0-2be6-4b58-ac29-01a7fd375123",
     5    "version": 1,
     6    "components": [
     7      {
     8        "bom-ref": "huggingface.co-meta-llama-Llama-2-7b",
     9        "group": "meta-llama",
    10        "name": "Llama-2-7b",
    11        "type": "machine-learning-model",
    12        "supplier": {
    13          "name": "Hugging Face"
    14        },
    15        "publisher": "meta",
    16        "externalReferences": [
    17          {
    18            "type": "distribution",
    19            "url": "https://huggingface.co/meta-llama/Llama-2-7b"
    20          }
    21        ],
    22        "modelCard": {
    23          "considerations": {
    24            "environmentalConsiderations": {
    25              "energyConsumptions": [
    26                {
    27                  "activity": "training",
    28                  "energyProviders": [
    29                    {
    30                      "description": "Meta data-center, US-East",
    31                      "organization": {
    32                        "name": "Meta",
    33                        "address": {
    34                          "country": "United States",
    35                          "region": "New Jersey",
    36                          "locality": "Newark"
    37                        }
    38                      },
    39                      "energySource": "natural-gas",
    40                      "energyProvided": {
    41                        "value": 0.4,
    42                        "unit": "kWh"
    43                      }
    44                    }
    45                  ],
    46                  "activityEnergyCost": {
    47                    "value": 0.4,
    48                    "unit": "kWh"
    49                  },
    50                  "co2CostEquivalent": {
    51                    "value": 31.22,
    52                    "unit": "tCO2eq"
    53                  },
    54                  "co2CostOffset": {
    55                    "value": 31.22,
    56                    "unit": "tCO2eq"
    57                  }
    58                }
    59              ]
    60            }
    61          }
    62        }
    63      }
    64    ]
    65  }