Text Classification
Transformers
ONNX
Safetensors
modernbert
hallucination-detection
groundedness
faithfulness
rag
rag-evaluation
fact-checking
nli
flintglass
text-embeddings-inference
Instructions to use flintglass/PrismVerify-Small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flintglass/PrismVerify-Small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="flintglass/PrismVerify-Small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("flintglass/PrismVerify-Small") model = AutoModelForSequenceClassification.from_pretrained("flintglass/PrismVerify-Small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Release Flintglass PrismVerify-Small v1 (mmBERT-small 140M, 1800+ langs, 8K ctx, 16ms CPU ONNX INT8)
3300666 verified Download training_summary.json from flintglass/PrismVerify-Small: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/flintglass/PrismVerify-Small/resolve/main/training_summary.json
- Command line
-
hf download hf://flintglass/PrismVerify-Small/training_summary.json
-
curl -L -o training_summary.json https://huggingface.co/flintglass/PrismVerify-Small/resolve/main/training_summary.json
2.1 kB
| { | |
| "base_model": "jhu-clsp/mmBERT-small", | |
| "args": { | |
| "base_model": "jhu-clsp/mmBERT-small", | |
| "corpus_dir": "/outputs/8a14cc74-b2bc-427c-a58e-c74393fffafb/data/corpus_hf", | |
| "out_dir": "/outputs/b21243d4-e1cf-424d-b106-7614094cb2f1/PrismVerify-Small", | |
| "max_length": 8192, | |
| "epochs": 5, | |
| "lr": 6e-05, | |
| "max_tokens": 20480, | |
| "grad_accum": 2, | |
| "label_smoothing": 0.02, | |
| "seed": 42, | |
| "grad_checkpointing": false | |
| }, | |
| "history": [ | |
| { | |
| "epoch": 1, | |
| "train_loss": 1.8348, | |
| "val": { | |
| "fine_macro_f1": 0.5672, | |
| "binary_f1": 0.7613, | |
| "binary_bacc": 0.7133, | |
| "binary_auroc": 0.8477, | |
| "nll": 0.6133 | |
| }, | |
| "score": 0.6476 | |
| }, | |
| { | |
| "epoch": 2, | |
| "train_loss": 1.1187, | |
| "val": { | |
| "fine_macro_f1": 0.7681, | |
| "binary_f1": 0.8452, | |
| "binary_bacc": 0.849, | |
| "binary_auroc": 0.9194, | |
| "nll": 0.4248 | |
| }, | |
| "score": 0.8126 | |
| }, | |
| { | |
| "epoch": 3, | |
| "train_loss": 0.8123, | |
| "val": { | |
| "fine_macro_f1": 0.7874, | |
| "binary_f1": 0.859, | |
| "binary_bacc": 0.861, | |
| "binary_auroc": 0.9355, | |
| "nll": 0.3792 | |
| }, | |
| "score": 0.8279 | |
| }, | |
| { | |
| "epoch": 4, | |
| "train_loss": 0.6243, | |
| "val": { | |
| "fine_macro_f1": 0.7902, | |
| "binary_f1": 0.8642, | |
| "binary_bacc": 0.8656, | |
| "binary_auroc": 0.937, | |
| "nll": 0.3751 | |
| }, | |
| "score": 0.8317 | |
| }, | |
| { | |
| "epoch": 5, | |
| "train_loss": 0.5692, | |
| "val": { | |
| "fine_macro_f1": 0.7895, | |
| "binary_f1": 0.8628, | |
| "binary_bacc": 0.8643, | |
| "binary_auroc": 0.9372, | |
| "nll": 0.3758 | |
| }, | |
| "score": 0.8306 | |
| } | |
| ], | |
| "best_score": 0.8317, | |
| "calibration_T": 1.04609, | |
| "calibration_baked": true, | |
| "cal_before": { | |
| "fine_macro_f1": 0.7665, | |
| "binary_f1": 0.8594, | |
| "binary_bacc": 0.8597, | |
| "binary_auroc": 0.9416, | |
| "nll": 0.3681 | |
| }, | |
| "cal_after": { | |
| "fine_macro_f1": 0.7665, | |
| "binary_f1": 0.8581, | |
| "binary_bacc": 0.858, | |
| "binary_auroc": 0.9417, | |
| "nll": 0.3677 | |
| } | |
| } |