Update README.md
Browse files
README.md
CHANGED
@@ -8,42 +8,46 @@ tags:
|
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
widget:
|
11 |
-
- text:
|
12 |
-
|
13 |
-
|
14 |
-
scenario
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
and
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
- text:
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
47 |
pipeline_tag: text-classification
|
48 |
inference: false
|
49 |
co2_eq_emissions:
|
@@ -56,6 +60,8 @@ co2_eq_emissions:
|
|
56 |
hours_used: 2.03
|
57 |
hardware_used: 1 x Tesla V100-SXM2-16GB
|
58 |
base_model: BAAI/bge-base-en-v1.5
|
|
|
|
|
59 |
---
|
60 |
|
61 |
# SetFit with BAAI/bge-base-en-v1.5
|
@@ -68,6 +74,13 @@ The model has been trained using an efficient few-shot learning technique that i
|
|
68 |
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
69 |
|
70 |
## Model Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
|
72 |
### Model Description
|
73 |
- **Model Type:** SetFit
|
@@ -101,7 +114,7 @@ Then you can load this model and run inference.
|
|
101 |
from setfit import SetFitModel
|
102 |
|
103 |
# Download from the 🤗 Hub
|
104 |
-
model = SetFitModel.from_pretrained("
|
105 |
# Run inference
|
106 |
preds = model("This document enfolds Iceland’s first communication on its long-term strategy (LTS), to be updated when further analysis and policy documents are published on the matter. Iceland is committed to reducing its overall greenhouse gas emissions and reaching climate neutrality no later than 2040 and become fossil fuel free in 2050, which should set Iceland on a path to net negative emissions.")
|
107 |
```
|
@@ -137,6 +150,22 @@ preds = model("This document enfolds Iceland’s first communication on its long
|
|
137 |
|:-------------|:----|:--------|:----|
|
138 |
| Word count | 19 | 78.5467 | 173 |
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
### Training Hyperparameters
|
141 |
- batch_size: (8, 2)
|
142 |
- num_epochs: (1, 0)
|
@@ -154,7 +183,7 @@ preds = model("This document enfolds Iceland’s first communication on its long
|
|
154 |
- eval_max_steps: -1
|
155 |
- load_best_model_at_end: False
|
156 |
|
157 |
-
### Training Results
|
158 |
| Epoch | Step | Training Loss | Validation Loss |
|
159 |
|:------:|:-----:|:-------------:|:---------------:|
|
160 |
| 0.0000 | 1 | 0.2227 | - |
|
@@ -165,6 +194,13 @@ preds = model("This document enfolds Iceland’s first communication on its long
|
|
165 |
| 0.7595 | 25000 | 0.0439 | 0.0865 |
|
166 |
| 0.9114 | 30000 | 0.0029 | 0.0914 |
|
167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
### Environmental Impact
|
169 |
Carbon emissions were measured using [CodeCarbon](https://github.com/mlco2/codecarbon).
|
170 |
- **Carbon Emitted**: 0.268 kg of CO2
|
|
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
widget:
|
11 |
+
- text: >-
|
12 |
+
Unconditional Reduction The level of reduction planned unconditionally is
|
13 |
+
expected to be up to 35% by 2030 as compared to the Business As Usual (BAU)
|
14 |
+
scenario, taking 2005 as the reference year. Conditional Reduction In a
|
15 |
+
conditional mitigation scenario Angola plans to reduce further its
|
16 |
+
emissions. Therefore, the mitigation options identified in this scenario are
|
17 |
+
expected to reduce an additional 15% below BAU emission levels by 2030.
|
18 |
+
- text: >-
|
19 |
+
Measure 300 MW total installed biomass power capacity in the country by
|
20 |
+
Sector Energy GHG mitigation target 84 ktCO2e on average per year between
|
21 |
+
2020 and 2030 Monitoring procedures Newly added biomass capacity will be
|
22 |
+
monitored on an annual basis by the Department of Climate Change of the
|
23 |
+
Ministry of Natural Resources and Environment using data from the Ministry
|
24 |
+
of Energy and Mines Comments - Installed capacity as of 2019 is around
|
25 |
+
40MW Measure 30% Electric Vehicles penetration for 2-wheelers and
|
26 |
+
passengers cars in national vehicles mix Sector Transport GHG mitigation
|
27 |
+
target 30 ktCO2e on average per year between 2020 and 2030 Monitoring
|
28 |
+
procedures Share of Electric Vehicles in national vehicle mix will be
|
29 |
+
monitored on an annual basis by the Department of Climate Change of the
|
30 |
+
Ministry of Natural Resources and Environment using data from the Ministry
|
31 |
+
of Public Works and Transport.
|
32 |
+
- text: "� Australia adopts a target of net zero emissions by 2050. This is an economy-wide target,\_covering all sectors and gases included in Australia’s national inventory. � In order to achieve net zero by 2050, Australia commits to seven low emissions technology stretch goals - ambitious but realistic goals to bring priority low emissions technologies to economic parity with existing mature technologies."
|
33 |
+
- text: >-
|
34 |
+
The GoP has taken a series of major initiatives as outlined in chapters 4
|
35 |
+
and 5. Hence, Pakistan intends to set a cumulative ambitious conditional
|
36 |
+
target of overall 50% reduction of its projected emissions by 2030, with 15%
|
37 |
+
from the country’s own resources and 35% subject to provision of
|
38 |
+
international grant finance that would require USD 101 billion just for
|
39 |
+
energy transition. 7.1 HIGH PRIORITY ACTIONS Addressing the Global Climate
|
40 |
+
Summit at the United Nations in December 2020, the Prime Minister of
|
41 |
+
Pakistan made an announcement to reduce future GHG emissions on a high
|
42 |
+
priority basis if international financial and technical resources were made
|
43 |
+
available: MITIGATION: 1.
|
44 |
+
- text: >-
|
45 |
+
This document enfolds Iceland’s first communication on its long-term
|
46 |
+
strategy (LTS), to be updated when further analysis and policy documents are
|
47 |
+
published on the matter. Iceland is committed to reducing its overall
|
48 |
+
greenhouse gas emissions and reaching climate neutrality no later than 2040
|
49 |
+
and become fossil fuel free in 2050, which should set Iceland on a path to
|
50 |
+
net negative emissions.
|
51 |
pipeline_tag: text-classification
|
52 |
inference: false
|
53 |
co2_eq_emissions:
|
|
|
60 |
hours_used: 2.03
|
61 |
hardware_used: 1 x Tesla V100-SXM2-16GB
|
62 |
base_model: BAAI/bge-base-en-v1.5
|
63 |
+
datasets:
|
64 |
+
- GIZ/policy_classification
|
65 |
---
|
66 |
|
67 |
# SetFit with BAAI/bge-base-en-v1.5
|
|
|
74 |
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
75 |
|
76 |
## Model Details
|
77 |
+
The purpose of this model is to predict multiple labels simultaneously from a given input data. Specifically, the model will predict 3 labels -
|
78 |
+
GHGLabel, NetzeroLabel, NonGHGLabel- that are relevant to a particular task or application
|
79 |
+
- **Target**: Targets are an intention to achieve a specific result, for example, to reduce GHG emissions to a specific level
|
80 |
+
(a GHG target) or increase energy efficiency or renewable energy to a specific level (a non-GHG target), typically by
|
81 |
+
a certain date.
|
82 |
+
- **Action**: Actions are an intention to implement specific means of achieving GHG reductions, usually in forms of concrete projects.
|
83 |
+
- **Policies**: Policies are domestic planning documents such as policies, regulations or guidlines.
|
84 |
|
85 |
### Model Description
|
86 |
- **Model Type:** SetFit
|
|
|
114 |
from setfit import SetFitModel
|
115 |
|
116 |
# Download from the 🤗 Hub
|
117 |
+
model = SetFitModel.from_pretrained("GIZ/SUBTARGET_multilabel_bge")
|
118 |
# Run inference
|
119 |
preds = model("This document enfolds Iceland’s first communication on its long-term strategy (LTS), to be updated when further analysis and policy documents are published on the matter. Iceland is committed to reducing its overall greenhouse gas emissions and reaching climate neutrality no later than 2040 and become fossil fuel free in 2050, which should set Iceland on a path to net negative emissions.")
|
120 |
```
|
|
|
150 |
|:-------------|:----|:--------|:----|
|
151 |
| Word count | 19 | 78.5467 | 173 |
|
152 |
|
153 |
+
- Training Dataset: 728
|
154 |
+
| Class | Positive Count of Class|
|
155 |
+
|:-------------|:--------|
|
156 |
+
| GHGLabel | 440 |
|
157 |
+
| NetzeroLabel | 120 |
|
158 |
+
| NonGHGLabel | 259|
|
159 |
+
|
160 |
+
|
161 |
+
- Validation Dataset: 80
|
162 |
+
| Class | Positive Count of Class|
|
163 |
+
|:-------------|:--------|
|
164 |
+
| GHGLabel | 49 |
|
165 |
+
| NetzeroLabel | 11 |
|
166 |
+
| NonGHGLabel | 30|
|
167 |
+
|
168 |
+
|
169 |
### Training Hyperparameters
|
170 |
- batch_size: (8, 2)
|
171 |
- num_epochs: (1, 0)
|
|
|
183 |
- eval_max_steps: -1
|
184 |
- load_best_model_at_end: False
|
185 |
|
186 |
+
### Embedding Training Results
|
187 |
| Epoch | Step | Training Loss | Validation Loss |
|
188 |
|:------:|:-----:|:-------------:|:---------------:|
|
189 |
| 0.0000 | 1 | 0.2227 | - |
|
|
|
194 |
| 0.7595 | 25000 | 0.0439 | 0.0865 |
|
195 |
| 0.9114 | 30000 | 0.0029 | 0.0914 |
|
196 |
|
197 |
+
|label | precision |recall |f1-score| support|
|
198 |
+
|:-------------:|:---------:|:-----:|:------:|:------:|
|
199 |
+
|GHG |0.884 |0.938 |0.910 | 49.0 |
|
200 |
+
|Netzero |0.846 |1.000 |0.916 | 11.0 |
|
201 |
+
|NonGHG |0.903 |0.933 |0.918 | 30.0 |
|
202 |
+
|
203 |
+
|
204 |
### Environmental Impact
|
205 |
Carbon emissions were measured using [CodeCarbon](https://github.com/mlco2/codecarbon).
|
206 |
- **Carbon Emitted**: 0.268 kg of CO2
|