Downloads · 30 days
0
introvoyz041/EpiBrief-MMWR-LM
EpiBrief-MMWR-LM is a text generation model from introvoyz041. 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.
A specialized language model fine-tuned for CDC-style epidemiological reasoning and public health analysis.
Downloads · 30 days
0
Access
Public
Updated Apr 27, 2026
Repo size
353 MB
Likes
0
Public
Click a slice to open those files.
.tar176 MB · 50%
From the Hugging Face model README
A specialized language model fine-tuned for CDC-style epidemiological reasoning and public health analysis.
EpiBrief-MMWR-LM is a fine-tuned Llama 3.1 8B model trained on 11,632 instruction-response pairs derived from 9 years (2016-2025) of CDC Morbidity and Mortality Weekly Reports (MMWR). The model specializes in:
pip install transformers peft torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
# Load base model and tokenizer
base_model = AutoModelForCausalLM.from_pretrained(
"meta-llama/Llama-3.1-8B",
torch_dtype=torch.bfloat16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.1-8B")
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "BryanTegomoh/EpiBrief-MMWR-LM")
# Generate
prompt = """Based on this MMWR article excerpt, generate an executive summary following CDC format with 'What is already known about this topic?', 'What is added by this report?', and 'What are the implications for public health practice?' sections.
Measles cases have increased 300% in the United States during 2024, with 97% occurring among unvaccinated individuals. The outbreak was concentrated in communities with vaccination rates below 85%.
Generate the CDC-style executive summary:"""
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=400, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Input: "Explain the measles outbreak scenario with new SARS-CoV-2 variants"
Output:
Measles is a highly contagious vaccine-preventable viral disease. Increasing U.S. measles cases have been driven by unvaccinated persons who are exposed while traveling internationally. U.S. health officials should coordinate response activities to prevent and limit the spread, assess and improve vaccination coverage, and ensure MMR vaccination for all eligible children and adults.
The model demonstrates strong capabilities in:
✅ Appropriate Uses:
❌ Not Intended For:
@model{tegomoh2025epibrief,
author = {Bryan Tegomoh},
title = {EpiBrief-MMWR-LM: A Specialized Language Model for CDC-Style Epidemiological Reasoning},
year = {2025},
publisher = {HuggingFace},
url = {https://huggingface.co/BryanTegomoh/EpiBrief-MMWR-LM}
}
Bryan Tegomoh, MD, MPH
Apache 2.0