当前位置:网站首页>What is the experience of pairing with AI? Pilot vs alphacode, Codex, gpt-3
What is the experience of pairing with AI? Pilot vs alphacode, Codex, gpt-3
2022-06-30 22:10:00 【AI architect Yijin】
Deepmind Of AlphaCode By first 54% Testing among human coders has made headlines .GitHub Of Copilot Can you keep up AlphaCode Automatic programming of ?
A study conducted at Cambridge University shows that , Developers spend most of their time debugging . This time-consuming task costs the software industry about per year 3000 Billion dollars .Deepmind The latest AI based code development and analysis tools reduce such costs by automating the day-to-day and time-consuming tasks of developers .
With the suggested code GitHub Copilot comparison ,AlphaCode Be able to analyze algorithms and generate competitive and complex programs , Not only are there no mistakes , And corresponding to its description .
DeepMind Of developers tested on competitive programming sites AlphaCode The potential to test it , On these sites , Human developers encounter programming problems and rank them according to their results .
1. AlphaCode—— Independent programmer
AlphaCode It's based on Transformer The language model of , from 414 A hundred million parameters . It's a language model , Its size is GitHub Copilot The language model of Codex Four times the size of , Can only parse 120 One hundred million parameters .AlphaCode The architecture of is based on three parts :
- data —— AI tools are provided by public GitHub The repository provides data .
- Study —— Then the tool trains the data set , And calibrate it according to the task requirements ( for example ,Codeforces Competitive programming ).
3. Sampling and evaluation —— ad locum , AI tools conduct large-scale sampling of program changes for each problem . Then through the filtering and clustering process , Arrange the programs into 10 A subset of solutions , Submit to external evaluation .
chart :AlphaCode Work flow chart source :deepmind.com
AlphaCode Of AI The system uses a variety of programming languages for pre training , Include C++、C#、Go、Java、JavaScript、Lua、PHP、TypeScript、Ruby、Scala、Rust and Python. The dataset contains about 715GB Code and its description .
2. AlphaCode Stand the test
AI tools participated in Codeforces Competitive coding competition on , This is a popular platform for holding coding competitions . The platform shares questions every week , And with the help of an algorithm to rank the participants , The algorithm is similar to that used to rank players Elo The rating system is similar .AlphaCode I chose 10 There are different testing problems from different development stages . Artificial intelligence tools estimate the top rank among the participants in the competition 54%, To show AlphaCode Our code generation system has achieved success in the competitive level .AlphaCode The ability to generate code is given below Codeforces It is proved in the example of one of the problems :
chart : AlphaCode face The problem is , Find out the possibility of converting one phrase to another by pressing the backspace key instead of writing .
chart :AlphaCode Generated after reading the problem logic and generating the expected code Solution .
Codeforces The founder of Mike Mirzayanov Expressed his surprise , He said :“ I'm skeptical , Because even in simple competition problems , Usually not only the algorithm needs to be implemented , and ( This is the most difficult part ) Invent it . AlphaCode Successfully reached the level of a promising new competitor .” Mike Add further :“ I can say for sure AlphaCode The results exceeded my expectations .”
4. GPT-3 framework
It's actually Transformer Of Decoder
GPT-3 It was used 1750 100 million parameter training
4. GitHub Copilot Architecture and performance
GitHub Copilot Is in GPT-3 Built on the shoulders of Codex, Increase pair Coding Of NLP
Codex framework
Codex Is far more accurate than GPT-3
OpenAI Of AI Code suggestion tool GitHub Copilot In natural language processing (NLP) Model Codex Up operation , The model is GPT-3 Enhanced version of . Although it is built to implement and AlphaCode Similar goals , but Copilot It seems that the road ahead is difficult . Here are some differences between the two code generation tools .
- Training ——GitHub Copilot Of AI Codex Trained to recognize 120 One hundred million parameters , and AlphaCode Based on the AI The code generation model uses 400 100 million parameters for training . This will AlphaCode Four times the performance of .
- Suggestions and generation : although GitHub Copilot Designed to help programmers write basic code parts , but AlphaCode Able to generate complete complex programs .
- complexity —— Although these two AI Tools are in the early stages of development , but GitHub Copilot It is recommended to use the basic code of simple logic , and AlphaCode Tested to produce competitive complex algorithms .
Reference resources
https://analyticsindiamag.com/copilot-vs-alphacode-the-race-for-coding-supremacy/
https://arxiv.org/pdf/1907.05774.pdf
https://arxiv.org/pdf/2111.08489.pdf
https://arxiv.org/pdf/2107.03374.pdf
边栏推荐
- 将Nagios监控信息存入MySQL
- 程序员女友给我做了一个疲劳驾驶检测
- 1-2 install and configure MySQL related software
- 1-14 express managed static resources
- 5G 在智慧医疗中的需求
- Notes [introduction to JUC package and future]
- Gartner focuses on low code development in China how UNIPRO practices "differentiation"
- Analysis of doctor Aifen's incident
- Pytorch quantitative practice (2)
- Uniapp rich text editor
猜你喜欢
Which direction should college students choose to find jobs after graduation?
Alibaba Kube eventer MySQL sink simple usage record
Development techniques - import files using easyexcel (simple example)
WinDbg debugging tool introduction
顺祝老吴的聚会
Jupyterbook clear console output
Error filesystemexception: /data/nodes/0/indices/gttxk-hntgkhacm-8n60jw/1/index/ es_ temp_ File: structure needs cleaning
机器学习适合女生学吗?
从PG15 XID64再次跳票说起
Introduction and example of template method mode
随机推荐
Alibaba Kube eventer MySQL sink simple usage record
B_ QuRT_ User_ Guide(34)
1-10 respond to client content according to different URLs
Coredns modifying upstream
Usbcan analyzer's supporting can and canfd comprehensive test software lkmaster software solves engineers' can bus test problems
1. Summary of wechat applet page Jump methods; 2. the navigateto stack does not jump to the tenth floor
Turn: win others' follow with practical actions
Graduation project
Pytorch quantitative perception training (qat) steps
About, Qianxin detects code vulnerabilities and XSS series solves them
Microservice link risk analysis
微服務鏈路風險分析
Study summary of dynamic routing between capsules
MFC interface library bcgcontrolbar v33.0 - desktop alarm window, grid control upgrade, etc
Error reporting: internal error XFS_ WANT_ CORRUPTED_ GOTO at line 1635 of file fs/xfs/libxfs/xfs_ alloc. c.
[career planning for Digital IC graduates] Chap.1 overview of IC industry chain and summary of representative enterprises
[backtracking] full arrangement leetcode46
win11更新后任务栏空白怎么办? win11更新后任务栏空白卡死的解决方法
How to upload binary pictures in uniapp
The Three Musketeers: One for All!