Thank you for considering contributing to our project! Here are some guidelines to help you get started.
Our project aims to build a question answering model using the Transformers library from Hugging Face. We download and preprocess data from Wikipedia using natural language processing techniques and transformer-based models, fine-tune a pre-trained transformer model on the data, and generate answers to a set of predefined questions using the trained model.
We welcome contributions from the community! Here are some ways you can contribute:
If you encounter any issues while using our project, please report them on our GitHub Issues page. Please include a detailed description of the issue, steps to reproduce it, and any relevant screenshots or error messages.
If you would like to fix a bug, please follow these steps:
-
Find an open issue on our GitHub Issues page that you would like to fix.
-
Comment on the issue that you would like to work on it, and wait for confirmation from a project maintainer.
-
Fork the repository and clone it to your local machine.
-
Create a new branch with a descriptive name for the bug fix (e.g., "fix-broken-link").
-
Make the necessary code changes to fix the bug.
-
Write tests for the bug fix.
-
Push the changes to your forked repository.
-
Create a pull request from your forked repository to our main repository.
-
Wait for review from a project maintainer. Address any feedback and make additional changes as necessary.
-
Once your pull request is approved and merged, your changes will be included in the next release of the project.
If you would like to add a new feature to our project, please follow these steps:
-
Find an open issue on our GitHub Issues page that describes the feature you would like to add.
-
Comment on the issue that you would like to work on it, and wait for confirmation from a project maintainer.
-
Fork the repository and clone it to your local machine.
-
Create a new branch with a descriptive name for the new feature (e.g., "add-search-functionality").
-
Make the necessary code changes to add the new feature.
-
Write tests for the new feature.
-
Push the changes to your forked repository.
-
Create a pull request from your forked repository to our main repository.
-
Wait for review from a project maintainer. Address any feedback and make additional changes as necessary.
-
Once your pull request is approved and merged, your changes will be included in the next release of the project.
If you would like to contribute to the project's documentation, please follow these steps:
-
Fork the repository and clone it to your local machine.
-
Create a new branch with a descriptive name for your documentation changes (e.g., "update-readme").
-
Make the necessary changes to the documentation.
-
Push the changes to your forked repository.
-
Create a pull request from your forked repository to our main repository.
-
Wait for review from a project maintainer. Address any feedback and make additional changes as necessary.
-
Once your pull request is approved and merged, your changes will be included in the next release of the project.
We want our project to be an open and welcoming community for everyone. To achieve this, we ask that all contributors follow our Code of Conduct. This includes:
- Being respectful and considerate of others' opinions, experiences, and backgrounds.
- Refraining from discriminatory language or behavior.
- Being open to feedback and constructive criticism.
- Reporting any Code of Conduct violations to the project maintainers.
If you have any questions or concerns about the Code of Conduct, please contact the project maintainers.
This Contributing Guidelines document was adapted from the Contributing Guidelines template by nayafia.