/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
14,5 ГБ
Лицензия
Apache 2.0
Архитектура
mistral · dense
Опубликована
15 авг 2024

Mistral-7B-Telco

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

Дообученная Bitext модель Mistral-7B для ответов на вопросы клиентов и поддержки типовых процедур в телекоммуникационной сфере.

46скачиваний за 30 дней2лайкавеса обновлены15 авг 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Mistral-7B-Telco — дообученная Bitext языковая модель для диалоговой поддержки в телекоммуникационной сфере. Она предназначена для чат-ботов, виртуальных помощников и copilots, которые отвечают на вопросы клиентов и помогают с типовыми процедурами: управлением лимитами, активацией телефона, мобильными платежами, покрытием сети и счетами.

Модель использует плотную архитектуру MistralForCausalLM, содержит 7,1 млрд параметров и рассчитана на контекст до 32 768 токенов. Для дообучения применялись синтетические данные и автоматическая разметка Bitext; набор охватывает 26 телекоммуникационных намерений. Модель принимает текст и генерирует текстовые ответы. В карточке базовая модель указана как mistralai/Mistral-7B-Instruct-v0.2. Лицензия — Apache-2.0.

Модель может хуже отвечать на вопросы вне телекоммуникационной тематики; возможны смещения, связанные с обучающими данными. Её не следует использовать для медицинских, юридических или критически важных рекомендаций по безопасности.

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

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

Ограничения

Модель может хуже отвечать на вопросы вне телекоммуникационной тематики; возможны смещения из-за обучающих данных. Не предназначена для медицинских, юридических или критически важных рекомендаций по безопасности.

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

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

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

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

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

Открыть на Hugging Face

Mistral-7B-Telco

Model Description

This model, "Mistral-7B-Telco", is a fine-tuned version of the mistralai/Mistral-7B-Instruct-v0.2, specifically tailored for the Telco domain. It is optimized to answer questions and assist users with various Telco-related procedures. It has been trained using hybrid synthetic data generated using our NLP/NLG technology and our automated Data Labeling (DAL) tools.

The goal of this model is to show that a generic verticalized model makes customization for a final use case much easier. An overview of this approach can be found at: From General-Purpose LLMs to Verticalized Enterprise Models

Intended Use

  • Recommended applications: This model is designed to be used as the first step in Bitext’s two-step approach to LLM fine-tuning for the creation of chatbots, virtual assistants and copilots for the Telco domain, providing customers with fast and accurate answers about their needs.
  • Out-of-scope: This model is not suited for non-telco related questions and should not be used for providing health, legal, or critical safety advice.

Usage Example

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

device = 'cuda' if torch.cuda.is_available() else 'cpu'

model = AutoModelForCausalLM.from_pretrained("bitext/Mistral-7B-Telco")
tokenizer = AutoTokenizer.from_pretrained("bitext/Mistral-7B-Telco")

messages = [
    {"role": "system", "content": "You are an expert in customer support for Telco."},
    {"role": "user", "content": "I would like to deactivate a cell phone, where could I do it?"},
]

encoded = tokenizer.apply_chat_template(messages, return_tensors="pt")

model_inputs = encoded.to(device)
model.to(device)

generated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)
decoded = tokenizer.batch_decode(generated_ids)
print(decoded[0])

Model Architecture

This model utilizes the MistralForCausalLM architecture with a LlamaTokenizer, ensuring it retains the foundational capabilities of the base model while being specifically enhanced for telco-related interactions.

Training Data

The model was fine-tuned on the Bitext Telco Dataset comprising various telco-related intents, including: set_usage_limits, activate_phone, check_mobile_payments, check_signal_coverage, invoices, and more. Totaling 26 intents, and each intent is represented by approximately 1000 examples.

This comprehensive training helps the model address a broad spectrum of telco-related questions effectively. The dataset follows the same structured approach as our dataset published on Hugging Face as bitext/Bitext-customer-support-llm-chatbot-training-dataset, but with a focus on telco.

Training Procedure

Hyperparameters

  • Optimizer: AdamW
  • Learning Rate: 0.0002 with a cosine learning rate scheduler
  • Epochs: 3
  • Batch Size: 4
  • Gradient Accumulation Steps: 4
  • Maximum Sequence Length: 8192 tokens

Environment

  • Transformers Version: 4.43.4
  • Framework: PyTorch 2.3.1+cu121
  • Tokenizers: Tokenizers 0.19.1

Limitations and Bias

  • The model is trained for telco-specific contexts but may underperform in unrelated areas.
  • Potential biases in the training data could affect the neutrality of the responses; users are encouraged to evaluate responses critically.

Ethical Considerations

It is important to use this technology thoughtfully, ensuring it does not substitute for human judgment where necessary, especially in sensitive situations.

Acknowledgments

This model was developed and trained by Bitext using proprietary data and technology.

License

This model, "Mistral-7B-Telco", is licensed under the Apache License 2.0 by Bitext Innovations International, Inc. This open-source license allows for free use, modification, and distribution of the model but requires that proper credit be given to Bitext.

Key Points of the Apache 2.0 License

  • Permissibility: Users are allowed to use, modify, and distribute this software freely.
  • Attribution: You must provide proper credit to Bitext Innovations International, Inc. when using this model, in accordance with the original copyright notices and the license.
  • Patent Grant: The license includes a grant of patent rights from the contributors of the model.
  • No Warranty: The model is provided "as is" without warranties of any kind.

You may view the full license text at Apache License 2.0.

This licensing ensures the model can be used widely and freely while respecting the intellectual contributions of Bitext. For more detailed information or specific legal questions about using this license, please refer to the official license documentation linked above.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
MistralForCausalLM
Ревизия весов
d5e0024

0 моделей