Model Details of stablecode-completion-alpha-3b-4k
StableCode-Completion-Alpha-3B-4K
Model Description
StableCode-Completion-Alpha-3B-4K
is a 3 billion parameter decoder-only code completion model pre-trained on diverse set of programming languages that topped the stackoverflow developer survey.
Usage
The model is intended to do single/multiline code completion from a long context window upto 4k tokens.
Get started generating code with
StableCode-Completion-Alpha-3B-4k
by using the following code snippet:
License
: Model checkpoints are licensed under the
Apache 2.0
license.
Contact
: For questions and comments about the model, please email
[email protected]
Model Architecture
Parameters
Hidden Size
Layers
Heads
Sequence Length
2,796,431,360
2560
32
32
4096
Decoder Layer
: Parallel Attention and MLP residuals with a single input LayerNorm (
Wang & Komatsuzaki, 2021
)
Position Embeddings
: Rotary Position Embeddings (
Su et al., 2021
)
Bias
: LayerNorm bias terms only
Training
StableCode-Completion-Alpha-3B-4k
is pre-trained at a context length of 4096 for 300 billion tokens on the
bigcode/starcoder-data
.
Training Dataset
The first pre-training stage relies on 300B tokens sourced from various top programming languages occuring in the stackoverflow developer survey present in the
starcoder-data
dataset.
Training Procedure
The model is pre-trained on the dataset mixes mentioned above in mixed-precision BF16), optimized with AdamW, and trained using the
StarCoder
tokenizer with a vocabulary size of 49k.
Software
: We use a fork of gpt-neox (
EleutherAI, 2021
) and train under 2D parallelism (Data and Tensor Parallel) with ZeRO-1 (
Rajbhandari et al., 2019
) and rely on flash-attention as well as rotary embedding kernels from FlashAttention-2 (
Dao et al., 2023
)
This model is intended to be used responsibly. It is not intended to be used to create unlawful content of any kind, to further any unlawful activity, or to engage in activities with a high risk of physical or economic harm.
How to cite
@misc{StableCodeCompleteAlpha4K,
url={[https://huggingface.co/stabilityai/stablecode-complete-alpha-3b-4k](https://huggingface.co/stabilityai/stablecode-complete-alpha-3b-4k)},
title={Stable Code Complete Alpha},
author={Adithyan, Reshinth and Phung, Duy and Cooper, Nathan and Pinnaparaju, Nikhil and Laforte, Christian}
}
Runs of stabilityai stablecode-completion-alpha-3b-4k on huggingface.co
1.3K
Total runs
51
24-hour runs
172
3-day runs
357
7-day runs
156
30-day runs
More Information About stablecode-completion-alpha-3b-4k huggingface.co Model
More stablecode-completion-alpha-3b-4k license Visit here:
stablecode-completion-alpha-3b-4k huggingface.co is an AI model on huggingface.co that provides stablecode-completion-alpha-3b-4k's model effect (), which can be used instantly with this stabilityai stablecode-completion-alpha-3b-4k model. huggingface.co supports a free trial of the stablecode-completion-alpha-3b-4k model, and also provides paid use of the stablecode-completion-alpha-3b-4k. Support call stablecode-completion-alpha-3b-4k model through api, including Node.js, Python, http.
stablecode-completion-alpha-3b-4k huggingface.co is an online trial and call api platform, which integrates stablecode-completion-alpha-3b-4k's modeling effects, including api services, and provides a free online trial of stablecode-completion-alpha-3b-4k, you can try stablecode-completion-alpha-3b-4k online for free by clicking the link below.
stabilityai stablecode-completion-alpha-3b-4k online free url in huggingface.co:
stablecode-completion-alpha-3b-4k is an open source model from GitHub that offers a free installation service, and any user can find stablecode-completion-alpha-3b-4k on GitHub to install. At the same time, huggingface.co provides the effect of stablecode-completion-alpha-3b-4k install, users can directly use stablecode-completion-alpha-3b-4k installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
stablecode-completion-alpha-3b-4k install url in huggingface.co: