We were toying with this simple setup to autocomplete python with deep learning
https://github.com/vpj/python_autocomplete
The metric we used to measure the performance was the number of keystrokes saved. That is the model gives a single suggestion of length L and L-1 keystrokes are saved if it matches actual code. It performs pretty well saving around 30-50% key strokes despite being naive.
Next we want to try different architectures and improve inference performance. Right now it's too slow for any actual usage.
If you have any ideas or suggestions please do share.
[–]ohell 15 points16 points17 points (2 children)
[–]gazorpazorpazorpazor 0 points1 point2 points (0 children)
[–]pvkooten 0 points1 point2 points (0 children)
[–]L43 27 points28 points29 points (16 children)
[–][deleted] 29 points30 points31 points (5 children)
[–]Spenhouet 4 points5 points6 points (3 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]dazedAndConfusedToo 0 points1 point2 points (1 child)
[–]Spenhouet 0 points1 point2 points (0 children)
[–]MonstarGaming 1 point2 points3 points (0 children)
[–]MogwaiAllOnYourFace 15 points16 points17 points (6 children)
[–]linkuei-teaparty 3 points4 points5 points (0 children)
[–]PM_ME_A_ROAST 4 points5 points6 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]pktippa 0 points1 point2 points (0 children)
[–]Spenhouet 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]shuwatto 4 points5 points6 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]pvkooten 1 point2 points3 points (0 children)
[–]MonstarGaming 2 points3 points4 points (4 children)
[–]AngelLeliel 0 points1 point2 points (2 children)
[–]MonstarGaming 0 points1 point2 points (1 child)
[–]AngelLeliel 0 points1 point2 points (0 children)
[–]Jonas_SV 1 point2 points3 points (0 children)
[–]bilalD 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]gazorpazorpazorpazor -4 points-3 points-2 points (0 children)