forked from junchaoIU/DetectRL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
domains_evaluation.sh
64 lines (54 loc) · 12.9 KB
/
domains_evaluation.sh
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
Detectors_path=
Task1_path=
Task2_path=
cd Benchmark\Benchmark
# Task 1
python $Detectors_path/likelihood_evaluation.py --test_data_path $Task1_path/multi_domains_arxiv_test.json,$Task1_path/multi_domains_xsum_test.json,$Task1_path/multi_domains_writing_prompt_test.json,$Task1_path/multi_domains_yelp_review_test.json,
python $Detectors_path/rank_evaluation.py --test_data_path $Task1_path/multi_domains_arxiv_test.json,$Task1_path/multi_domains_xsum_test.json,$Task1_path/multi_domains_writing_prompt_test.json,$Task1_path/multi_domains_yelp_review_test.json,
python $Detectors_path/logRank_evaluation.py --test_data_path $Task1_path/multi_domains_arxiv_test.json,$Task1_path/multi_domains_xsum_test.json,$Task1_path/multi_domains_writing_prompt_test.json,$Task1_path/multi_domains_yelp_review_test.json,
python $Detectors_path/entropy_evaluation.py --test_data_path $Task1_path/multi_domains_arxiv_test.json,$Task1_path/multi_domains_xsum_test.json,$Task1_path/multi_domains_writing_prompt_test.json,$Task1_path/multi_domains_yelp_review_test.json,
python $Detectors_path/LRR_evaluation.py --test_data_path $Task1_path/multi_domains_arxiv_test.json,$Task1_path/multi_domains_xsum_test.json,$Task1_path/multi_domains_writing_prompt_test.json,$Task1_path/multi_domains_yelp_review_test.json,
python $Detectors_path/NPR_evaluation.py --test_data_path $Task1_path/multi_domains_arxiv_test.json,$Task1_path/multi_domains_xsum_test.json,$Task1_path/multi_domains_writing_prompt_test.json,$Task1_path/multi_domains_yelp_review_test.json,
python $Detectors_path/DetectGPT_evaluation.py --test_data_path $Task1_path/multi_domains_arxiv_test.json,$Task1_path/multi_domains_xsum_test.json,$Task1_path/multi_domains_writing_prompt_test.json,$Task1_path/multi_domains_yelp_review_test.json,
python $Detectors_path/Fast_DetectGPT_evaluation.py --test_data_path $Task1_path/multi_domains_arxiv_test.json,$Task1_path/multi_domains_xsum_test.json,$Task1_path/multi_domains_writing_prompt_test.json,$Task1_path/multi_domains_yelp_review_test.json,
python $Detectors_path/train_roberta.py --train_data_path $Task1_path/multi_domains_arxiv_test.json, --test_data_path $Task1_path/multi_domains_arxiv_test.json,
python $Detectors_path/train_roberta.py --train_data_path $Task1_path/multi_domains_xsum_test.json, --test_data_path $Task1_path/multi_domains_xsum_test.json,
python $Detectors_path/train_roberta.py --train_data_path $Task1_path/multi_domains_writing_prompt_test.json --test_data_path $Task1_path/multi_domains_writing_prompt_test.json,
python $Detectors_path/train_roberta.py --train_data_path $Task1_path/multi_domains_yelp_review_test.json --test_data_path $Task1_path/multi_domains_yelp_review_test.json,
# Task 2
python $Detectors_path/zero_shot_transfer_evaluation.py --method likelihood --test_data_path $Task2_path/multi_domains_arxiv_test.json, --transfer_data_path $Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method rank --test_data_path $Task2_path/multi_domains_arxiv_test.json, --transfer_data_path $Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method logRank --test_data_path $Task2_path/multi_domains_arxiv_test.json, --transfer_data_path $Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method entropy --test_data_path $Task2_path/multi_domains_arxiv_test.json, --transfer_data_path $Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method LRR --test_data_path $Task2_path/multi_domains_arxiv_test.json, --transfer_data_path $Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method NPR --test_data_path $Task2_path/multi_domains_arxiv_test.json, --transfer_data_path $Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method DetectGPT --test_data_path $Task2_path/multi_domains_arxiv_test.json, --transfer_data_path $Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method Fast_DetectGPT --test_data_path $Task2_path/multi_domains_arxiv_test.json, --transfer_data_path $Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method likelihood --test_data_path $Task2_path/multi_domains_xsum_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method rank --test_data_path $Task2_path/multi_domains_xsum_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method logRank --test_data_path $Task2_path/multi_domains_xsum_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method entropy --test_data_path $Task2_path/multi_domains_xsum_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method LRR --test_data_path $Task2_path/multi_domains_xsum_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method NPR --test_data_path $Task2_path/multi_domains_xsum_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method DetectGPT --test_data_path $Task2_path/multi_domains_xsum_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method Fast_DetectGPT --test_data_path $Task2_path/multi_domains_xsum_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method likelihood --test_data_path $Task2_path/multi_domains_writing_prompt_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method rank --test_data_path $Task2_path/multi_domains_writing_prompt_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method logRank --test_data_path $Task2_path/multi_domains_writing_prompt_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method entropy --test_data_path $Task2_path/multi_domains_writing_prompt_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method LRR --test_data_path $Task2_path/multi_domains_writing_prompt_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method NPR --test_data_path $Task2_path/multi_domains_writing_prompt_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method DetectGPT --test_data_path $Task2_path/multi_domains_writing_prompt_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method Fast_DetectGPT --test_data_path $Task2_path/multi_domains_writing_prompt_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method likelihood --test_data_path $Task2_path/multi_domains_yelp_review_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method rank --test_data_path $Task2_path/multi_domains_yelp_review_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method logRank --test_data_path $Task2_path/multi_domains_yelp_review_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method entropy --test_data_path $Task2_path/multi_domains_yelp_review_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method LRR --test_data_path $Task2_path/multi_domains_yelp_review_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method NPR --test_data_path $Task2_path/multi_domains_yelp_review_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method DetectGPT --test_data_path $Task2_path/multi_domains_yelp_review_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,
python $Detectors_path/zero_shot_transfer_evaluation.py --method Fast_DetectGPT --test_data_path $Task2_path/multi_domains_yelp_review_test.json, --transfer_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,
python $Detectors_path/train_roberta.py --train_data_path $Task2_path/multi_domains_arxiv_train.json, --test_data_path $Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/train_roberta.py --train_data_path $Task2_path/multi_domains_xsum_train.json, --test_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_writing_prompt_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/train_roberta.py --train_data_path $Task2_path/multi_domains_writing_prompt_train.json --test_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_yelp_review_test.json,
python $Detectors_path/train_roberta.py --train_data_path $Task2_path/multi_domains_yelp_review_train.json --test_data_path $Task2_path/multi_domains_arxiv_test.json,$Task2_path/multi_domains_xsum_test.json,$Task2_path/multi_domains_writing_prompt_test.json,