SuperAPIAI Directory

DeciCoder-1B

huggingface.co · AI coding

DeciCoder-1B is a 1-billion-parameter decoder code completion model developed by Deci, based on a Transformer decoder architecture, employing Grouped Query Attention and Rotary Position Embeddings, with a context window of 2048 tokens. The model was trained on the Python, Java, and JavaScript subsets of the StarCoder training dataset, using the Fill-in-the-Middle training objective, and its architecture was generated by Deci's proprietary neural architecture search-based technology AutoNAC. The model is released under the Apache 2.0 license and is suitable for single-line or multi-line code completion, rather than being an instruction-following model.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsWeb · API

About this tool

DeciCoder-1B is a 1-billion-parameter decoder-only code completion model developed by Deci. Its model checkpoint is released under the Apache 2.0 license.

Usage: The model is designed for single-line or multi-line code completion based on a context window of up to 2048 tokens. It is not an instruction model, so commands like "write a function that calculates the absolute value of an integer" will not produce the expected results. A more effective approach is to frame instructions in the style of source code comments (e.g., # this function calculates the absolute value of an integer), or to provide a function signature and docstring and let the model complete the function body.

Key capabilities: The model supports three programming languages: Python, Java, and JavaScript. Architecturally, it employs Grouped Query Attention and Rotary Position Embeddings, with a context window of 2048 tokens. The model was trained using the Fill-in-the-Middle training objective, and its architecture was generated by Deci's proprietary neural architecture search-based technology AutoNAC. According to self-reported MultiPL HumanEval evaluation results, the pass@1 scores are: Python 0.191, JavaScript 0.184, Java 0.166.

How to use: The model is hosted on Hugging Face, and the page provides download, file browsing, and running functionality. Specific installation commands and code examples are not currently provided. The model can be deployed via Deci's optimization and inference SDK Infery-LLM, which includes optimization techniques such as selective quantization, optimized beam search, continuous batching, and custom CUDA kernels, but a demo must be scheduled to learn about its full capabilities.

Applicable scenarios: Suitable for code completion tasks in Python, Java, and JavaScript, for example completing code snippets in an IDE based on context or comments.

Limitations: The model is trained only on Python, Java, and JavaScript and does not support other programming languages. It is not an instruction model and is not suitable for being driven directly by natural language commands. The code generated by the model is not guaranteed to run as intended and may be suboptimal, contain errors, or even vulnerabilities. The training data mainly containsEnglish, but also includes other languages.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools