ranking icon indicating copy to clipboard operation
ranking copied to clipboard

Why was TFR-Bert removed?

Open Mitchell-gitrepo opened this issue 2 years ago • 2 comments

It looks like TFR-Bert based ranking was removed from tensorflow_ranking/extension. Is there a specific reason for this?

Mitchell-gitrepo avatar Dec 04 '21 19:12 Mitchell-gitrepo

We have a new version of TFR-BERT based on Keras + Orbit. You can find the new one here: https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/examples/keras/tfrbert_antique_train.py.

The new version is better and in native keras. Maybe you can try it out.

xuanhuiwang avatar Dec 06 '21 19:12 xuanhuiwang

Hi @xuanhuiwang, is there some example how to transition/convert from column based estimator and into Keras? I'm looking to convert tf_ranking_tfrecord.py setup with embedding columns, estimator etc. and into Keras, next step being to use Bert for text instead of my implementation of BPE column based embedding.

vitalyli avatar May 31 '22 00:05 vitalyli