Skip to content

Commit

Permalink
fix #29 by adding a link to keras code
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Nov 29, 2018
1 parent 28f4789 commit e59d391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ ds = (tf.data.TextLineDataset(train_fp).batch(batch_size)

The trick here is to start a pool of `BertClient` and reuse them one by one. In this way, we can fully harness the power of `num_parallel_calls` of `Dataset.map()` API.

The complete example can [be found example4.py](example4.py).
The complete example can [be found example4.py](example4.py). There is also [an example in Keras](https://github.com/hanxiao/bert-as-service/issues/29#issuecomment-442362241).

### Building a text classifier using BERT features and `tf.estimator` API

Expand Down

0 comments on commit e59d391

Please sign in to comment.