linkedin / linkedin/detext

Examples for loading the model and getting predictions with detext 3.0.0

Open
#67 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.3k
Forks
135
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the TF1 notebooks under user_guide/notebooks and the TF2 replacement for tensorflow.contrib.predictor. Add documentation examples showing how to load a trained detext 3.0.0 model and obtain predictions, then verify that the examples work with TensorFlow 2.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.