Ethan L. Mines commited on
Commit ·
e5d076f
1
Parent(s): 03a44fa
Add model configuration results
Browse files- README.md +3 -0
- exp_results/config.yaml +76 -0
- exp_results/metrics.csv +125 -0
README.md
CHANGED
|
@@ -29,6 +29,9 @@ Trained and evaluated on mixed (noun-phrase and claim) targets from subtask A of
|
|
| 29 |
Used the `BART-MNLI-e` architecture from the same paper.
|
| 30 |
Weights were initialized from [facebook/bart-large-mnli](https://huggingface.co/facebook/bart-large-mnli):
|
| 31 |
|
|
|
|
|
|
|
|
|
|
| 32 |
## Dependencies
|
| 33 |
|
| 34 |
- `python>=3.9.22`
|
|
|
|
| 29 |
Used the `BART-MNLI-e` architecture from the same paper.
|
| 30 |
Weights were initialized from [facebook/bart-large-mnli](https://huggingface.co/facebook/bart-large-mnli):
|
| 31 |
|
| 32 |
+
Obtained macro F1-score of 0.82 (see [exp\_results/metrics.csv](exp_results/metrics.csv)) on the test data.
|
| 33 |
+
|
| 34 |
+
|
| 35 |
## Dependencies
|
| 36 |
|
| 37 |
- `python>=3.9.22`
|
exp_results/config.yaml
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.5.1.post0
|
| 2 |
+
seed_everything: 1
|
| 3 |
+
trainer:
|
| 4 |
+
accelerator: auto
|
| 5 |
+
strategy: auto
|
| 6 |
+
devices: auto
|
| 7 |
+
num_nodes: 1
|
| 8 |
+
precision: null
|
| 9 |
+
logger:
|
| 10 |
+
class_path: lightning.pytorch.loggers.CSVLogger
|
| 11 |
+
init_args:
|
| 12 |
+
save_dir: /home/ethanlmines/blue_dir/experiments/
|
| 13 |
+
name: lightning_logs
|
| 14 |
+
version: bart_1746536457
|
| 15 |
+
prefix: ''
|
| 16 |
+
flush_logs_every_n_steps: 100
|
| 17 |
+
callbacks: null
|
| 18 |
+
fast_dev_run: false
|
| 19 |
+
max_epochs: 1000
|
| 20 |
+
min_epochs: null
|
| 21 |
+
max_steps: -1
|
| 22 |
+
min_steps: null
|
| 23 |
+
max_time: null
|
| 24 |
+
limit_train_batches: null
|
| 25 |
+
limit_val_batches: null
|
| 26 |
+
limit_test_batches: null
|
| 27 |
+
limit_predict_batches: null
|
| 28 |
+
overfit_batches: 0.0
|
| 29 |
+
val_check_interval: null
|
| 30 |
+
check_val_every_n_epoch: 1
|
| 31 |
+
num_sanity_val_steps: null
|
| 32 |
+
log_every_n_steps: null
|
| 33 |
+
enable_checkpointing: null
|
| 34 |
+
enable_progress_bar: null
|
| 35 |
+
enable_model_summary: null
|
| 36 |
+
accumulate_grad_batches: 1
|
| 37 |
+
gradient_clip_val: null
|
| 38 |
+
gradient_clip_algorithm: null
|
| 39 |
+
deterministic: null
|
| 40 |
+
benchmark: null
|
| 41 |
+
inference_mode: true
|
| 42 |
+
use_distributed_sampler: true
|
| 43 |
+
profiler: null
|
| 44 |
+
detect_anomaly: false
|
| 45 |
+
barebones: false
|
| 46 |
+
plugins: null
|
| 47 |
+
sync_batchnorm: false
|
| 48 |
+
reload_dataloaders_every_n_epochs: 0
|
| 49 |
+
default_root_dir: null
|
| 50 |
+
model_registry: null
|
| 51 |
+
model:
|
| 52 |
+
class_path: stance_gator.bart_enc_module.BartEncModule
|
| 53 |
+
init_args:
|
| 54 |
+
pretrained_model: facebook/bart-large-mnli
|
| 55 |
+
classifier_hidden_units: null
|
| 56 |
+
data:
|
| 57 |
+
class_path: stance_gator.data_modules.RandomSplitDataModule
|
| 58 |
+
init_args:
|
| 59 |
+
partitions:
|
| 60 |
+
/home/ethanlmines/blue_dir/datasets/ezstance/subtaskA/mixed/raw_train_all_onecol.csv:
|
| 61 |
+
- 1.0
|
| 62 |
+
- 0.0
|
| 63 |
+
- 0.0
|
| 64 |
+
/home/ethanlmines/blue_dir/datasets/ezstance/subtaskA/mixed/raw_val_all_onecol.csv:
|
| 65 |
+
- 0.0
|
| 66 |
+
- 1.0
|
| 67 |
+
- 0.0
|
| 68 |
+
/home/ethanlmines/blue_dir/datasets/ezstance/subtaskA/mixed/raw_test_all_onecol.csv:
|
| 69 |
+
- 0.0
|
| 70 |
+
- 0.0
|
| 71 |
+
- 1.0
|
| 72 |
+
corpus_type: ezstance
|
| 73 |
+
batch_size: 64
|
| 74 |
+
transforms: null
|
| 75 |
+
optimizer: null
|
| 76 |
+
lr_scheduler: null
|
exp_results/metrics.csv
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
epoch,loss,step,test_against_f1,test_favor_f1,test_macro_f1,test_neutral_f1,val_against_f1,val_favor_f1,val_macro_f1,val_neutral_f1
|
| 2 |
+
0,0.9888514876365662,49,,,,,,,,
|
| 3 |
+
0,0.7348390221595764,99,,,,,,,,
|
| 4 |
+
0,0.5867702960968018,149,,,,,,,,
|
| 5 |
+
0,0.5734435319900513,199,,,,,,,,
|
| 6 |
+
0,0.6683152318000793,249,,,,,,,,
|
| 7 |
+
0,0.7656928896903992,299,,,,,,,,
|
| 8 |
+
0,0.4987986385822296,349,,,,,,,,
|
| 9 |
+
0,0.5919039845466614,399,,,,,,,,
|
| 10 |
+
0,0.47828590869903564,449,,,,,,,,
|
| 11 |
+
0,0.4783167243003845,499,,,,,,,,
|
| 12 |
+
0,,509,,,,,0.8281096816062927,0.8189460635185242,0.8080361485481262,0.7770528793334961
|
| 13 |
+
1,0.5787826180458069,549,,,,,,,,
|
| 14 |
+
1,0.3716425597667694,599,,,,,,,,
|
| 15 |
+
1,0.4729402959346771,649,,,,,,,,
|
| 16 |
+
1,0.29066169261932373,699,,,,,,,,
|
| 17 |
+
1,0.384624719619751,749,,,,,,,,
|
| 18 |
+
1,0.6092337369918823,799,,,,,,,,
|
| 19 |
+
1,0.43574196100234985,849,,,,,,,,
|
| 20 |
+
1,0.31340309977531433,899,,,,,,,,
|
| 21 |
+
1,0.34373122453689575,949,,,,,,,,
|
| 22 |
+
1,0.2983512878417969,999,,,,,,,,
|
| 23 |
+
1,,1019,,,,,0.8227408528327942,0.8186461925506592,0.8051062226295471,0.7739316821098328
|
| 24 |
+
2,0.4437808692455292,1049,,,,,,,,
|
| 25 |
+
2,0.19607985019683838,1099,,,,,,,,
|
| 26 |
+
2,0.29746049642562866,1149,,,,,,,,
|
| 27 |
+
2,0.17571623623371124,1199,,,,,,,,
|
| 28 |
+
2,0.3861319124698639,1249,,,,,,,,
|
| 29 |
+
2,0.4353342652320862,1299,,,,,,,,
|
| 30 |
+
2,0.3945455849170685,1349,,,,,,,,
|
| 31 |
+
2,0.5171536207199097,1399,,,,,,,,
|
| 32 |
+
2,0.4636494219303131,1449,,,,,,,,
|
| 33 |
+
2,0.17841681838035583,1499,,,,,,,,
|
| 34 |
+
2,,1529,,,,,0.82080078125,0.8083927631378174,0.8007755279541016,0.7731329202651978
|
| 35 |
+
3,0.24178685247898102,1549,,,,,,,,
|
| 36 |
+
3,0.4104079604148865,1599,,,,,,,,
|
| 37 |
+
3,0.20724281668663025,1649,,,,,,,,
|
| 38 |
+
3,0.19973334670066833,1699,,,,,,,,
|
| 39 |
+
3,0.2382112294435501,1749,,,,,,,,
|
| 40 |
+
3,0.1685734987258911,1799,,,,,,,,
|
| 41 |
+
3,0.20389944314956665,1849,,,,,,,,
|
| 42 |
+
3,0.1567392349243164,1899,,,,,,,,
|
| 43 |
+
3,0.29278939962387085,1949,,,,,,,,
|
| 44 |
+
3,0.27644670009613037,1999,,,,,,,,
|
| 45 |
+
3,,2039,,,,,0.8136786222457886,0.8049855828285217,0.7918882369995117,0.7570004463195801
|
| 46 |
+
4,0.1713574081659317,2049,,,,,,,,
|
| 47 |
+
4,0.15795032680034637,2099,,,,,,,,
|
| 48 |
+
4,0.1692262440919876,2149,,,,,,,,
|
| 49 |
+
4,0.23484252393245697,2199,,,,,,,,
|
| 50 |
+
4,0.1811925619840622,2249,,,,,,,,
|
| 51 |
+
4,0.14568275213241577,2299,,,,,,,,
|
| 52 |
+
4,0.12225649505853653,2349,,,,,,,,
|
| 53 |
+
4,0.1186932623386383,2399,,,,,,,,
|
| 54 |
+
4,0.27932411432266235,2449,,,,,,,,
|
| 55 |
+
4,0.17320232093334198,2499,,,,,,,,
|
| 56 |
+
4,0.07393623888492584,2549,,,,,,,,
|
| 57 |
+
4,,2549,,,,,0.8273166418075562,0.8156470656394958,0.8029670715332031,0.7659374475479126
|
| 58 |
+
5,0.05428502336144447,2599,,,,,,,,
|
| 59 |
+
5,0.13377612829208374,2649,,,,,,,,
|
| 60 |
+
5,0.04471786692738533,2699,,,,,,,,
|
| 61 |
+
5,0.1500701606273651,2749,,,,,,,,
|
| 62 |
+
5,0.07525573670864105,2799,,,,,,,,
|
| 63 |
+
5,0.21263597905635834,2849,,,,,,,,
|
| 64 |
+
5,0.01393931359052658,2899,,,,,,,,
|
| 65 |
+
5,0.19787761569023132,2949,,,,,,,,
|
| 66 |
+
5,0.13276982307434082,2999,,,,,,,,
|
| 67 |
+
5,0.1480180323123932,3049,,,,,,,,
|
| 68 |
+
5,,3059,,,,,0.828855037689209,0.8091661930084229,0.7973544597625732,0.7540422081947327
|
| 69 |
+
6,0.13634467124938965,3099,,,,,,,,
|
| 70 |
+
6,0.14695745706558228,3149,,,,,,,,
|
| 71 |
+
6,0.034173477441072464,3199,,,,,,,,
|
| 72 |
+
6,0.027606502175331116,3249,,,,,,,,
|
| 73 |
+
6,0.01345209963619709,3299,,,,,,,,
|
| 74 |
+
6,0.03960833325982094,3349,,,,,,,,
|
| 75 |
+
6,0.06743690371513367,3399,,,,,,,,
|
| 76 |
+
6,0.031378403306007385,3449,,,,,,,,
|
| 77 |
+
6,0.03665539622306824,3499,,,,,,,,
|
| 78 |
+
6,0.05647542327642441,3549,,,,,,,,
|
| 79 |
+
6,,3569,,,,,0.8202494978904724,0.8121404051780701,0.7985733151435852,0.7633302211761475
|
| 80 |
+
7,0.02867501974105835,3599,,,,,,,,
|
| 81 |
+
7,0.04957610368728638,3649,,,,,,,,
|
| 82 |
+
7,0.03573068231344223,3699,,,,,,,,
|
| 83 |
+
7,0.006066871806979179,3749,,,,,,,,
|
| 84 |
+
7,0.13277354836463928,3799,,,,,,,,
|
| 85 |
+
7,0.050674665719270706,3849,,,,,,,,
|
| 86 |
+
7,0.07063347101211548,3899,,,,,,,,
|
| 87 |
+
7,0.15652361512184143,3949,,,,,,,,
|
| 88 |
+
7,0.13434241712093353,3999,,,,,,,,
|
| 89 |
+
7,0.05544668063521385,4049,,,,,,,,
|
| 90 |
+
7,,4079,,,,,0.8354430198669434,0.8170353770256042,0.8056871294975281,0.7645829319953918
|
| 91 |
+
8,0.07157350331544876,4099,,,,,,,,
|
| 92 |
+
8,0.16131334006786346,4149,,,,,,,,
|
| 93 |
+
8,0.030500514432787895,4199,,,,,,,,
|
| 94 |
+
8,0.13618314266204834,4249,,,,,,,,
|
| 95 |
+
8,0.06403021514415741,4299,,,,,,,,
|
| 96 |
+
8,0.011448878794908524,4349,,,,,,,,
|
| 97 |
+
8,0.04364281892776489,4399,,,,,,,,
|
| 98 |
+
8,0.004511695820838213,4449,,,,,,,,
|
| 99 |
+
8,0.09053589403629303,4499,,,,,,,,
|
| 100 |
+
8,0.023780696094036102,4549,,,,,,,,
|
| 101 |
+
8,,4589,,,,,0.8288543224334717,0.8037775754928589,0.8000263571739197,0.7674471139907837
|
| 102 |
+
9,0.21122609078884125,4599,,,,,,,,
|
| 103 |
+
9,0.035128649324178696,4649,,,,,,,,
|
| 104 |
+
9,0.09666551649570465,4699,,,,,,,,
|
| 105 |
+
9,0.003644851967692375,4749,,,,,,,,
|
| 106 |
+
9,0.238395094871521,4799,,,,,,,,
|
| 107 |
+
9,0.026640502735972404,4849,,,,,,,,
|
| 108 |
+
9,0.12473264336585999,4899,,,,,,,,
|
| 109 |
+
9,0.06351617723703384,4949,,,,,,,,
|
| 110 |
+
9,0.025969013571739197,4999,,,,,,,,
|
| 111 |
+
9,0.04904737323522568,5049,,,,,,,,
|
| 112 |
+
9,0.1392141431570053,5099,,,,,,,,
|
| 113 |
+
9,,5099,,,,,0.8265398144721985,0.8135877251625061,0.8022568225860596,0.7666429877281189
|
| 114 |
+
10,0.10431565344333649,5149,,,,,,,,
|
| 115 |
+
10,0.029184063896536827,5199,,,,,,,,
|
| 116 |
+
10,0.023677300661802292,5249,,,,,,,,
|
| 117 |
+
10,0.006518593989312649,5299,,,,,,,,
|
| 118 |
+
10,0.01312322448939085,5349,,,,,,,,
|
| 119 |
+
10,0.03394605219364166,5399,,,,,,,,
|
| 120 |
+
10,0.006162404082715511,5449,,,,,,,,
|
| 121 |
+
10,0.2271450310945511,5499,,,,,,,,
|
| 122 |
+
10,0.03679339215159416,5549,,,,,,,,
|
| 123 |
+
10,0.046409569680690765,5599,,,,,,,,
|
| 124 |
+
10,,5609,,,,,0.8267785906791687,0.8109358549118042,0.7985108494758606,0.7578181624412537
|
| 125 |
+
11,,5610,0.8249480128288269,0.8378233909606934,0.8207436203956604,0.7994595170021057,,,,
|