/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
14,5 ГБ
Лицензия
Apache 2.0
Архитектура
mistral · dense
Базовая модель
Mistral-7B-Instruct-v0.2
Опубликована
3 мая 2024

Mistral-7B-Mortgage-Loans

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

Диалоговая модель Bitext на базе Mistral-7B-Instruct-v0.2 для ответов на вопросы об ипотеке, кредитах и обслуживании заёмщиков.

12скачиваний за 30 дней4лайкавеса обновлены27 мая 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Mistral-7B-Mortgage-Loans — диалоговая модель Bitext, дообученная на базе mistralai/Mistral-7B-Instruct-v0.2 для вопросов об ипотеке и кредитах. Она предназначена для финансовых организаций, ипотечных брокеров и кредиторов и может использоваться в системах поддержки клиентов для объяснения условий кредита, вариантов ипотеки, платежей, подачи заявок и рефинансирования.

Модель использует плотную архитектуру MistralForCausalLM и содержит 7,1 млрд параметров. Она принимает текст и генерирует текст, поддерживает контекст до 32 768 токенов. В обучающем наборе описаны 39 тематических намерений с примерами по ипотеке и кредитам. Репозиторий распространяется под лицензией Apache-2.0.

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

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Mistral-7B-Mortgage-Loans-v1

Model Description

This model, "Mistral-7B-Mortgage-Loans-v1," is a fine-tuned version of mistralai/Mistral-7B-Instruct-v0.2 developed to specifically address queries related to mortgage and loans. It provides answers that are crucial for understanding complex loan processes and mortgage applications.

Intended Use

  • Recommended applications: This model is particularly useful for financial institutions, mortgage brokers, and loan providers. It is designed to integrate into customer support systems to help users understand their loan options, mortgage details, and payment plans.
  • Out-of-scope: This model is not designed for non-financial inquiries and should not be used to provide legal, medical, or other advice outside of its financial expertise area.

Usage Example

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("bitext-llm/Mistral-7B-Mortgage-Loans-v1")
tokenizer = AutoTokenizer.from_pretrained("bitext-llm/Mistral-7B-Mortgage-Loans-v1")

inputs = tokenizer("<s>[INST] What are the requirements for a home loan? [/INST]", return_tensors="pt")
outputs = model.generate(inputs['input_ids'], max_length=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Model Architecture

The model utilizes the MistralForCausalLM architecture along with a LlamaTokenizer. It retains the fundamental characteristics of the base model while being optimized to understand and generate responses in the context of mortgage and loans.

Training Data

The model was trained on a dataset specifically designed for the mortgage and loan sector, featuring 39 intents including apply_for_loan, check_loan_terms, refinance_loan, customer_service, and many others, each with nearly 1000 examples. This rich dataset ensures the model's proficiency in addressing a broad spectrum of inquiries within this domain. 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 mortgage and loans.

Training Procedure

Hyperparameters

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

Environment

  • Transformers Version: 4.40.0.dev0
  • Framework: PyTorch 2.2.1+cu121
  • Tokenizers: Tokenizers 0.15.0

Limitations and Bias

  • The model is fine-tuned on a domain-specific dataset and may not perform well outside the scope of financial advice.
  • Users should be aware of potential biases in the training data, as the model's responses may inadvertently reflect these biases. This model has been trained with a dataset that answers general mortgage and loans questions, so potential biases may exist for specific use cases.

Ethical Considerations

This model should be used responsibly, considering ethical implications of automated financial advice. As it is a base model for this financial field, it is crucial to ensure that the model's advice complements human expertise and adheres to relevant financial regulations.

Acknowledgments

This model was developed by the Bitext and trained on infrastructure provided by Bitext.

License

This model, "Mistral-7B-Mortgage-Loans-v1", 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
Ревизия весов
7263797

0 моделей