Primary competition visual

AI4D Malawi News Classification Challenge

Helping Malawi
$2 000 USD
Completed (almost 5 years ago)
Classification
830 joined
322 active
Starti
Jan 22, 21
Closei
May 09, 21
Reveali
May 09, 21
User avatar
MICADEE
LAHASCOM
BERT with Tensorflow
Help · 27 Feb 2021, 09:54 · 5

Has anyone using Bert with tensorflow encountered thie following warning:

WARNING:tensorflow:It seems that global step (tf.train.get_global_step) has not been increased. Current value (could be stable): 118 vs previous value: 118. You could increase the global step by passing tf.train.get_global_step() to Optimizer.apply_gradients or Optimizer.minimize.
If yes. How can we " increase the global step by passing tf.train.get_global_step() to Optimizer.apply_gradients or Optimizer.minimize ".

Thanks.
Discussion 5 answers

use tf hub and version 2

27 Feb 2021, 11:48
Upvotes 0
User avatar
MICADEE
LAHASCOM

okay cool. Thanks.

How you guys are using transformers for non-English text, mainly when we don't have pre-trained transformers models for Chichewa language.

User avatar
MICADEE
LAHASCOM

@Chetan_Ambi Yea. i know. You're very right.

you can ugse translation or you can use simple bert and fine tune it, by adding LSTM and Multile Dense layers