.. _models_llm_yi-200k:

========================================
Yi-200k
========================================

- **Context Length:** 262144
- **Model Name:** Yi-200k
- **Languages:** en, zh
- **Abilities:** generate
- **Description:** The Yi series models are large language models trained from scratch by developers at 01.AI.

Specifications
^^^^^^^^^^^^^^


Model Spec 1 (pytorch, 6 Billion)
++++++++++++++++++++++++++++++++++++++++

- **Model Format:** pytorch
- **Model Size (in billions):** 6
- **Quantizations:** 4-bit, 8-bit, none
- **Engines**: Transformers
- **Model ID:** 01-ai/Yi-6B-200K
- **Model Hubs**:  `Hugging Face <https://huggingface.co/01-ai/Yi-6B-200K>`__, `ModelScope <https://modelscope.cn/models/01ai/Yi-6B-200K>`__

Execute the following command to launch the model, remember to replace ``${quantization}`` with your
chosen quantization method from the options listed above::

   xinference launch --model-engine ${engine} --model-name Yi-200k --size-in-billions 6 --model-format pytorch --quantization ${quantization}


Model Spec 2 (pytorch, 34 Billion)
++++++++++++++++++++++++++++++++++++++++

- **Model Format:** pytorch
- **Model Size (in billions):** 34
- **Quantizations:** 4-bit, 8-bit, none
- **Engines**: Transformers
- **Model ID:** 01-ai/Yi-34B-200K
- **Model Hubs**:  `Hugging Face <https://huggingface.co/01-ai/Yi-34B-200K>`__, `ModelScope <https://modelscope.cn/models/01ai/Yi-34B-200K>`__

Execute the following command to launch the model, remember to replace ``${quantization}`` with your
chosen quantization method from the options listed above::

   xinference launch --model-engine ${engine} --model-name Yi-200k --size-in-billions 34 --model-format pytorch --quantization ${quantization}

