r/MachineLearning • • Sep 12 '20

Project [P] codequestion: Ask coding questions directly from the terminal

657 Upvotes

45 comments sorted by

View all comments

14

u/LaMifour Sep 12 '20

Nice. A friend and I thought of that few months ago. We dl the very same stack exchange zips and thought to use some text matching algo/comlands on it. The main caveats was storage. How much user storage do you use?

19

u/davidmezzetti Sep 12 '20

Thanks. With the compressed and uncompressed files, it's 100GB. The process only takes questions that have an accepted answer with at least 5 upvotes, which comes out to ~500k questions.

The pre-trained model is around 500MB compressed.

4

u/slomotion Sep 13 '20

How do you keep the model up-to-date?

1

u/davidmezzetti Sep 13 '20

Requires an index rebuild which is due. Most of the top questions are surprisingly old, at least for general programming questions.