Shuyi Wang
1 min readApr 11, 2019

--

Thank you for your feedback and encouragement, Dean!

Yes, you can use it for multilingual classification. I have just updated that part in the article. Modify your myparam setting as follow:

myparam = {
"DATA_COLUMN": "comment",
"LABEL_COLUMN": "sentiment",
"LEARNING_RATE": 2e-5,
"NUM_TRAIN_EPOCHS":3,
"bert_model_hub":"https://tfhub.dev/google/bert_multi_cased_L-12_H-768_A-12/1"
}

The definition of functions were wrapped in the source code of bert-text, which you can find here.

https://pypi.org/project/bert-text/#files

--

--

Shuyi Wang
Shuyi Wang

Written by Shuyi Wang

PhD in Information Science. Associate Professor at Tianjin Normal University. Former Adjunct Faculty at UNT. First Prize Winner of HackNTX 2018.

No responses yet