File: valid-machine-learning-considerations-env-1.7.xml

package info (click to toggle)
cyclonedx-python-lib 11.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,044 kB
  • sloc: xml: 20,462; python: 12,968; makefile: 21; sh: 16
file content (60 lines) | stat: -rw-r--r-- 2,822 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0"?>
<bom xmlns="http://cyclonedx.org/schema/bom/1.7"
     serialNumber="urn:uuid:ed5c5ba0-2be6-4b58-ac29-01a7fd375123"
     version="1"
>
    <components>
        <component type="machine-learning-model" bom-ref="huggingface.co-meta-llama-Llama-2-7b">
            <supplier>
                <name>Hugging Face</name>
            </supplier>
            <publisher>meta</publisher>
            <group>meta-llama</group>
            <name>Llama-2-7b</name>
            <externalReferences>
                <reference type="distribution">
                    <url>https://huggingface.co/meta-llama/Llama-2-7b</url>
                </reference>
            </externalReferences>
            <modelCard>
                <considerations>
                    <environmentalConsiderations>
                        <energyConsumptions>
                            <energyConsumption>
                                <activity>training</activity>
                                <energyProviders>
                                    <description>Meta data-center, US-East</description>
                                    <organization>
                                        <name>Meta</name>
                                        <address>
                                            <country>United States</country>
                                            <region>New Jersey</region>
                                            <locality>Newark</locality>
                                        </address>
                                    </organization>
                                    <energySource>natural-gas</energySource>
                                    <energyProvided>
                                        <value>0.4</value>
                                        <unit>kWh</unit>
                                    </energyProvided>
                                </energyProviders>
                                <activityEnergyCost>
                                    <value>0.4</value>
                                    <unit>kWh</unit>
                                </activityEnergyCost>
                                <co2CostEquivalent>
                                    <value>31.22</value>
                                    <unit>tCO2eq</unit>
                                </co2CostEquivalent>
                                <co2CostOffset>
                                    <value>31.22</value>
                                    <unit>tCO2eq</unit>
                                </co2CostOffset>
                            </energyConsumption>
                        </energyConsumptions>
                    </environmentalConsiderations>
                </considerations>
            </modelCard>
        </component>
    </components>
</bom>