File size: 3,208 Bytes
ecce429 fe38c57 7fe1b73 ecce429 fe38c57 f62d3f7 fe38c57 f62d3f7 c7cd170 fe38c57 f62d3f7 fe38c57 f62d3f7 c920e28 f62d3f7 c920e28 f62d3f7 c1b1a66 f62d3f7 fe38c57 f8caf87 fe38c57 f62d3f7 f8caf87 f62d3f7 fe38c57 |
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
---
license: apache-2.0
datasets:
- ClimatePolicyRadar/national-climate-targets
language:
- en
pipeline_tag: text-classification
tags:
- climate
widget:
- text: "The Net Zero Strategy, published in October 2021, was the first document of its kind for a major economy. It set out the government’s vision for a market-led, technology-driven transition to decarbonise the UK economy and reach net zero by 2050."
inference:
parameters:
function_to_apply: "sigmoid"
---
## National Climate Targets Classifier - Climate Policy Radar
A multi-label text-classifier trained on the National Climate Targets dataset by Climate Policy Radar.
Using the [climatebert/distilroberta-base-climate-f](https://huggingface.co/climatebert/distilroberta-base-climate-f) model as a starting point, this classifier is trained on the [ClimatePolicyRadar/national-climate-targets](https://huggingface.co/datasets/ClimatePolicyRadar/national-climate-targets) dataset to predict Net Zero ("NZT")
, "Reduction" and "Other" targets in a multi-label setting. The training data is an expert annotated subset of national laws, policies and UNFCCC submissions.
For more information on the annotation methodology and classifier training [see our paper](https://arxiv.org/abs/2404.02822).
## Getting started
```python
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model_name = "ClimatePolicyRadar/national-climate-targets"
example = "The Net Zero Strategy, published in October 2021, was the first "\
"document of its kind for a major economy. It set out the government’s "\
"vision for a market-led, technology-driven transition to decarbonise "\
"the UK economy and reach net zero by 2050."
model = AutoModelForSequenceClassification.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
# using sigmoid because the model is multi-label
pipe = pipeline("text-classification", model=model, tokenizer=tokenizer, function_to_apply="sigmoid")
pipe(example, padding=True, truncation=True, return_all_scores=True)
>>> [[{'label': 'NZT', 'score': 0.9142044186592102},
{'label': 'Reduction', 'score': 0.04552844911813736},
{'label': 'Other', 'score': 0.07590094953775406}]]
```
## Licence
Our classifier is licensed as [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0).
Please read our [Terms of Use](https://app.climatepolicyradar.org/terms-of-use), including any specific terms relevant to commercial use. Contact [email protected] with any questions.
## Links
- [Paper](https://arxiv.org/abs/2404.02822)
## Citation
```
@misc{juhasz2024identifying,
title={Identifying Climate Targets in National Laws and Policies using Machine Learning},
author={Matyas Juhasz and Tina Marchand and Roshan Melwani and Kalyan Dutia and Sarah Goodenough and Harrison Pim and Henry Franks},
year={2024},
eprint={2404.02822},
archivePrefix={arXiv},
primaryClass={cs.CY}
}
```
## Authors & Contact
Climate Policy Radar team: Matyas Juhasz, Tina Marchand, Roshan Melwani, Kalyan Dutia, Sarah Goodenough, Harrison Pim, and Henry Franks.
[email protected]
https://climatepolicyradar.org
|