CoolFace
Modelpublic

evaluatorhub42/climate-mitigation-classifier

sourceHugging Faceapache-2.0updated 8mo agoView on Hugging Face
0likes
Model Card

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

precisionrecallf1-scoresupport
00.920.900.91311
10.530.660.5965
20.750.850.8087
30.590.370.4651
----------
accuracy0.81514
macroavg0.700.700.69514
weightedavg0.810.810.81514

### Usage

python## How to Use

from transformers import AutoModelForSequenceClassification, AutoTokenizer

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

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

or

from transformers import TextClassificationPipeline

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