Text Classification
Transformers
Safetensors
English
modernbert
insurance
document-classification
uk-insurance
bytical
Eval Results (legacy)
text-embeddings-inference
Instructions to use piyushptiwari/InsureDocClassifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use piyushptiwari/InsureDocClassifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="piyushptiwari/InsureDocClassifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("piyushptiwari/InsureDocClassifier") model = AutoModelForSequenceClassification.from_pretrained("piyushptiwari/InsureDocClassifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -95,6 +95,14 @@ labels = {
|
|
| 95 |
print(f"Document type: {labels[predicted_class]}")
|
| 96 |
```
|
| 97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
## Part of the INSUREOS Model Suite
|
| 99 |
|
| 100 |
This model is part of the **INSUREOS** — a complete AI/ML suite for insurance operations built by Bytical AI:
|
|
|
|
| 95 |
print(f"Document type: {labels[predicted_class]}")
|
| 96 |
```
|
| 97 |
|
| 98 |
+
## Learn How This Model Works
|
| 99 |
+
|
| 100 |
+
New to ML or insurance AI? We wrote a plain-English guide that explains the concepts,
|
| 101 |
+
the data, and the **actual training code** behind every INSUREOS model:
|
| 102 |
+
|
| 103 |
+
- **Learning guide:** [LEARN.md](https://huggingface.co/piyushptiwari/insureos-models/blob/main/LEARN.md)
|
| 104 |
+
- **Training code:** [piyushptiwari/insureos-models](https://huggingface.co/piyushptiwari/insureos-models) — this model is trained by [`training/doc_classifier.py`](https://huggingface.co/piyushptiwari/insureos-models/blob/main/training/doc_classifier.py)
|
| 105 |
+
|
| 106 |
## Part of the INSUREOS Model Suite
|
| 107 |
|
| 108 |
This model is part of the **INSUREOS** — a complete AI/ML suite for insurance operations built by Bytical AI:
|