Instructions to use BillFisk/ai-text-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use BillFisk/ai-text-detector with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'BillFisk/ai-text-detector');
File size: 796 Bytes
451cd56 02ff67b 451cd56 | 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 | {
"backbone": "deberta",
"architecture": "DesklibAIDetectionModel",
"pooling": "mean",
"num_labels": 4,
"labels": [
"human",
"ai",
"ai_edited",
"humanized"
],
"trained_classes": [
"human",
"ai",
"ai_edited",
"humanized"
],
"human_index": 0,
"ai_score": "1 - softmax(logits)[human]",
"threshold_at_0.5fpr": 0.9974874649196864,
"base_threshold_at_0.5fpr": 0.9755912190656111,
"fine_tune": "@bandf/clueso LoRA v2",
"calibration_protocol": "joint: false-positive budget split between document and window rules to maximize recall over AI and derived mixed documents with the union at target",
"base_threshold_at_0_5fpr": 0.9974874649196864,
"threshold_at_0_5fpr": 0.9990641518953358,
"window_threshold_at_0_5fpr": 0.9999630607884616
}
|