SuperAPIAI Directory

2048

huggingface.co · AI coding

DeciCoder 1B is a 1-billion-parameter decoder code completion model developed by Deci, based on the 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 license is Apache 2.0, and it is suitable for single-line or multi-line code completion, but it is not an instruction model and is not suitable for directly executing natural language instructions.

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 natural language instructions such as "write a function that calculates the absolute value of an integer" will not produce the expected results. A more effective approach is to phrase the instruction in the style of a source code comment (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, and was trained on the corresponding subsets of the StarCoder training dataset. Architecturally, it employs Grouped Query Attention and Rotary Position Embeddings, and uses the Fill-in-the-Middle training objective. The model 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: Users can download the model files on Hugging Face and run them. The model card does not provide specific installation commands or code examples. Training details include: 9000 warmup steps, 284k total training steps, 446B total tokens, global batch size 768, optimizer AdamW (beta1=0.9, beta2=0.95), weight decay 0.1, learning rate 4e-4, and a cosine learning rate schedule. Deci also provides the Infery-LLM optimization and inference SDK, which includes techniques such as selective quantization, optimized beam search, continuous batching, and custom CUDA kernels, but a demo must be booked to learn about the full functionality.

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 does notguarantee that the generated code will run as expected and may be suboptimal, contain errors, or even vulnerabilities. The model was primarily trained on English source code, but also contains other languages. The model is not an instruction model and is not suitable for directly responding to natural language instructions. The model card does not provide information such as pricing, platform support, or specific usage steps.

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