Views
No views yet
distilroberta-base that classifies a climate-related text into a high-level topical category.category label.label_map.json.distilroberta-basetest_metrics.json.1from transformers import pipeline
2
3classifier = pipeline(
4 "text-classification",
5 model="maai-project/maai-category-sl"
6)
7
8classifier("New policies aim to reduce carbon emissions and introduce carbon taxes.")