/ Модель

Характеристики

Контекст
32 768 токенов
Параметры
1,8 млрд
Лицензия
MIT
Архитектура
llama · dense
Библиотека
transformers
Опубликована
3 июл 2025

Midm-2.0-Mini-Instruct

Генерация текстаТекст → текст6 профессий

Компактная корейско-английская диалоговая Llama-модель KT для генерации текста, локального развёртывания и вызова инструментов.

23 404скачиваний за 30 дней62лайкавеса обновлены29 окт 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Mi:dm 2.0 Mini Instruct — компактная плотная языковая модель семейства Llama, разработанная компанией KT с использованием собственной технологии. Модель создана для диалогового общения и генерации текста; версия Mini предназначена для локального и периферийного развертывания на устройствах и системах с ограниченными ресурсами. В карточке указано 1,8 млрд параметров, контекст — до 32 768 токенов, веса доступны в формате safetensors.

Модель ориентирована прежде всего на корейский язык и учитывает корейские нормы, ценности и культурный контекст; также обучалась на английских данных. Поддерживает интерфейс вызова инструментов, для которого в vLLM предусмотрен парсер Mi:dm. Лицензия — MIT.

Понимание и генерация на языках, кроме корейского и английского, не гарантированы. Ответы могут содержать фактические ошибки или неуместные выражения; модель не гарантирует надёжность профессиональных рекомендаций в медицине, праве и финансах.

Сценарии применения

  • диалоговый помощник на корейском языке
  • генерация и продолжение текста на корейском и английском
  • локальный чат на устройстве с ограниченными ресурсами
  • вызов инструментов через интерфейс vLLM
  • ответы с учётом корейского культурного контекста

Ограничения

Понимание и генерация на языках, кроме корейского и английского, не гарантированы. Возможны фактические ошибки и неуместные выражения; модель не гарантирует надёжность рекомендаций в медицине, праве и финансах.

Для каких профессий подходит6

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

News 📢

  • 🔧2025/10/29: Added support for function calling on vLLM with Mi:dm 2.0 parser.
  • 📕2025/08/08: Published a technical blog article about Mi:dm 2.0 Model.
  • ⚡️2025/07/04: Released Mi:dm 2.0 Model collection on Hugging Face🤗.

Overview

Mi:dm 2.0

Mi:dm 2.0 is a "Korea-centric AI" model developed using KT's proprietary technology. The term "Korea-centric AI" refers to a model that deeply internalizes the unique values, cognitive frameworks, and commonsense reasoning inherent to Korean society. It goes beyond simply processing or generating Korean text—it reflects a deeper understanding of the socio-cultural norms and values that define Korean society.

Mi:dm 2.0 is released in two versions:

  • Mi:dm 2.0 Base
    An 11.5B parameter dense model designed to balance model size and performance.
    It extends an 8B-scale model by applying the Depth-up Scaling (DuS) method, making it suitable for real-world applications that require both performance and versatility.

  • Mi:dm 2.0 Mini
    A lightweight 2.3B parameter dense model optimized for on-device environments and systems with limited GPU resources.
    It was derived from the Base model through pruning and distillation to enable compact deployment.

[!Note] Neither the pre-training nor the post-training data includes KT users' data.

Quickstart

Here is the code snippet to run conversational inference with the model:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig

model_name = "K-intelligence/Midm-2.0-Mini-Instruct"

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype=torch.bfloat16,
    trust_remote_code=True,
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
generation_config = GenerationConfig.from_pretrained(model_name)

prompt = "KT에 대해 소개해줘"

# message for inference
messages = [
    {"role": "system", 
     "content": "Mi:dm(믿:음)은 KT에서 개발한 AI 기반 어시스턴트이다."},
    {"role": "user", "content": prompt}
]

input_ids = tokenizer.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    return_tensors="pt"
)

output = model.generate(
    input_ids.to("cuda"),
    generation_config=generation_config,
    eos_token_id=tokenizer.eos_token_id,
    max_new_tokens=128,
    do_sample=False,
)
print(tokenizer.decode(output[0]))

[!NOTE] The transformers library should be version 4.45.0 or higher.

Evaluation

Korean

* indicates KT proprietary evaluation resources.

English

Usage

Run on Friendli.AI

You can try our model immediately via Friendli.AI. Simply click Deploy and then Friendli Endpoints.

[!Note] Please note that a login to Friendli.AI is required after your fifth chat interaction.

Run on Your Local Machine

We provide a detailed description about running Mi:dm 2.0 on your local machine using llama.cpp, LM Studio, and Ollama. Please check our github for more information

Deployment

Basic Serving

To serve Mi:dm 2.0 using vLLM(>=0.8.0) with an OpenAI-compatible API:

vllm serve K-intelligence/Midm-2.0-Mini-Instruct

With Function Calling

For advanced function calling tasks, you can serve Mi:dm 2.0 with our own tool parser:

  1. Download and place Mi:dm 2.0 parser file in your working directory.
  2. Run the following Docker command to launch the vLLM server with our custom parser file:
    docker run --rm -it --gpus all -p 8000:8000 \
        -e HUGGING_FACE_HUB_TOKEN="<YOUR_HUGGINGFACE_TOKEN>" \
        -v "$(pwd)/midm_parser.py:/custom/midm_parser.py" \
        vllm/vllm-openai:v0.11.0 \
        --model K-intelligence/Midm-2.0-Mini-Instruct \
        --enable-auto-tool-choice \
        --tool-parser-plugin /custom/midm_parser.py \
        --tool-call-parser midm-parser \
        --host 0.0.0.0
    

[!Note] This setup is compatible with vllm/vllm-openai:v0.8.0 and later, but we strongly recommend using v0.11.0 for optimal stability and compatibility with our parser.

Tutorials

To help our end-users easily use Mi:dm 2.0, we have provided comprehensive tutorials on github.

More Information

Limitation

  • The training data for both Mi:dm 2.0 models consists primarily of English and Korean. Understanding and generation in other languages are not guaranteed.

  • The model is not guaranteed to provide reliable advice in fields that require professional expertise, such as law, medicine, or finance.

  • Researchers have made efforts to exclude unethical content from the training data — such as profanity, slurs, bias, and discriminatory language. However, despite these efforts, the model may still produce inappropriate expressions or factual inaccuracies.

License

Mi:dm 2.0 is licensed under the MIT License.

Contact

Mi:dm 2.0 Technical Inquiries: midm-llm@kt.com

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
383eb22

0 моделей