Skip to content
llmmodels
Code modelOpen weightsHistorical

PolyCoder

by Carnegie Mellon University (CMU) · Feb 26, 2022

PolyCoder is an open-weight code model from Carnegie Mellon University (CMU), released Feb 26, 2022. It has 2.7B parameters.

Released
Feb 26, 2022
Type
Code model
Parameters
2.7B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (permissive)
Knowledge cutoff
—
Status
Historical
Training compute
1.1e+21 FLOP
Training data
39.3B tokens/words

About PolyCoder

Large language models (LMs) of code have recently shown tremendous promise in completing code and synthesizing code from natural language descriptions. However, the current state-of-the-art code LMs (e.g., Codex (Chen et al., 2021)) are not publicly available, leaving many questions about their model and data design decisions. We aim to fill in some of these blanks through a systematic evaluation of the largest existing models: Codex, GPT-J, GPT-Neo, GPT-NeoX-20B, and CodeParrot, across various programming languages.

How to run PolyCoder

PolyCoder is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 2.7B parameters it needs roughly 2 GB of memory at 4-bit quantization.

PolyCoder vs alternatives

Alternatives to PolyCoder
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Phi-2openMicrosoftDec 20232.8B———96.2
BTLM-3BopenCerebrasSep 20232.6B————
CodeT5-largeopenSalesforceJul 2022770M————
CodeWhispererAmazonJun 2022—————
DeepSeek Coder 6.7BopenDeepSeekNov 20236.7B———67.5
DeepSeek Coder 1.3BopenDeepSeekNov 20231.3B————
LLaMA-7BopenMetaFeb 20236.7B———77.3
Phi-1openMicrosoftOct 20231.4B————

More models from Carnegie Mellon University (CMU)

All Carnegie Mellon University (CMU) models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Mamba-2.8BopenDec 20232.8B———
DEQ-Transformer (Post-LN) + Jacobian RegularisationopenJun 202198M———
DEQ-Transformer (Medium, Adaptive Embedding)openSep 2019110M———
TrellisNetOct 2018180M———
TrellisNet-MoS (1.4x larger) PTBopenOct 201834M———
AWD-LSTM-MoS + dynamic evaluation (WT2, 2017)Nov 201735M———
PhraseCondOct 2017————
Named Entity Recognition modelMar 2016————

Frequently asked questions

Who made PolyCoder?

PolyCoder was developed by Carnegie Mellon University (CMU) (United States of America). It was released on Feb 26, 2022.

Is PolyCoder open source?

Yes. PolyCoder's weights are publicly available, so you can download and run it yourself.

How many parameters does PolyCoder have?

PolyCoder has 2.7B parameters.

Sources: epoch · paper. Last updated 2026-11-22.