Text Classification
Transformers
ONNX
Safetensors
English
modernbert
hallucination-detection
groundedness
faithfulness
rag
rag-evaluation
fact-checking
nli
flintglass
text-embeddings-inference
Instructions to use flintglass/PrismVerify-Large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flintglass/PrismVerify-Large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="flintglass/PrismVerify-Large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("flintglass/PrismVerify-Large") model = AutoModelForSequenceClassification.from_pretrained("flintglass/PrismVerify-Large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Release Flintglass PrismVerify-Large v1 (ModernBERT-large 395M, 8K ctx, 3-class, PyTorch + ONNX FP32/INT8)
b8272d9 verified Download training_summary.json from flintglass/PrismVerify-Large: direct link, hf CLI and curl.
- Browser
- Download file 2.12 kB
-
https://huggingface.co/flintglass/PrismVerify-Large/resolve/main/training_summary.json
- Command line
-
hf download hf://flintglass/PrismVerify-Large/training_summary.json
-
curl -L -o training_summary.json https://huggingface.co/flintglass/PrismVerify-Large/resolve/main/training_summary.json
2.12 kB
| { | |
| "base_model": "answerdotai/ModernBERT-large", | |
| "args": { | |
| "base_model": "answerdotai/ModernBERT-large", | |
| "corpus_dir": "/outputs/8a14cc74-b2bc-427c-a58e-c74393fffafb/data/corpus_hf", | |
| "out_dir": "/outputs/e1dc247b-fd10-4c13-bbdb-7e4de90d46a8/PrismVerify-Large", | |
| "max_length": 8192, | |
| "epochs": 5, | |
| "lr": 5e-05, | |
| "max_tokens": 16384, | |
| "grad_accum": 2, | |
| "label_smoothing": 0.02, | |
| "seed": 42, | |
| "grad_checkpointing": true | |
| }, | |
| "history": [ | |
| { | |
| "epoch": 1, | |
| "train_loss": 1.7521, | |
| "val": { | |
| "fine_macro_f1": 0.5663, | |
| "binary_f1": 0.8059, | |
| "binary_bacc": 0.7906, | |
| "binary_auroc": 0.8909, | |
| "nll": 0.5371 | |
| }, | |
| "score": 0.6897 | |
| }, | |
| { | |
| "epoch": 2, | |
| "train_loss": 1.1242, | |
| "val": { | |
| "fine_macro_f1": 0.7835, | |
| "binary_f1": 0.8695, | |
| "binary_bacc": 0.8723, | |
| "binary_auroc": 0.9368, | |
| "nll": 0.3806 | |
| }, | |
| "score": 0.8323 | |
| }, | |
| { | |
| "epoch": 3, | |
| "train_loss": 0.7856, | |
| "val": { | |
| "fine_macro_f1": 0.7795, | |
| "binary_f1": 0.8774, | |
| "binary_bacc": 0.878, | |
| "binary_auroc": 0.947, | |
| "nll": 0.3466 | |
| }, | |
| "score": 0.8337 | |
| }, | |
| { | |
| "epoch": 4, | |
| "train_loss": 0.6294, | |
| "val": { | |
| "fine_macro_f1": 0.8007, | |
| "binary_f1": 0.8818, | |
| "binary_bacc": 0.884, | |
| "binary_auroc": 0.9478, | |
| "nll": 0.3427 | |
| }, | |
| "score": 0.8465 | |
| }, | |
| { | |
| "epoch": 5, | |
| "train_loss": 0.5934, | |
| "val": { | |
| "fine_macro_f1": 0.7971, | |
| "binary_f1": 0.8796, | |
| "binary_bacc": 0.881, | |
| "binary_auroc": 0.9482, | |
| "nll": 0.3424 | |
| }, | |
| "score": 0.8432 | |
| } | |
| ], | |
| "best_score": 0.8465, | |
| "calibration_T": 1.06662, | |
| "calibration_baked": true, | |
| "cal_before": { | |
| "fine_macro_f1": 0.7981, | |
| "binary_f1": 0.8868, | |
| "binary_bacc": 0.8876, | |
| "binary_auroc": 0.9508, | |
| "nll": 0.3391 | |
| }, | |
| "cal_after": { | |
| "fine_macro_f1": 0.7981, | |
| "binary_f1": 0.8854, | |
| "binary_bacc": 0.8859, | |
| "binary_auroc": 0.9509, | |
| "nll": 0.3383 | |
| } | |
| } |