A 22B parameter LLM fine-tuned for health and life insurance applications, built on Mistral Small Instruct.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "MorbidCorp/Morbid-22B-Insurance-v020"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Mistral Instruct format
system = """You are Morbi, an expert AI assistant specializing in health and life insurance, actuarial science, and risk analysis."""
user_msg = "What is the life expectancy for a 50-year-old male in the US?"
prompt = f"<s>[INST] {system}\n\n{user_msg} [/INST]"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
from transformers import pipeline
pipe = pipeline(
"text-generation",
model="MorbidCorp/Morbid-22B-Insurance-v020",
torch_dtype="bfloat16",
device_map="auto"
)
messages = [
{"role": "user", "content": "Explain the difference between term and whole life insurance."}
]
output = pipe(messages, max_new_tokens=512)
print(output[0]["generated_text"][-1]["content"])
The model was fine-tuned on a curated dataset including:
@misc{morbid2026,
title={Morbid v0.2.0: Enterprise Insurance AI},
author={MorbidCorp},
year={2026},
publisher={HuggingFace},
url={https://huggingface.co/MorbidCorp/Morbid-22B-Insurance-v020}
}
For enterprise support and customization: MORBID.AI
model-00005-of-00009.safetensors 5.0 GBmodel-00008-of-00009.safetensors 5.0 GBmodel-00002-of-00009.safetensors 5.0 GBmodel-00009-of-00009.safetensors 5.0 GBmodel-00003-of-00009.safetensors 5.0 GBmodel-00006-of-00009.safetensors 5.0 GBmodel-00004-of-00009.safetensors 4.9 GBmodel-00007-of-00009.safetensors 4.9 GBmodel-00001-of-00009.safetensors 4.9 GB