Downloads · 30 days
14
8% of all-time downloads
maai-project/maai-theme-sl
maai-theme-sl is a text classification model from maai-project. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned distilroberta-base that predicts the primary theme of a climate-related article or paragraph.
Downloads · 30 days
14
8% of all-time downloads
All-time downloads
169
Public
Parameters
82.1M
328 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors328 MB · 99%
From the Hugging Face model README
This model is a fine-tuned distilroberta-base that predicts the primary theme of a climate-related article or paragraph.
Given an input text (sentence, paragraph, or article), the model predicts exactly one theme label.
The full label set and mappings are provided in label_map.json.
distilroberta-baseEvaluation results on the test set are available in test_metrics.json.
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="maai-project/maai-theme-sl"
)
classifier("New policies aim to reduce carbon emissions and introduce carbon taxes.")