Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# AI Detector LoRA (DeBERTa-v3-large)
|
| 2 |
|
| 3 |
LoRA adapter for binary AI-text vs Human-text detection, trained on ~2.3M English samples
|
|
@@ -109,7 +127,7 @@ import torch
|
|
| 109 |
import json
|
| 110 |
|
| 111 |
base_model_id = "microsoft/deberta-v3-large"
|
| 112 |
-
adapter_id = "
|
| 113 |
|
| 114 |
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
|
| 115 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
pipeline_tag: text-classification
|
| 5 |
+
library_name: peft
|
| 6 |
+
base_model: microsoft/deberta-v3-large
|
| 7 |
+
tags:
|
| 8 |
+
- lora
|
| 9 |
+
- ai-detection
|
| 10 |
+
- binary-classification
|
| 11 |
+
- deberta-v3-large
|
| 12 |
+
metrics:
|
| 13 |
+
- accuracy
|
| 14 |
+
- f1
|
| 15 |
+
- auroc
|
| 16 |
+
- average_precision
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
# AI Detector LoRA (DeBERTa-v3-large)
|
| 20 |
|
| 21 |
LoRA adapter for binary AI-text vs Human-text detection, trained on ~2.3M English samples
|
|
|
|
| 127 |
import json
|
| 128 |
|
| 129 |
base_model_id = "microsoft/deberta-v3-large"
|
| 130 |
+
adapter_id = "stealthcode/ai-detection"
|
| 131 |
|
| 132 |
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
|
| 133 |
|