Yi-1.5 is an upgraded version of the Yi series models, open-sourced by 01-ai. Its core improvements are: building on Yi, it uses 500B tokens of high-quality corpus for continuous pre-training and 3 million diverse fine-tuning samples for fine-tuning, thereby achieving stronger performance in coding, math, reasoning, and instruction-following capabilities while maintaining excellent abilities in language understanding, commonsense reasoning, and reading comprehension.
Key capabilities:
- Offers three parameter sizes: 34B, 9B, and 6B, meeting different deployment needs.
- Shows significant improvement over Yi on coding, math, reasoning, and instruction-following tasks.
- Maintains excellent language understanding, commonsense reasoning, and reading comprehension abilities.
Usage:
- Environment requirements: Python 3.10 or higher.
- Install dependencies: pip install -r requirements.txt.
- Model download: Yi-1.5 models can be obtained from Hugging Face, ModelScope, or WiseModel.
- Local running: Can be run via Ollama; after installing Ollama, start the service (ollama serve), then execute ollama run yi:1.5. You can also interact with Ollama via an OpenAI-compatible API.
- Service deployment: You can use vLLM to start an OpenAI-compatible API server, for example python -m vllm.entrypoints.openai.api_server --model 01-ai/Yi-1.5-9B-Chat --served-model-name Yi-1.5-9B-Chat, then call it via HTTP or a Python client.
- Online experience: You can experience Yi-1.5-34B-Chat via the Hugging Face Chat UI, or set it up locally yourself.
- Fine-tuning: Supports fine-tuning Yi series models using frameworks such as LLaMA-Factory, Swift, XTuner, and Firefly.
- API service: The Yi API is compatible with OpenAI; you can register on the Yi Platform to get free tokens, and pay-as-you-go is also supported; it is also deployed on Replicate and OpenRouter.
Applicable scenarios:
- Need local deploymentDevelopers of open-source large language models.
- Applications requiring coding, math, reasoning, and instruction-following capabilities.
- Research or enterprise scenarios requiring fine-tuned custom models.
- Projects requiring integration of model services via an OpenAI-compatible API.
Limitations:
- For specific hardware requirements, please refer to the software and hardware requirements section in the official documentation.
- For model performance and benchmark details, please refer to the Model Card.
- For billing methods and prices, please refer to the official platform; this introduction does not provide specific pricing information.
License: Code and weights are distributed under the Apache 2.0 license. When creating derivative works based on this model, the specified attribution must be included in the derivative works.