Views
No views yet
hazards[] (4 OIICS codes + severity) and
citations[] (verified OSHA 1926 standards).1from mlx_lm import load, generate
2
3model, tokenizer = load(
4 "mlx-community/Qwen2.5-1.5B-Instruct-4bit",
5 adapter_path="oversite/qwen-2.5-construction-codecite-v1",
6)
7prompt = "Worker fell from second-story scaffold..."
8out = generate(model, tokenizer, prompt=prompt, max_tokens=384)gradio_app/app.py in the source repo for the full prompt template
and RAG-augmented inference pipeline.| Dimension | Accuracy |
|---|---|
| event_acc | 35.5% |
| event_div_acc | 48.0% |
| source_acc | 51.0% |
| source_div_acc | 33.0% |
| nature_acc | 66.5% |
| body_acc | 57.5% |
| body_div_acc | 87.5% |
| parsed_ok_rate | 100.0% |
c9490ed3...).@misc{construction-code-llm-2026,
title = {Qwen 2.5 1.5B - Construction Code-Citation v1},
author = {Oversite Innovations},
year = {2026}
}