Text Classification
PEFT
Safetensors
English
lora
clinical-text
health-insurance
fraud-audit
icd-11
synthetic-data
Instructions to use victorgpt0/claimguard-consistency-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use victorgpt0/claimguard-consistency-classifier with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("emilyalsentzer/Bio_ClinicalBERT") model = PeftModel.from_pretrained(base_model, "victorgpt0/claimguard-consistency-classifier") - Notebooks
- Google Colab
- Kaggle
Model card: code link, citation, dataset not published
Browse files
README.md
CHANGED
|
@@ -30,11 +30,11 @@ Health Authority (SHA).
|
|
| 30 |
This is the frozen checkpoint every reported result was produced with. Pin the revision
|
| 31 |
(see "How to load") rather than loading the latest commit.
|
| 32 |
|
| 33 |
-
- **Developed by:** Gichuru Victor Kimotho, Strathmore University (ICS Project II)
|
| 34 |
- **Model type:** sequence-pair classifier, LoRA adapter (PEFT) with a trained classification head
|
| 35 |
- **Language:** English
|
| 36 |
- **Licence:** MIT (the base model is also MIT)
|
| 37 |
-
- **Code:**
|
| 38 |
|
| 39 |
## Intended use
|
| 40 |
|
|
@@ -77,7 +77,7 @@ not be obtained, so the dataset (`v0.6-20k`) was generated:
|
|
| 77 |
- Robustness noise: 30% of claims in every split get abbreviations, typos or spacing errors in the notes; the test split uses a different shorthand glossary and held-out fabrication boilerplate so it contains text the model never saw. <!-- docs/data_generation.md §5.4, §5.5 -->
|
| 78 |
- ICD-11 definitions come from the WHO ICD-11 API, cached. <!-- artifacts/icd11_cache.json; README export command -->
|
| 79 |
|
| 80 |
-
The dataset is not published
|
| 81 |
|
| 82 |
## Training procedure
|
| 83 |
|
|
@@ -195,9 +195,14 @@ verdict = ["consistent", "inconsistent"][int(scores.argmax())]
|
|
| 195 |
|
| 196 |
## Citation
|
| 197 |
|
| 198 |
-
|
| 199 |
-
Gichuru, V. K. (2026). *LLM-
|
| 200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
|
| 202 |
Base model: Alsentzer, E. et al. (2019). Publicly Available Clinical BERT Embeddings.
|
| 203 |
*Proceedings of the 2nd Clinical Natural Language Processing Workshop*.
|
|
|
|
| 30 |
This is the frozen checkpoint every reported result was produced with. Pin the revision
|
| 31 |
(see "How to load") rather than loading the latest commit.
|
| 32 |
|
| 33 |
+
- **Developed by:** Gichuru Victor Kimotho, Strathmore University (ICS Project II), supervised by Mr. Tiberius Tabulu
|
| 34 |
- **Model type:** sequence-pair classifier, LoRA adapter (PEFT) with a trained classification head
|
| 35 |
- **Language:** English
|
| 36 |
- **Licence:** MIT (the base model is also MIT)
|
| 37 |
+
- **Code:** [github.com/victorgpt0/claimguard](https://github.com/victorgpt0/claimguard) (`src/classification/`)
|
| 38 |
|
| 39 |
## Intended use
|
| 40 |
|
|
|
|
| 77 |
- Robustness noise: 30% of claims in every split get abbreviations, typos or spacing errors in the notes; the test split uses a different shorthand glossary and held-out fabrication boilerplate so it contains text the model never saw. <!-- docs/data_generation.md §5.4, §5.5 -->
|
| 78 |
- ICD-11 definitions come from the WHO ICD-11 API, cached. <!-- artifacts/icd11_cache.json; README export command -->
|
| 79 |
|
| 80 |
+
The dataset is not published. It can be regenerated from the repository's generator (`src/data/`, `docs/data_generation.md`), with the same seeds; each note's sampling seed comes from its claim ID, but a different GPU or vLLM version can still change the generated text.
|
| 81 |
|
| 82 |
## Training procedure
|
| 83 |
|
|
|
|
| 195 |
|
| 196 |
## Citation
|
| 197 |
|
| 198 |
+
Project report:
|
| 199 |
+
Gichuru, V. K. (2026). *LLM-assisted anomaly detection for post-payment fraud audit: A case
|
| 200 |
+
study of Kenya's Social Health Authority* [Unpublished undergraduate project report, ICS
|
| 201 |
+
Project II]. Strathmore University.
|
| 202 |
+
|
| 203 |
+
This model:
|
| 204 |
+
Gichuru, V. K. (2026). *ClaimGuard semantic consistency classifier* (Version v1.0-evaluated)
|
| 205 |
+
[LoRA adapter]. Hugging Face. https://huggingface.co/victorgpt0/claimguard-consistency-classifier
|
| 206 |
|
| 207 |
Base model: Alsentzer, E. et al. (2019). Publicly Available Clinical BERT Embeddings.
|
| 208 |
*Proceedings of the 2nd Clinical Natural Language Processing Workshop*.
|