OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Ling V2

Ling V2 is InclusionAI’s open-source family of mixture-of-experts large language models, with checkpoints and repository guidance for generation, inference serving, evaluation and continued training.

Independent OpenViST project profile, based on linked sources.

Ling V2 — Choosing among chat, base and staged pretraining checkpoints for generation or research
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Ling V2 when you want model checkpoints and implementation guidance for experimenting with or building around an open MoE language model, rather than a hosted end-user assistant.

Who it is for

  • Developers building text-generation applications with an open language model.
  • Researchers evaluating MoE behavior, reasoning outputs or pretraining checkpoints.
  • Teams seeking a model they can continue training or fine-tune using the Ling framework.

Documented uses

  • Generate text from chat prompts using Ling-mini-2.0 and Transformers.
  • Run offline inference or serve model requests using documented vLLM and SGLang workflows.
  • Compare model outputs in evaluation projects.
  • Continue pretraining or fine-tune Ling-mini-2.0 using the repository's training framework.
Before you choose

Requirements & limits

The repository is public and identifies the project as open source under the MIT license. Model downloads are linked through Hugging Face and ModelScope.

  • The model family includes several checkpoint stages; the four listed 5T–20T base checkpoints have 4K context, while the main base and chat models list 32K to 128K with YaRN.
  • The README documents Transformers usage and serving paths, but SGLang setup requires pinned package versions and a repository patch.
  • The vLLM notes describe a deployment configuration and a YaRN configuration change for long context; the README also notes vLLM community submission was pending at that stage.
  • Ling's repository includes a training framework for pretraining and fine-tuning, in addition to released checkpoints.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Generate a response with Ling-mini-2.0 and Transformers

Load the chat checkpoint, format a prompt with its chat template and generate a text response.

Before you start

  • Python environment with Hugging Face Transformers and PyTorch installed.
  • Access to the inclusionAI/Ling-mini-2.0 checkpoint and its tokenizer.
  • A device and memory configuration able to load the model; the README does not specify hardware requirements for this Transformers example.

Steps

  1. Load AutoModelForCausalLM and AutoTokenizer from Transformers using inclusionAI/Ling-mini-2.0.

  2. Create system and user messages, then format them with tokenizer.apply_chat_template using add_generation_prompt=True.

  3. Tokenize the formatted text, move the inputs to the model device and call model.generate with a chosen max_new_tokens value.

  4. Remove the input tokens from the generated sequence and decode the response.

Expected outcome

A generated text response from the Ling-mini-2.0 chat model.

Guide limitations

  • The repository example uses trust_remote_code=True.
  • The example does not specify a hardware requirement or provide a deployment configuration.
Source-based practical guide

Prepare an SGLang server for Ling inference

Set up the repository's documented SGLang environment and start an inference server for a local model path.

Before you start

  • An installed SGLang environment or the documented Docker image.
  • The Ling model files at a local path.
  • The repository's inference/sglang/bailing_moe_v2.patch file and the patch utility.

Steps

  1. Install sglang==0.5.2rc0 and sgl-kernel==0.3.7.post1, or pull the documented lmsysorg/sglang:v0.5.2rc0-cu126 Docker image.

  2. Apply the repository patch to the installed SGLang package as shown in the README.

  3. Start the server with python -m sglang.launch_server, specifying the model path, host, port, trust-remote-code option and fa3 attention backend.

  4. Send a chat completion request to the documented local /v1/chat/completions endpoint.

Expected outcome

A running SGLang inference server with a documented chat-request example.

Guide limitations

  • The repository describes this as preparation before official SGLang release support and requires a patch.
  • BF16 and FP8 model formats are listed as supported; MTP is noted for base models but not yet for chat models.
COMPARE OPTIONS

Compare options for Model inference and serving

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
Ling V2Generate text from chat prompts using Ling-mini-2.0 and Transformers.The repository is public and identifies the project as open source under the MIT license. Model downloads are linked through Hugging Face and ModelScope.
EsanetGenerate semantic labels from paired color and depth images.LinuxThe public repository states that its source code is licensed under Apache 2.0.
YOLO2 LightCompile a YOLO object detector for CPU or CUDA GPU execution.Windows, LinuxThe repository is public and identifies the MIT license.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
21 November 2026
Original website title
inclusionAI/Ling-V2 · Official homepage title · retained in its source language