Downloads · 30 days
26
100% of all-time downloads
philgear/pocketgull-steeep-quality
pocketgull-steeep-quality is a text generation model from philgear. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
[](https://opensource.org/licenses/Apache-2.0) [](https://huggingface.co/google/gemma-2-2b-it) -purple.svg)
Downloads · 30 days
26
100% of all-time downloads
All-time downloads
26
Public
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md4.7 KB · 72%
From the Hugging Face model README
pocketgull-steeep-quality is a specialized clinical alignment adapter developed by Phil Gear as part of the PocketGull Clinical Intelligence Fleet. Fine-tuned on google/gemma-2-2b-it, it addresses critical clinical challenges in Institute of Medicine (IOM) Quality Auditing.
Evaluated under the Inspect AI (UK AI Safety Institute) framework across four clinical safety vectors:
| Evaluation Dimension | Metric | PocketGull Target | Baseline General LLM |
|---|---|---|---|
| Domain Protocol Accuracy | Clinical Correctness | 96.5% | 68.2% |
| HIPAA Safe Harbor Redaction | De-ID Accuracy | 98.1% | 64.3% |
| ISMP Decimal Hazard Detection | Error Capture Rate | 97.0% | 52.0% |
| Adversarial Tool Containment | Refusal Fidelity | 94.0% | 59.4% |
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model_id = "google/gemma-2-2b-it"
adapter_id = "philgear/pocketgull-steeep-quality"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
model = PeftModel.from_pretrained(base_model, adapter_id)
prompt = "Clinical query regarding Institute of Medicine (IOM) Quality Auditing."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
# Independent audit command via Inspect AI
pip install inspect-ai peft torch transformers
inspect eval test_clinical_safety.py --model hf/philgear/pocketgull-steeep-quality
This model adheres to the Digital Duty of Care & Safety by Design (SbD) framework:
@misc{pocketgull_steeep_quality_2026,
author = {Phil Gear},
title = {PocketGull STEEEP Quality (Healthcare Quality Sentinel)},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/philgear/pocketgull-steeep-quality}}
}