StableLM-v2-1.6B is an autoregressive language model based on the Transformer decoder architecture, developed by Stability AI. The model type is Stable LM 2 1.6B, with 1.6 billion parameters, pretrained for two epochs on a 2 trillion token diverse multilingual and code dataset.
Key capabilities: This model is a base language model that can be used for text generation. Its architecture is similar to LLaMA but with several modifications: positional embeddings use Rotary Position Embedding (RoPE), applied only to the first 25% of head embedding dimensions to improve throughput; normalization uses LayerNorm with a learned bias term instead of RMSNorm; all bias terms are removed from the feedforward network and multi-head self-attention layers, except for the biases of the query, key, and value projections; the tokenizer uses Arcade100k, a BPE tokenizer extended from OpenAI's tiktoken.cl100k_base, and splits numbers into individual tokens.
Usage: Users can download the model files from Hugging Face and run them. Official code snippets are provided for text generation, and running with Flash Attention 2 is supported. The model library is GPT-NeoX.
Applicable scenarios: This model is designed as a base model for fine-tuning for specific applications. Since the training data contains a large amount of web data, it is recommended to fine-tune the base model for downstream tasks. Developers must evaluate and fine-tune the model to ensure the safety performance of downstream applications.
Limitations: As a base model, it may exhibit unreliable, unsafe, or other undesirable behaviors and must be corrected through evaluation and fine-tuning before deployment. The pretraining dataset may contain offensive or inappropriate content, which, even after data cleaning and filtering, may be reflected in the text generated by the model. Users are advised to use it with caution in production systems. The model language is English. The license is the Stability AI Community License, and commercial use requires reference to https://stability.ai/license。