Downloads · 30 days
37
4% of all-time downloads
Vinoth24/environmental_claims
environmental_claims is a text classification model from Vinoth24. Use it when you need a label for a piece of text. It is set up for transformers.
The environmental-claims model is fine-tuned using the EnvironmentalClaims dataset on Bert base-uncased model. This model is fine-tuned with the help of Happy Transformers on the Bert base-uncased model. The Environme…
Downloads · 30 days
37
4% of all-time downloads
All-time downloads
1K
Public
Repo size
876 MB
Likes
3
Public
Click a slice to open those files.
.bin438 MB · 100%
From the Hugging Face model README
The environmental-claims model is fine-tuned using the EnvironmentalClaims dataset on Bert base-uncased model. This model is fine-tuned with the help of Happy Transformers on the Bert base-uncased model. The EnvironmentalClaims dataset is annotated by finance and sustainable finance students and authors of Zurich University. This model is expected to predict whether the input sequence is related to real-time environmental claims or not.
from happytransformer import HappyTextClassification
happy_class = HappyTextClassification(model_type="BERT", model_name="Vinoth24/environmental_claims")
result = happy_class.classify_text('The reduction of carbon emissions is improving for the last 2 years.')
print(result) -- TextClassificationResult(label='LABEL_1', score=0.9948860359191895)
print(result.label) -- LABEL_1
print(result.score) -- 0.994
LABEL_1 - Related to Environmental Claims <br /> LABEL_0 - Not Related to Environmental Claims
Feel free to train the model more with your custom Environmental claims data. Any queries will be answered. <br />Thank you! :)
Created by Kasi Vinoth S from India