Spaces:
Runtime error
Runtime error
init
Browse files- detectGPTtest.py +20 -0
detectGPTtest.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
matplotlib.pyplot as plt
|
| 2 |
+
numpy
|
| 3 |
+
datasets
|
| 4 |
+
transformers
|
| 5 |
+
re
|
| 6 |
+
torch
|
| 7 |
+
torch.nn.functional
|
| 8 |
+
tqdm
|
| 9 |
+
random
|
| 10 |
+
sklearn.metrics
|
| 11 |
+
roc_curve, precision_recall_curve, auc
|
| 12 |
+
argparse
|
| 13 |
+
datetime
|
| 14 |
+
os
|
| 15 |
+
json
|
| 16 |
+
functools
|
| 17 |
+
custom_datasets
|
| 18 |
+
multiprocessing.pool
|
| 19 |
+
ThreadPool
|
| 20 |
+
time
|