Thanks for being there!
There are many ways you can help in the OpenNMT-tf project. This document will guide you through this process.
We use GitHub issues for bugs in the code that are reproducible. A good bug report should contain every information needed to reproduce it. Before opening a new issue, make sure to:
- use the GitHub issue search for existing and fixed bugs;
- check if the issue has been fixed in a more recent version;
- isolate the problem to give as much context as possible.
If you have questions on how to use the project or have trouble getting started with it, consider using our forum instead and tagging your topic with the opennmt-tf tag.
Do you think a feature is missing or would be a great addition to the project? Please open a GitHub issue to describe it.
You want to share some code, that's great!
- If you want to contribute with code but are unsure what to do,
- search for TODO comments in the code: these are small dev tasks that should be addressed at some point.
- look for GitHub issues marked with the help wanted label: these are developments that we find particularly suited for community contributions.
- If you are planning to make a large change to the existing code, consider asking first on the forum or Gitter to confirm that it is welcome.
In any cases, your new code must:
and should:
- add new tests
- increase the code coverage
- update the documentation
We recommend installing the project in editable mode with the tests dependencies:
pip install -e .[tests]
Tests are located in the opennmt/tests
directory and can be executed with pytest
:
pytest opennmt/tests
The project supports many model and training configurations. Sharing experiences (for example on the forum) with existing or new configurations is highly appreciated.
Also, people often ask for help or suggestions on the forum or on Gitter. Consider visiting them regularly and help some of them!