SuperAPIAI Directory

deepseek-LLM

github.com · AI developer platforms

DeepSeek LLM is an open-source large language model series from DeepSeek, including Base and Chat versions with 7B and 67B parameters. The models are trained from scratch on 2 trillion Chinese and English tokens, using the same autoregressive Transformer decoder architecture as LLaMA (7B uses multi-head attention, 67B uses grouped-query attention). Official evaluations show that 67B Base outperforms Llama2 70B Base on reasoning, programming, mathematics, and Chinese understanding; 67B Chat achieves Pass@1 of 73.78 on HumanEval, 84.1 zero-shot on GSM8K, 32.6 zero-shot on Math, and surpasses GPT-3.5 in Chinese capabilities. The project open-sources the code under the MIT license, and the models support commercial use. Users can perform inference via Hugging Face Transformers or vLLM, and can also download intermediate checkpoints for research.

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

About this tool

DeepSeek LLM is an open-source large language model series designed to provide advanced Chinese and English language models for the research community and commercial applications. The series includes two parameter scales, 7B and 67B, each offering Base and Chat versions. The models are trained from scratch using a 2 trillion token dataset comprising internet text, mathematics, code, books, and self-collected data, and have undergone rigorous data cleaning, deduplication, and privacy protection processing.

In terms of main capabilities, DeepSeek LLM 67B Base outperforms Llama2 70B Base on tasks such as reasoning, programming, mathematics, and Chinese understanding. The 67B Chat version performs prominently on programming (HumanEval Pass@1: 73.78) and mathematics (GSM8K zero-shot: 84.1, Math zero-shot: 32.6) benchmarks, and scored 65 on the Hungarian national high school exam, demonstrating strong generalization ability. In Chinese capability evaluations, 67B Chat surpasses GPT-3.5.

In terms of usage, users can directly load the models via Hugging Face Transformers for text completion or chat completion, and can also use vLLM for high-throughput inference. The project provides detailed quick start guides and example code. Regarding model quantization, because DeepSeek LLM uses the Hugging Face Tokenizer to implement the byte-level BPE algorithm, it currently cannot be directly converted to a SentencePiece tokenizer, but the community has submitted PRs supporting related quantization methods, and users can also refer to updates in llama.cpp or exllamav2.

Applicable scenarios include academic research, commercial application development, Chinese and English natural language processing tasks, code generation, mathematical reasoning, and more. The models support commercial use but must comply with the model license terms.

In terms of limitations, the models may inherit biases from the training data and produce biased or discriminatory outputs; they may generate plausible-sounding but factually incorrect content (hallucinations); and they may also exhibit repetitive generation issues. In addition, inference for the 67B model requires 8 NVIDIA A100-PCIE-40GB GPUs, while the 7B model requires 1, placing certain demands on hardware.

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