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.
- Provider
- Carnegie Mellon University (CMU)
- 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
- PolyCoder vs Phi-2
- PolyCoder vs BTLM-3B
- PolyCoder vs CodeT5-large
- PolyCoder vs CodeWhisperer
- PolyCoder vs DeepSeek Coder 6.7B
- PolyCoder vs DeepSeek Coder 1.3B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Phi-2open | Microsoft | Dec 2023 | 2.8B | — | — | — | 96.2 |
| BTLM-3Bopen | Cerebras | Sep 2023 | 2.6B | — | — | — | — |
| CodeT5-largeopen | Salesforce | Jul 2022 | 770M | — | — | — | — |
| CodeWhisperer | Amazon | Jun 2022 | — | — | — | — | — |
| DeepSeek Coder 6.7Bopen | DeepSeek | Nov 2023 | 6.7B | — | — | — | 67.5 |
| DeepSeek Coder 1.3Bopen | DeepSeek | Nov 2023 | 1.3B | — | — | — | — |
| LLaMA-7Bopen | Meta | Feb 2023 | 6.7B | — | — | — | 77.3 |
| Phi-1open | Microsoft | Oct 2023 | 1.4B | — | — | — | — |
More models from Carnegie Mellon University (CMU)
All Carnegie Mellon University (CMU) models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Mamba-2.8Bopen | Dec 2023 | 2.8B | — | — | — |
| DEQ-Transformer (Post-LN) + Jacobian Regularisationopen | Jun 2021 | 98M | — | — | — |
| DEQ-Transformer (Medium, Adaptive Embedding)open | Sep 2019 | 110M | — | — | — |
| TrellisNet | Oct 2018 | 180M | — | — | — |
| TrellisNet-MoS (1.4x larger) PTBopen | Oct 2018 | 34M | — | — | — |
| AWD-LSTM-MoS + dynamic evaluation (WT2, 2017) | Nov 2017 | 35M | — | — | — |
| PhraseCond | Oct 2017 | — | — | — | — |
| Named Entity Recognition model | Mar 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.