Downloads · 30 days
13
0% of all-time downloads
bitext/Mistral-7B-Mortgage-Loans
Mistral-7B-Mortgage-Loans is a text generation model from bitext. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
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 f…
Downloads · 30 days
13
0% of all-time downloads
All-time downloads
8.1K
Public
Repo size
29 GB
Likes
4
Public
Click a slice to open those files.
.bin14.5 GB · 100%
From the Hugging Face model README
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.
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))
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.
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.
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.
This model was developed by the Bitext and trained on infrastructure provided by Bitext.
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.
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.