Chat LLMOpen weights
CodeGPT-small-java-adaptedGPT2
by Microsoft · Mar 2, 2022
CodeGPT-small-java-adaptedGPT2 is an open-weight chat llm from Microsoft, released Mar 2, 2022.
- Provider
- Microsoft
- Released
- Mar 2, 2022
- Type
- Chat LLM
- Parameters
- Undisclosed
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- —
- Knowledge cutoff
- —
- Status
- Open weights
- HF downloads (30d)
- 9.1K
How to run CodeGPT-small-java-adaptedGPT2
CodeGPT-small-java-adaptedGPT2 is an open-weight model published on Hugging Face as microsoft/CodeGPT-small-java-adaptedGPT2. 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.
CodeGPT-small-java-adaptedGPT2 vs alternatives
- CodeGPT-small-java-adaptedGPT2 vs opt-125m
- CodeGPT-small-java-adaptedGPT2 vs OPT-350M
- CodeGPT-small-java-adaptedGPT2 vs reformer-crime-and-punishment
- CodeGPT-small-java-adaptedGPT2 vs reformer-enwik8
- CodeGPT-small-java-adaptedGPT2 vs bloomz-560m
- CodeGPT-small-java-adaptedGPT2 vs BLOOM-560M
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| opt-125mopen | Meta | May 2022 | — | — | — | — | — |
| OPT-350Mopen | Meta | Jun 2022 | 350M | — | — | — | — |
| reformer-crime-and-punishmentopen | Google DeepMind | Mar 2022 | — | — | — | — | — |
| reformer-enwik8open | Google DeepMind | Mar 2022 | — | — | — | — | — |
| bloomz-560mopen | BigScience | Oct 2022 | 559M | — | — | — | — |
| BLOOM-560Mopen | BigScience | Jul 2022 | 559M | — | — | — | — |
| GPT-NeoX-20Bopen | EleutherAI | Feb 2022 | 21B | — | — | — | — |
| codegen-350M-monoopen | Salesforce | Apr 2022 | — | — | — | — | — |
More models from Microsoft
All Microsoft models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Phi 4open | Dec 2024 | 15B | 16K | $0.07 | $0.14 |
| Phi-2open | Dec 2023 | 2.8B | — | — | — |
| Phi-1.5open | Sep 2023 | 1.4B | — | — | — |
| Phi 4 Miniopen | Feb 2025 | 3.8B | 8K | $0.17 | $0.68 |
| Florence-2-baseopen | Jun 2024 | 232M | — | — | — |
| harrier-oss-v1-0.6bopen | Mar 2026 | 596M | — | — | — |
| harrier-oss-v1-270mopen | Mar 2026 | 268M | — | — | — |
| Phi-4-reasoning-vision-15Bopen | Jan 2026 | 15B | — | — | — |
Frequently asked questions
Who made CodeGPT-small-java-adaptedGPT2?
CodeGPT-small-java-adaptedGPT2 was developed by Microsoft (United States). It was released on Mar 2, 2022.
Is CodeGPT-small-java-adaptedGPT2 open source?
Yes. CodeGPT-small-java-adaptedGPT2's weights are publicly available on Hugging Face (microsoft/CodeGPT-small-java-adaptedGPT2), so you can download and run it yourself.
Sources: huggingface · huggingface. Last updated 2026-11-22.