linkedin / detext

DeText: A Deep Neural Text Understanding Framework for Ranking and Classification Tasks
BSD 2-Clause "Simplified" License
1.26k stars 134 forks source link

Examples for loading the model and getting predictions with detext 3.0.0 #67

Open Isa-rentacs opened 3 years ago

Isa-rentacs commented 3 years ago

Hello, I'm trying to use detext 3.0.0, so far it seems that I could train a model, however all examples under https://github.com/linkedin/detext/tree/master/user_guide/notebooks are still for TF1.

Could you please add some examples for loading the model and getting prediction with the model? In TF2 tensorflow.contrib.predictor no longer exists so I'm not sure how to use trained models.