Skip to content

Using transformer for Spam message classification(tensorflow attention is all you need)

Notifications You must be signed in to change notification settings

guojm14/Transformer-Spam-message-classification

Repository files navigation

Transformer-Spam-message-classification

Using transformer for Spam message classification(tensorflow attention is all you need)

edit model.py for datasource and other hyper-parameters
edit model.py for train or test

python model.py

data_format:

label message

0 not
1 spam

reference:
Attenion is all you need
https://github.com/tensorflow/models.git
https://github.com/Embedding/Chinese-Word-Vectors.git

accuracy:99%+ recall:99%+ precision:98%+

UCAS Web Data Mining homework

About

Using transformer for Spam message classification(tensorflow attention is all you need)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages