Downloads · 30 days
4
1% of all-time downloads
sacculifer/dimbat_disaster_type_distilbert
dimbat_disaster_type_distilbert is a text classification model from sacculifer. Use it when you need a label for a piece of text. It is set up for transformers.
probably proofread and complete it, then remove this comment. --
Downloads · 30 days
4
1% of all-time downloads
All-time downloads
767
Public
Repo size
268 MB
Likes
0
Public
Click a slice to open those files.
.h5268 MB · 100%
From the Hugging Face model README
This model was trained from part of Disaster Tweet Corpus 2020 (Analysis of Filtering Models for Disaster-Related Tweets, Wiegmann,M. et al, 2020) dataset It achieves the following results on the evaluation set:
Labels <br> disease --- 1 <br> earthquake --- 2 <br> flood --- 3 <br> hurricane & tornado --- 4 <br> wildfire --- 5 <br> industrial accident --- 6 <br> societal crime --- 7 <br> transportation accident --- 8 <br> meteor crash --- 9 <br> haze --- 0
This model is able to detect 10 different type of disaster (nature and human-made), but it shows problem to detect the type 0 disaster due to the insignificant tweets and similarity to type 5 in the training dataset
The following hyperparameters were used during training:
from transformers import AutoTokenizer, TFAutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("sacculifer/dimbat_disaster_type_distilbert")
model = TFAutoModelForSequenceClassification.from_pretrained("sacculifer/dimbat_disaster_type_distilbert")