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-Multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flintglass/PrismVerify-Multilingual with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="flintglass/PrismVerify-Multilingual")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("flintglass/PrismVerify-Multilingual") model = AutoModelForSequenceClassification.from_pretrained("flintglass/PrismVerify-Multilingual", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Release Flintglass PrismVerify-Multilingual v1 (mmBERT-base 307M, 1800+ langs, 8K ctx, PyTorch + ONNX FP32/INT8)
f26f20a verified Download training_summary.json from flintglass/PrismVerify-Multilingual: direct link, hf CLI and curl.
- Browser
- Download file 2.11 kB
-
https://huggingface.co/flintglass/PrismVerify-Multilingual/resolve/main/training_summary.json
- Command line
-
hf download hf://flintglass/PrismVerify-Multilingual/training_summary.json
-
curl -L -o training_summary.json https://huggingface.co/flintglass/PrismVerify-Multilingual/resolve/main/training_summary.json
2.11 kB
| { | |
| "base_model": "jhu-clsp/mmBERT-base", | |
| "args": { | |
| "base_model": "jhu-clsp/mmBERT-base", | |
| "corpus_dir": "/outputs/8a14cc74-b2bc-427c-a58e-c74393fffafb/data/corpus_hf", | |
| "out_dir": "/outputs/4d8fb718-f74e-4dc4-9422-18a6b766abff/PrismVerify-Multilingual", | |
| "max_length": 8192, | |
| "epochs": 5, | |
| "lr": 4.5e-05, | |
| "max_tokens": 16384, | |
| "grad_accum": 2, | |
| "label_smoothing": 0.02, | |
| "seed": 42, | |
| "grad_checkpointing": true | |
| }, | |
| "history": [ | |
| { | |
| "epoch": 1, | |
| "train_loss": 1.8277, | |
| "val": { | |
| "fine_macro_f1": 0.5767, | |
| "binary_f1": 0.7699, | |
| "binary_bacc": 0.7709, | |
| "binary_auroc": 0.867, | |
| "nll": 0.5523 | |
| }, | |
| "score": 0.6835 | |
| }, | |
| { | |
| "epoch": 2, | |
| "train_loss": 1.1576, | |
| "val": { | |
| "fine_macro_f1": 0.7573, | |
| "binary_f1": 0.8333, | |
| "binary_bacc": 0.8431, | |
| "binary_auroc": 0.9244, | |
| "nll": 0.418 | |
| }, | |
| "score": 0.8045 | |
| }, | |
| { | |
| "epoch": 3, | |
| "train_loss": 0.8675, | |
| "val": { | |
| "fine_macro_f1": 0.7546, | |
| "binary_f1": 0.8541, | |
| "binary_bacc": 0.8578, | |
| "binary_auroc": 0.9347, | |
| "nll": 0.389 | |
| }, | |
| "score": 0.8114 | |
| }, | |
| { | |
| "epoch": 4, | |
| "train_loss": 0.6971, | |
| "val": { | |
| "fine_macro_f1": 0.7616, | |
| "binary_f1": 0.8613, | |
| "binary_bacc": 0.8618, | |
| "binary_auroc": 0.9365, | |
| "nll": 0.3847 | |
| }, | |
| "score": 0.8167 | |
| }, | |
| { | |
| "epoch": 5, | |
| "train_loss": 0.651, | |
| "val": { | |
| "fine_macro_f1": 0.7608, | |
| "binary_f1": 0.8569, | |
| "binary_bacc": 0.8581, | |
| "binary_auroc": 0.9363, | |
| "nll": 0.3865 | |
| }, | |
| "score": 0.8143 | |
| } | |
| ], | |
| "best_score": 0.8167, | |
| "calibration_T": 1.01336, | |
| "calibration_baked": true, | |
| "cal_before": { | |
| "fine_macro_f1": 0.7661, | |
| "binary_f1": 0.8629, | |
| "binary_bacc": 0.8621, | |
| "binary_auroc": 0.9458, | |
| "nll": 0.3609 | |
| }, | |
| "cal_after": { | |
| "fine_macro_f1": 0.7661, | |
| "binary_f1": 0.8626, | |
| "binary_bacc": 0.8617, | |
| "binary_auroc": 0.9458, | |
| "nll": 0.3608 | |
| } | |
| } |