Deep TabNine: Write code faster using deep learning
We have already looked at Facebook’s AROMA code-to-code search and recommendation tool. In this post,we take look at TabNine autocompleter with deep learning capabilities that helps in writing code faster & good quality.
- TabNine is the all-language autocompleter.It relies on machine learning to provide responsive, reliable, and relevant suggestions.
- TabNine builds an index of your project, reading your .gitignore so that only source files are included and uses this index to provide useful information to a softmax regression model which ranks candidate completions.The candidate completions are then given to a secondary completion engine, which may suggest additional characters for completion, based on similar patterns found elsewhere in your project.
- TabNine then uses another abstraction layer and parameterizes the patterns by the identifiers they contain, allowing it to provide suggestions involving words that it has only seen once.
- TabNine has been trained on around 2 million source files from GitHub.During model training,it would predict each token given the tokens that come before it.To do this,it learns complex behavior using deep learning capabilities, such as type inference in dynamically typed languages (check example below)
- TabNine is based on Open AI GPT-2 that uses the Transformer network architecture.Architecture takes care of problems in natural language processing. Although modeling code and modeling natural language might appear to be unrelated tasks, modeling code requires understanding English in some unexpected ways.
- TabNine Model also uses documentation written in natural language to infer function names, parameters, and return types.
- TabNine can be installed from here and configuration is easy.
- TabNine is also available as cloud service (beta) as well so that we can make use TabNine’s cloud servers for GPU-accelerated autocompletion.
Additional Resources :
- TOP 15 Udemy Artificial Intelligence Courses
- TOP 25 Udemy Machine Learning courses
- TOP 25 Udemy Machine Learning courses (Level – Intermediate)
- 17 Algorithms Machine Learning Engineers Need to Know
- ULTIMATE Guide to Data Science Courses (Over 65+ courses covered)
- Applied AI: Artificial Intelligence with IBM Watson Specialization
- Python Curated Course Collection
- AI Foundations for Everyone Specialization from IBM
- ULTIMATE GUIDE to Coursera Specializations That Will Make Your Career Better (Over 100+ Specializations covered)
Like this post? Don’t forget to share it!