SuperAPI AI Directory

Skywork-13B-Base

Skywork-13B-Base is a 13B-parameter open-source foundation language model pretrained on 3.2 trillion high-quality Chinese, English, and code data. It supports text generation, performs excellently in multiple evaluations, and supports commercial use.

Open website

About this tool

Skywork-13B-Base is a foundation model for text generation, with model parameters, configuration files, and tokenizer open-sourced on Hugging Face and ModelScope. The model was pretrained on 3.2 trillion multilingual (mainly Chinese and English) and code data that underwent high-quality cleaning and filtering, of which English accounts for 52.2%, Chinese accounts for 39.6%, and code accounts for 8%. The model adopts a relatively slender network structure with 52 layers; FFN Dim and Hidden Dim are 12288 and 4608, respectively, and the parameter count is comparable to Llama-2-13B. Tokenization uses BPE with a vocabulary size of 65536.

Main capabilities: The model demonstrates the best results among models of the same scale on various evaluations and benchmarks, and ranks among the top in Chinese open-source models. The evaluation includes domain data perplexity evaluation and Benchmark evaluation (C-Eval, MMLU, CMMLU, GSM8K), among which C-Eval, MMLU, and CMMLU test 5-shot results, and GSM8K tests 8-shot results.

Usage: Users can download the model parameters, configuration files, and tokenizer from Hugging Face or ModelScope. The runtime environment requires Python 3.8 or above and Pytorch 2.0 or above; CUDA 11.4 or above is recommended. The model supports inference and fine-tuning, including full fine-tuning (pretraining fine-tuning, supervised fine-tuning SFT) and pretraining fine-tuning and supervised fine-tuning using LoRA.

Applicable scenarios: Suitable for text generation, Chinese and English natural language processing tasks, code-related tasks, and use as a foundation model for domain fine-tuning.

Limitations: The model is a Base model and has not been aligned for dialogue. Use must comply with the "Skywork Model Community License Agreement"; commercial use is supported but the terms must be strictly followed. It must not be used for activities that endanger national or social security or are illegal, and must not be used for internet services without appropriate security review and filing. The complexity of the model and data may lead to unforeseeable problems, and the risk of use is borne by the user.