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
File size: 2,109 Bytes
f26f20a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | {
"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
}
} |