Add library_name to metadata
#1
by
nielsr
HF Staff
- opened
README.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
---
|
2 |
-
|
|
|
3 |
datasets:
|
4 |
- yaful/MAGE
|
5 |
language:
|
6 |
- en
|
7 |
-
|
8 |
-
- answerdotai/ModernBERT-base
|
9 |
pipeline_tag: text-classification
|
|
|
10 |
---
|
11 |
|
12 |
# Machine-generated text detection prevents language model collapse
|
@@ -17,7 +18,6 @@ This model is part of the research presented in the paper [Machine-generated tex
|
|
17 |
|
18 |
To use the model for detecting machine-generated text:
|
19 |
|
20 |
-
|
21 |
```python
|
22 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
23 |
import torch
|
@@ -36,7 +36,6 @@ print(f"Probability of machine-generated text: {probabilities[0][1].item():.4f}"
|
|
36 |
|
37 |
If you use this model or find the research helpful, please cite:
|
38 |
|
39 |
-
|
40 |
```bibtex
|
41 |
@article{drayson2025machine,
|
42 |
title={Machine-generated text detection prevents language model collapse},
|
|
|
1 |
---
|
2 |
+
base_model:
|
3 |
+
- answerdotai/ModernBERT-base
|
4 |
datasets:
|
5 |
- yaful/MAGE
|
6 |
language:
|
7 |
- en
|
8 |
+
license: apache-2.0
|
|
|
9 |
pipeline_tag: text-classification
|
10 |
+
library_name: transformers
|
11 |
---
|
12 |
|
13 |
# Machine-generated text detection prevents language model collapse
|
|
|
18 |
|
19 |
To use the model for detecting machine-generated text:
|
20 |
|
|
|
21 |
```python
|
22 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
23 |
import torch
|
|
|
36 |
|
37 |
If you use this model or find the research helpful, please cite:
|
38 |
|
|
|
39 |
```bibtex
|
40 |
@article{drayson2025machine,
|
41 |
title={Machine-generated text detection prevents language model collapse},
|