Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any documentation on using SRU++ ? #201

Open
thangld201 opened this issue Apr 23, 2022 · 1 comment
Open

Any documentation on using SRU++ ? #201

thangld201 opened this issue Apr 23, 2022 · 1 comment

Comments

@thangld201
Copy link

Hello, I've read and really appreciated your team's wonderful works on SRU++. I want to implement this architecture in other tasks, but i'm having problem finding the documentation on SRU++, as how I can use SRU++ the same way as SRU (calling directly from sru library after installing by pip install sru). I have looked into the dev-3.0.0 branch, which seems like the latest updated branch, but I still have no clues how to call and integrate sru++ modules into my custom defined pytorch modules. Could you help me ?

@taolei87
Copy link
Contributor

Hi @thangld201, you may find the docstrings of the SRU++ module useful. See for example:

In addition, the experiment directory contains a few examples of training SRU++ on language model tasks. See for example:

Unfortunately i'm no longer working at ASAPP, so I couldn't merge the dev branch into master.
However, you can install the dev branch by pip install sru==3.0.0.dev6 and use it the same way as SRU.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants