dimbat_disaster_type_distilbert

作者 sacculifer · 下载 4 · 点赞 0 · 更新 2023-10-31

generated_from_keras_callback

Tweets disaster type classification model

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:

Model description

Labels
disease --- 1
earthquake --- 2
flood --- 3
hurricane & tornado --- 4
wildfire --- 5
industrial accident --- 6
societal crime --- 7
transportation accident --- 8
meteor crash --- 9
haze --- 0

Intended uses & limitation

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

Training hyperparameters

The following hyperparameters were used during training:

Framework versions

How to use it

from transformers import AutoTokenizer, TFAutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("sacculifer/dimbat_disaster_type_distilbert")

model = TFAutoModelForSequenceClassification.from_pretrained("sacculifer/dimbat_disaster_type_distilbert")