Downloads · 30 days
22
34% of all-time downloads
h3ir/morbi-v022
morbi-v022 is a text generation model from h3ir. 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.
<div align="center" <img src="https://heir.es/logo.png" alt="HEIR Logo" width="200"/ <p<emProfessional Domain AI for Insurance, Accounting & Legal</em</p </div
Downloads · 30 days
22
34% of all-time downloads
All-time downloads
64
Public
Parameters
22.2B
44.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors44.5 GB · 100%
From the Hugging Face model README
Morbi v0.2.2 is a fine-tuned Mistral-Small model specialized for professional domains including insurance, actuarial science, accounting (CPA/CFA), and legal (California Bar Exam). Built by HEIR for wealth management and estate planning applications.
| CPA Exam Topics | CFA Exam Topics |
|---|---|
| FAR - Financial Accounting | Ethics & Standards |
| AUD - Auditing | Quantitative Methods |
| REG - Regulation & Tax | Economics |
| BEC - Business Environment | Financial Statement Analysis |
| GAAP & IFRS Standards | Corporate Finance |
| Internal Controls | Equity & Fixed Income |
Financial Calculations:
| Bar Exam Subject | Key Topics |
|---|---|
| Contracts | UCC Article 2, Formation, Breach, Remedies |
| Evidence | Hearsay, Privileges, FRE Rules |
| Torts | Negligence, Intentional Torts, Strict Liability |
| Real Property | Estates, Easements, Conveyancing |
| Civil Procedure | Jurisdiction, Erie, Pleading, Discovery |
| Constitutional Law | Due Process, Equal Protection, Powers |
| Criminal Law | Crimes, Defenses, 4th/5th/6th Amendments |
| Parameter | Value |
|---|---|
| Base Model | Mistral-Small-Instruct-2409 (22B) |
| Training Method | QLoRA (4-bit quantization) |
| LoRA Rank | 32 |
| LoRA Alpha | 64 |
| Learning Rate | 5e-5 |
| Training Steps | 2,000 |
| Batch Size | 8 (effective) |
Total Examples: 19,374
├── Insurance/Actuarial: 19,080 (98.5%)
├── Accounting (CPA/CFA): 62 (0.3%)
├── Legal (Bar Exam): 85 (0.4%)
└── Validation: 1,068
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"h3ir/morbi-v022",
torch_dtype=torch.bfloat16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("h3ir/morbi-v022")
# Insurance question
prompt = """<s>[INST] You are Morbi, an expert AI assistant specializing in insurance, actuarial science, accounting, and legal matters.
Calculate the present value of an annuity paying $1,000 per year for 15 years at 4% interest. [/INST]"""
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=500, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
prompt = """<s>[INST] You are Morbi, an expert AI assistant specializing in insurance, actuarial science, accounting, and legal matters.
Explain when UCC Article 2 applies instead of common law for contracts. [/INST]"""
prompt = """<s>[INST] You are Morbi, an expert AI assistant specializing in insurance, actuarial science, accounting, and legal matters.
Analyze hearsay and its exceptions under the Federal Rules of Evidence. [/INST]"""
| Version | Date | Changes |
|---|---|---|
| v0.2.2 | Jan 2026 | Added accounting (CPA/CFA) and legal (Bar Exam) data |
| v0.2.1 | Jan 2026 | Improved insurance responses, lower LR |
| v0.2.0 | Jan 2026 | Initial release with insurance focus |
HEIR is a wealth management and estate planning platform that combines AI with blockchain technology for inheritance planning. Morbi powers the AI swarm of professional advisors.
Apache 2.0
@misc{morbi-v022,
author = {HEIR},
title = {Morbi v0.2.2: Professional Domain LLM for Insurance, Accounting & Legal},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/h3ir/morbi-v022}
}