How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="mwong/climatebert-base-f-climate-evidence-related")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("mwong/climatebert-base-f-climate-evidence-related")
model = AutoModelForSequenceClassification.from_pretrained("mwong/climatebert-base-f-climate-evidence-related", device_map="auto")
Quick Links

ClimateBert-related

ClimateBert-related is a classifier model that predicts if climate related evidence is related to query claim. The model achieved F1 score of 81.90% with test dataset "mwong/climate-evidence-related". Using pretrained ClimateBert-f model, the classifier head is trained on Fever dataset and adapted to climate domain using ClimateFever dataset.

Downloads last month
10
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train mwong/climatebert-base-f-climate-evidence-related