Open akashjaswal opened 4 years ago
Hi, I am sorry there is no recent plan to export PEGASUS to TFHub from our side.
Thank you, @TheRockXu ! However, when I try to run this, I receive the following Syntax error (with arrow head pointing to colon after encoder_type):
Traceback (most recent call last):
File "test_example.py", line 2, in
@codemeterr Did you use Python2.7 to run the code? Please use Python3 because it supports typed parameters.
Thank you, @TheRockXu , that seems to work! However, the summary seems to be extractive, rather than abstractive. Do you know what's up with that?
@codemeterr For some yes. It could probably perform better if it was trained longer and it depends on the dataset. If it was trained on gigaword dataset, it'd be highly abstractive. I'll put up that model later.
@TheRockXu Could you please share the steps for fine-tuning on gigaword. I tried to follow the steps mentioned in README.md but I am running into issues. Could you please share the steps.
Any plans of extending Pegasus to export models as TFHub modules or to run directly with TensorFlow Server? Tensor2Tensor has an easy to use model exporter/server which plugs into the tensorflow-serving-api to provide easy ways to query.