You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="https://github.com/thepushkarp/nalcos/releases"><imgalt="GitHub release (latest by date)"src="https://img.shields.io/github/v/release/thepushkarp/nalcos?style=for-the-badge"></a>
@@ -36,8 +38,6 @@ Though there are various improvements left, I'm happy with what this initially t
36
38
37
39
## Requirements
38
40
39
-
Tested on Python 3.8.11.
40
-
41
41
NaLCoS uses the following packages:
42
42
43
43
-[Sentence Transformers](https://github.com/UKPLab/sentence-transformers) for the Transformer model.
@@ -47,39 +47,51 @@ NaLCoS uses the following packages:
47
47
48
48
## Installation
49
49
50
+
### Installing with `pip` (Recommended)
51
+
52
+
Install with `pip` or your favourite PyPi manager:
53
+
54
+
```console
55
+
$ pip install nalcos
56
+
```
57
+
58
+
Run NaLCoS with the `--help` flag to see all the available options:
59
+
60
+
```console
61
+
$ nalcos --help
62
+
```
63
+
64
+
**Note**: When you run the `nalcos` command for the first time, it will, download the model which would be cached and used the next time you run NaLCoS.
65
+
66
+
### Installing bleeding edge from the GitHub repository
This also downloads the model weights stored in the `nalcos/.cache` directory so you don't have to download them while running the model for the first time.
74
+
This also downloads the model weights stored in the `nalcos/models` directory so you don't have to download them while running the model for the first time.
57
75
58
76
- Create a virtual environment ([click here](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) to read about activating virtualenv):
59
77
60
78
```
61
79
$ virtualenv venv
62
80
```
63
81
64
-
<detailsopen>
65
-
<summary>Activate virtualenv (for Linux and MacOS):</summary>
-[ ] Add personal API token support to increase GitHub API rate limit
167
-
-[ ] Use a Python GitHub API wrapper [?]
168
-
-[ ] Look into ways to cache and store embeddings to reduce repeated computations [?]
169
-
-[ ] Try other models [?]
173
+
Please visit the [NaLCoS To Do Project Board](https://github.com/thepushkarp/nalcos/projects/1) to see current status and future plans.
170
174
171
175
## Known issues
172
176
@@ -175,6 +179,14 @@ Not all retrieved results are always relevant. I could think of two primary reas
175
179
- The data the model was pre-trained on is not representative of how people write commit messages. Since commit messages usually contain technical jargon, merge commit messages, abbreviations and other non-common terms, the model (which has a limited vocabulary) is not able to generalize well to this data.
176
180
- Two commits may be related even when their commit messages may not be similar and similarly two commit messages maybe unrelated even when their commit messages are similar. We often need more metadata (such as lines changes, files changed) etc. to make the predictions more accurate.
177
181
182
+
## Contributing
183
+
184
+
Any suggestions, improvements or bug reports are welcome.
185
+
186
+
- If you want to discuss any aspect of the project, please use the [Discussions Tab](https://github.com/thepushkarp/nalcos/discussions).
187
+
- You can submit your idea by [opening an issue](https://github.com/thepushkarp/nalcos/issues/new/choose) or [creating a Pull Request](https://github.com/thepushkarp/nalcos/pulls).
188
+
- If you'd like to improve the code, make sure you stick to the existing code style and naming conventions.
189
+
178
190
## License
179
191
180
192
This project is licensed under the terms of the MIT license.
0 commit comments