nirajkale

Results comments of nirajkale

I am also facing similar issue. The reason for using save method is i want to host the saved model using tensorflow model server

Thanks for quick response! Will wait for this PR to complete :-)

Just pulled the latest code from master & now the SavedModel export is working fine for Electra 👍. Thanks a lot for your quick help! Closing the issue now.

Quick update: Above code works just fine in Ubuntu environment with below specs: - `transformers` version: 3.0.2 - Platform: Linux-5.3.0-1034-azure-x86_64-with-debian-buster-sid - Python version: 3.6.10 - PyTorch version (GPU?): 1.5.1 (True)...

> after a little reading the source, this is happening because you didn't implement a `__str__` method in your abstract model. You can add > > ``` > def __str__(self):...

Sry for confusion, the issue got solved by simple file replacement, Will check to make sure it doesn;t break anything.