File size: 10,387 Bytes
2a62d4c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4d4f331
 
2a62d4c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4d4f331
2a62d4c
4d4f331
2a62d4c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4d4f331
2a62d4c
4d4f331
2a62d4c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
license: cdla-sharing-1.0
task_categories:
- question-answering
- table-question-answering
language:
- en
tags:
- question-answering
- llm
- chatbot
- mortgage
- loans
- conversational-ai
- generative-ai
- natural-language-understanding
- fine-tuning
pretty_name: >-
  Bitext - Mortgage and Loans Tagged Training Dataset for LLM-based Virtual Assistants
size_categories:
- 10K<n<100K
---
# Bitext - Mortgage and Loans Tagged Training Dataset for LLM-based Virtual Assistants

## Overview

This hybrid synthetic dataset is designed to be used to fine-tune Large Language Models such as GPT, Mistral and OpenELM, and has been generated using our NLP/NLG technology and our automated Data Labeling (DAL) tools. The goal is to demonstrate how Verticalization/Domain Adaptation for the [Mortgage and Loans] sector can be easily achieved using our two-step approach to LLM Fine-Tuning. For example, if you are [ACME Bank], you can create your own customized LLM by first training a fine-tuned model using this dataset, and then further fine-tuning it with a small amount of your own data. An overview of this approach can be found at: [From General-Purpose LLMs to Verticalized Enterprise Models](https://www.bitext.com/blog/general-purpose-models-verticalized-enterprise-genai/)

The dataset has the following specifications:

- Use Case: Intent Detection
- Vertical: Mortgage and Loans
- 37 intents assigned to 8 categories
- 36778 question/answer pairs, with approximately 1000 per intent
- 2141 entity/slot types
- 10 different types of language generation tags

The categories and intents are derived from Bitext's extensive experience across various industry-specific datasets, ensuring the relevance and applicability across diverse contexts.

## Dataset Token Count

The dataset contains a total of 7.73 million tokens across 'instruction' and 'response' columns. This extensive corpus is crucial for training sophisticated LLMs that can perform a variety of functions including conversational AI, question answering, and virtual assistant tasks in the mortgage and loans domain.

## Fields of the Dataset

Each entry in the dataset comprises the following fields:

- system_prompt
- tags
- instruction: a user request from the Mortgage and Loans domain
- category: the high-level semantic category for the intent
- intent: the specific intent corresponding to the user instruction
- response: an example of an expected response from the virtual assistant

## Categories and Intents

The dataset covers a wide range of mortgage and loans-related categories and intents, which are:

- **CONTACT**: contact_agent, customer_service, human_agent
- **FEES**: check_late_payment_fee, lock_interest_rate
- **INFORMATION_REQUEST**: borrowing_limit, check_fees, check_loans, compare_loans, estimate_loan_payment
- **LOAN_APPLICATION**: apply_for_joint_loan, apply_for_loan, consolidate_debt, reapply_for_loan
- **LOAN_APPLICATION_PROCESS**: change_application, check_application_status, closing, submit_documentation, withdraw_application
- **LOAN_MODIFICATIONS**: add_coborrower, change_due_date, extend_loan
- **PAYMENT**: check_loan_terms, check_repayment_methods, make_additional_payments, pay_off_loan, refinance_loan, request_payment_arrangement, split_payment, turn_off_recurring_payments, turn_on_recurring_payments
- **PERSONAL_INFORMATION**: change_personal_data, change_preferred_bank_account, check_credit_report, check_credit_score, check_loan_details, check_privacy_policy

## Entities

The entities covered by the dataset include:

- **{{Customer Support Phone Number}}**, **{{Company Website URL}}**, common with all intents.
- **{{Email Address}}**, **{{Name}}**, common with most intents.
- **{{Payment Settings}}**, featured in intents like request_payment_arrangement, change_preferred_bank_account.
- **{{Billing Preferences}}**, relevant to intents such as turn_on_recurring_payments, turn_off_recurring_payments, split_payment.
- **{{Payment Options}}**, associated with intents like make_additional_payments,check_repayment_methods.
- **{{Account Settings}}**, important for intents including change_personal_data, submit_documentation.
- **{{Application ID}}**, typically present in intents such as change_application, withdraw_application.
- **{{Loan Account Number}}**, featured in intents like extend_loan, add_coborrower.
- **{{Loan Details}}**, relevant to intents such as extend_loan, check_loan_details.
- **{{Application Status}}**, associated with intents like change_application, check_application_status.
- **{{Interest Rates}}**, important for intents including compare_loans, check_loan_terms.

This comprehensive list of entities ensures that the dataset is well-equipped to train models that are highly adept at understanding and processing a wide range of mortgage and loans-related queries and tasks.

## Language Generation Tags

The dataset includes tags indicative of various language variations and styles adapted for Mortgage and Loans, enhancing the robustness and versatility of models trained on this data. These tags categorize the utterances into different registers such as colloquial, formal, or containing specific mortgage and loans jargon, ensuring that the trained models can understand and generate a range of conversational styles appropriate for different customer interactions in the mortgage and loans sector.

## Language Generation Tags

The dataset includes tags that reflect various language variations and styles, crucial for creating adaptable and responsive conversational AI models within the mortgage and loans sector. These tags help in understanding and generating appropriate responses based on the linguistic context and user interaction style.

### Tags for Lexical variation

- **M - Morphological variation**: Adjusts for inflectional and derivational forms.
  - Example: "is my account active", "is my account activated"
- **L - Semantic variations**: Handles synonyms, use of hyphens, and compounding.
  - Example: “what's my balance date", “what's my billing date”

### Tags for Syntactic structure variation

- **B - Basic syntactic structure**: Simple, direct commands or statements.
  - Example: "activate my card", "I need to check my balance"
- **I - Interrogative structure**: Structuring sentences in the form of questions.
  - Example: “can you show my balance?”, “how do I transfer money?”
- **C - Coordinated syntactic structure**: Complex sentences coordinating multiple ideas or tasks.
  - Example: “I want to transfer money and check my balance, what should I do?”
- **N - Negation**: Expressing denial or contradiction.
  - Example: "I do not wish to proceed with this transaction, how can I stop it?"

### Tags for language register variations

- **P - Politeness variation**: Polite forms often used in customer service.
  - Example: “could you please help me check my account balance?”
- **Q - Colloquial variation**: Informal language that might be used in casual customer interactions.
  - Example: "can u tell me my balance?"
- **W - Offensive language**: Handling potentially offensive language which might occasionally appear in frustrated customer interactions.
  - Example: “I’m upset with these charges, this is ridiculous!”

### Tags for stylistic variations

- **K - Keyword mode**: Responses focused on keywords.
  - Example: "balance check", "account status"
- **E - Use of abbreviations**: Common abbreviations.
  - Example: “acct for account”, “trans for transaction”
- **Z - Errors and Typos**: Includes common misspellings or typographical errors found in customer inputs.
  - Example: “how can I chek my balance”

### Other tags not in use in this Dataset

- **D - Indirect speech**: Expressing commands or requests indirectly.
  - Example: “I was wondering if you could show me my last transaction.”
- **G - Regional variations**: Adjustments for regional language differences.
  - Example: American vs British English: "checking account" vs "current account"
- **R - Respect structures - Language-dependent variations**: Formality levels appropriate in different languages.
  - Example: Using “vous” in French for formal addressing instead of “tu.”
- **Y - Code switching**: Switching between languages or dialects within the same conversation.
  - Example: “Can you help me with my cuenta, please?”

These tags not only aid in training models for a wide range of customer interactions but also ensure that the models are culturally and linguistically sensitive, enhancing the customer experience in mortgage and loans environments.

## License

The `Bitext-mortgage-loans-llm-chatbot-training-dataset` is released under the **Community Data License Agreement (CDLA) Sharing 1.0**. This license facilitates broad sharing and collaboration while ensuring that the freedom to use, share, modify, and utilize the data remains intact for all users.

### Key Aspects of CDLA-Sharing 1.0

- **Attribution and ShareAlike**: Users must attribute the dataset and continue to share derivatives under the same license.
- **Non-Exclusivity**: The license is non-exclusive, allowing multiple users to utilize the data simultaneously.
- **Irrevocability**: Except in cases of material non-compliance, rights under this license are irrevocable.
- **No Warranty**: The dataset is provided without warranties regarding its accuracy, completeness, or fitness for a particular purpose.
- **Limitation of Liability**: Both users and data providers limit their liability for damages arising from the use of the dataset.

### Usage Under CDLA-Sharing 1.0

By using the `Bitext-mortgage-loans-llm-chatbot-training-dataset`, you agree to adhere to the terms set forth in the CDLA-Sharing 1.0. It is essential to ensure that any publications or distributions of the data, or derivatives thereof, maintain attribution to the original data providers and are distributed under the same or compatible terms of this agreement.

For a detailed understanding of the license, refer to the [official CDLA-Sharing 1.0 documentation](https://cdla.dev/sharing-1-0/).

This license supports the open sharing and collaborative improvement of datasets within the AI and data science community, making it particularly suited for projects aimed at developing and enhancing AI technologies in the mortgage and loans sector.

---

(c) Bitext Innovations, 2024