当前位置:网站首页>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
边栏推荐
- Installing jupyter notebook under Anaconda
- 1-11 create online file service
- 1-1 数据库的基本概念
- 机器学习适合女生学吗?
- Is Wu Enda's machine learning suitable for entry?
- 腾讯3年,功能测试进阶自动化测试,送给在手工测试中迷茫的你
- MFC interface library bcgcontrolbar v33.0 - desktop alarm window, grid control upgrade, etc
- 《Dynamic Routing Between Capsules》论文学习总结
- 与AI结对编程式是什么体验 Copilot vs AlphaCode, Codex, GPT-3
- B_ QuRT_ User_ Guide(32)
猜你喜欢

Uniapp rich text editor

从PG15 XID64再次跳票说起

1-2 install and configure MySQL related software

机器学习中如何使用数据集?

Is Wu Enda's machine learning suitable for entry?

JVM Part 21 of interview with big companies Q & A

模板方法模式介绍与示例

Win11电脑名如何更改?Win11更改电脑名的方法

About, Qianxin detects code vulnerabilities and XSS series solves them

B_ QuRT_ User_ Guide(31)
随机推荐
ML&DL:機器學習和深度學習中超參數優化的簡介、評估指標、過擬合現象、常用的調參優化方法之詳細攻略
1-21 jsonp interface
1-17 express Middleware
Which direction should college students choose to find jobs after graduation?
Summary of interesting websites
十个最为戳心测试/开程序员笑话,念茫茫人海,该如何寻觅?
将Nagios监控信息存入MySQL
Gartner focuses on low code development in China how UNIPRO practices "differentiation"
从PG15 XID64再次跳票说起
How to upload binary pictures in uniapp
Turn: win others' follow with practical actions
Is machine learning suitable for girls?
B_ QuRT_ User_ Guide(34)
vncserver: Failed command ‘/etc/X11/Xvnc-session‘: 256!
Introduction and example of template method mode
请问,启牛证券开户,可以开户吗?安全吗?你想要的答案全在这里
Develop technology - get time 10 minutes ago
电脑版微信文件存储在哪个文件夹可以找到
Jupyterbook clear console output
Is it difficult to get a certified equipment supervisor? What is the relationship with the supervising engineer?