-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.sh
102 lines (88 loc) · 4.44 KB
/
commands.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#!/bin/bash
# ft extraction using semeval base
python -m src.feature_extraction \
--dataset semeval_internal \
--model jhu-clsp/bernice \
--extraction_method cls
# semeval_internal
python -m src.classification \
--dataset semeval2024 \
--train_features feature_extraction/semeval2024/bernice/1707079469_jhu-clsp-bernice_train_features.json \
--test_features feature_extraction/semeval2024/bernice/1707079469_jhu-clsp-bernice_test_features.json \
--dev_features feature_extraction/semeval2024/bernice/1707079469_jhu-clsp-bernice_dev_features.json \
--classifier LogisticRegression
# semeval_internal trained with train test dev
python -m src.classification \
--dataset semeval_internal \
--train_features feature_extraction/1706826974_jhu-clsp-bernice_train_features.json \
--test_features feature_extraction/1706826974_jhu-clsp-bernice_test_features.json \
--dev_features feature_extraction/1706826974_jhu-clsp-bernice_dev_features.json \
--classifier LogisticRegression
# ft extraction semeval augmented
python -m src.feature_extraction \
--dataset semeval_augmented \
--model xlm-roberta-base \
--extraction_method cls
# semeval2024
python -m src.classification \
--dataset semeval2024 \
--train_features feature_extraction/1701981179_xlm-roberta-base_train_features.json \
--test_features feature_extraction/1701981179_xlm-roberta-base_test_features.json \
--dev_features feature_extraction/1701981179_xlm-roberta-base_dev_features.json \
--classifier LogisticRegression
# using ft from bernice
python -m src.classification \
--dataset semeval2024 \
--train_features feature_extraction/1706662916_jhu-clsp-bernice_train_features.json \
--test_features feature_extraction/1706662916_jhu-clsp-bernice_test_features.json \
--dev_features feature_extraction/1706662916_jhu-clsp-bernice_dev_features.json \
--classifier LogisticRegression
# using ft from bertweet-base
python -m src.classification \
--dataset semeval2024 \
--train_features feature_extraction/1706660251_vinai-bertweet-base_train_features.json \
--test_features feature_extraction/1706660251_vinai-bertweet-base_test_features.json \
--dev_features feature_extraction/1706660251_vinai-bertweet-base_dev_features.json \
--classifier LogisticRegression
# augmented from ptc reductio
python -m src.classification \
--dataset semeval_augmented \
--train_features feature_extraction/1706560674_xlm-roberta-base_train_features.json \
--test_features feature_extraction/1706560674_xlm-roberta-base_test_features.json \
--dev_features feature_extraction/1706560674_xlm-roberta-base_dev_features.json \
--classifier LogisticRegression
# augmented from 2301
python -m src.classification \
--dataset semeval_augmented \
--train_features feature_extraction/1706492805_xlm-roberta-base_train_features.json \
--test_features feature_extraction/1706492805_xlm-roberta-base_test_features.json \
--dev_features feature_extraction/1706492805_xlm-roberta-base_dev_features.json \
--classifier LogisticRegression
# augmented label preserving Reductio ad Hitlerum
python -m src.classification \
--dataset semeval_augmented \
--train_features feature_extraction/1706486057_xlm-roberta-base_train_features.json \
--test_features feature_extraction/1706486057_xlm-roberta-base_test_features.json \
--dev_features feature_extraction/1706486057_xlm-roberta-base_dev_features.json \
--classifier LogisticRegression
# augmented Reductio ad Hitlerum
python -m src.classification \
--dataset semeval_augmented \
--train_features feature_extraction/1706482884_xlm-roberta-base_train_features.json \
--test_features feature_extraction/1706482884_xlm-roberta-base_test_features.json \
--dev_features feature_extraction/1706482884_xlm-roberta-base_dev_features.json \
--classifier LogisticRegression
# augmented label preserving Smears
python -m src.classification \
--dataset semeval_augmented \
--train_features feature_extraction/1706474866_xlm-roberta-base_train_features.json \
--test_features feature_extraction/1706474866_xlm-roberta-base_test_features.json \
--dev_features feature_extraction/1706474866_xlm-roberta-base_dev_features.json \
--classifier LogisticRegression
# augmented Smears
python -m src.classification \
--dataset semeval_augmented \
--train_features feature_extraction/1706466400_xlm-roberta-base_train_features.json \
--test_features feature_extraction/1706466400_xlm-roberta-base_test_features.json \
--dev_features feature_extraction/1706466400_xlm-roberta-base_dev_features.json \
--classifier LogisticRegression