r/MachineLearning • • Sep 12 '20

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

657 Upvotes

45 comments sorted by

View all comments

2

u/m3m3t Sep 12 '20

Very interesting! Just a heads up the if you enter a single letter (e.g. I typed in 'q' thinking that would exit the prompt) they Tokenizer.tokenize will return a query = [ ] which will cause an exception as the code will attempt to call Shell.do_q (or whatever letter you entered).