github.com/CycloneDX/sbom-utility@v0.16.0/test/cyclonedx/1.6/specification/valid-machine-learning-considerations-env-1.6.json (about)

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