当前位置:网站首页>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
边栏推荐
- Bloom filter
- 1-11 create online file service
- B_ QuRT_ User_ Guide(34)
- I want to know who I need to know to open a stock account? In addition, is it safe to open a mobile account?
- JD and Tencent renewed the three-year strategic cooperation agreement; The starting salary rose to 260000 yuan, and Samsung sk of South Korea scrambled for a raise to retain semiconductor talents; Fir
- Jupyter notebook/lab switch CONDA environment
- Pytorch quantitative practice (2)
- PyTorch量化实践(2)
- Error filesystemexception: /data/nodes/0/indices/gttxk-hntgkhacm-8n60jw/1/index/ es_ temp_ File: structure needs cleaning
- Go Web 编程入门: 一探优秀测试库 GoConvey
猜你喜欢

On several key issues of digital transformation

十个最为戳心测试/开程序员笑话,念茫茫人海,该如何寻觅?

WinDbg debugging tool introduction

牛逼|珍藏多年的工具让我实现了带薪摸鱼自由

Graduation project

腾讯3年,功能测试进阶自动化测试,送给在手工测试中迷茫的你

Anaconda下安装Jupyter notebook

About, Qianxin detects code vulnerabilities and XSS series solves them

机器学习工作要求研究生吗?

How to realize the center progress bar in wechat applet
随机推荐
5G 在智慧医疗中的需求
Turn: win others' follow with practical actions
[micro service ~nacos] configuration center of Nacos
部门新来了个阿里25K出来的,让我见识到了什么是天花板
【BSP视频教程】BSP视频教程第19期:单片机BootLoader的AES加密实战,含上位机和下位机代码全开源(2022-06-26)
国产数据库乱象
Starting from pg15 xid64 ticket skipping again
Ml & DL: Introduction à l’optimisation des hyperparamètres, indice d’évaluation, phénomène de surajustement et introduction détaillée aux méthodes d’optimisation des paramètres couramment utilisées da
Anti leakage family photo in attack and defense drill
1-14 express managed static resources
A comprehensive understanding of gout: symptoms, risk factors, pathogenesis and management
Look at the top 10 capabilities of alicloud cipu
【回溯】全排列 II leetcode47
Deployment and use of Nacos
HDFS集中式缓存管理(Centralized Cache Management)
Pytorch quantitative practice (2)
[untitled] first time to participate in CSDN activities
Introduction and example of template method mode
Win11如何优化服务?Win11优化服务的方法
腾讯3年,功能测试进阶自动化测试,送给在手工测试中迷茫的你