File size: 1,558 Bytes
a1b1269
b528753
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a1b1269
b528753
 
 
 
 
 
acbbd00
 
 
 
b528753
acbbd00
 
 
b528753
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
base_model: FacebookAI/roberta-large
language: en
license: apache-2.0
model_name: climate-mitigation-classifier
pipeline_tag: text-classification
tags:
- CRS
- OECD CRS
- text-classification
- lora
- transformers
funded_by: DEval - Deutsches Evaluierungsinstitut der Entwicklungszusammenarbeit gGmbH
tasks:
- text-classification
shared_by: DEval - Deutsches Evaluierungsinstitut der Entwicklungszusammenarbeit gGmbH
---
This model identifies the relevance of CRS projects to climate-change mitigation. It is trained on manually annotated CRS data using the standard Rio Marker classification. Labels 0, 1, and 2 indicate whether a project has no, significant, or primary focus on climate-change mitigation. (RIO Marker)

 ### Evaluation metrics 

 | |precision|recall|f1-score|support|
|--|--|--|--|--|
|0|0.92|0.90|0.91|311|
|1|0.53|0.66|0.59|65|
|2|0.75|0.85|0.80|87|
|3|0.59|0.37|0.46|51|
|--|--|--|--|--|
|accuracy| | |0.81|514|
|macro|avg|0.70|0.70|0.69|514|
|weighted|avg|0.81|0.81|0.81|514|


 ### Usage 

 ```python## How to Use

```python 
from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("namespace/my-model")
tokenizer = AutoTokenizer.from_pretrained("namespace/my-model")

inputs = tokenizer("hello world", return_tensors="pt")
outputs = model(**inputs)
print(outputs)"
```
or

```python 
from transformers import TextClassificationPipeline

model = TextClassificationPipeline("namespace/my-model")
outputs = model("Hello World!")
print(outputs)"
```
```