File size: 3,707 Bytes
5d53d33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[2022-12-05 00:48:11] INFO:root:args: Namespace(data_dir='data\\samsum', input_instance='interim', output_instance='processed', text_column='dialogue', text_length_column='chapter_length', target_column='summary', target_length_column='summary_length', text_length_threshold=1024, target_length_threshold=1024, target_sep_token='\n[NEXT_CONCEPT]\n', text_sep_token='\n\n', save_sample=True, drop_duplicates=True, shuffle_output=True, loglevel=None, logfile='samsum_stacked-log')
[2022-12-05 00:48:11] INFO:root:loaded dataset from C:\Users\peter\code-dev-22\stacked-booksum\data\samsum\interim
[2022-12-05 00:48:11] INFO:root:INPUTS - basic stats - train
[2022-12-05 00:48:11] INFO:root:{'num_columns': 4,
 'num_rows': 14732,
 'num_unique_target': 14730,
 'num_unique_text': 14265,
 'summary - average chars': 110.13,
 'summary - average tokens': 28.693727939180015,
 'text input - average chars': 511.22,
 'text input - average tokens': 148.88759163725223}
[2022-12-05 00:49:04] INFO:root:stacked 14730 rows, 2 rows were ineligible
[2022-12-05 00:49:04] INFO:root:dropped 20 duplicate rows, 29442 rows remain
[2022-12-05 00:49:04] INFO:root:shuffling output with seed 182
[2022-12-05 00:49:04] INFO:root:STACKED - basic stats - train
[2022-12-05 00:49:04] INFO:root:{'num_columns': 5,
 'num_rows': 29442,
 'num_unique_chapters': 28975,
 'num_unique_summaries': 29441,
 'summary - average chars': 452.8,
 'summary - average tokens': 106.46820868147545,
 'text input - average chars': 1814.09,
 'text input - average tokens': 528.665579783982}
[2022-12-05 00:49:04] INFO:root:INPUTS - basic stats - test
[2022-12-05 00:49:04] INFO:root:{'num_columns': 4,
 'num_rows': 819,
 'num_unique_target': 819,
 'num_unique_text': 819,
 'summary - average chars': 108.78,
 'summary - average tokens': 28.37118437118437,
 'text input - average chars': 521.6,
 'text input - average tokens': 152.33943833943835}
[2022-12-05 00:49:05] INFO:root:stacked 819 rows, 0 rows were ineligible
[2022-12-05 00:49:05] INFO:root:dropped 1 duplicate rows, 1637 rows remain
[2022-12-05 00:49:05] INFO:root:shuffling output with seed 950
[2022-12-05 00:49:05] INFO:root:STACKED - basic stats - test
[2022-12-05 00:49:05] INFO:root:{'num_columns': 5,
 'num_rows': 1637,
 'num_unique_chapters': 1637,
 'num_unique_summaries': 1637,
 'summary - average chars': 435.47,
 'summary - average tokens': 102.3640806353085,
 'text input - average chars': 1806.49,
 'text input - average tokens': 527.8442272449603}
[2022-12-05 00:49:05] INFO:root:INPUTS - basic stats - validation
[2022-12-05 00:49:05] INFO:root:{'num_columns': 4,
 'num_rows': 818,
 'num_unique_target': 818,
 'num_unique_text': 818,
 'summary - average chars': 110.17,
 'summary - average tokens': 28.530562347188265,
 'text input - average chars': 499.4,
 'text input - average tokens': 145.23227383863082}
[2022-12-05 00:49:06] INFO:root:stacked 818 rows, 0 rows were ineligible
[2022-12-05 00:49:06] INFO:root:dropped 3 duplicate rows, 1633 rows remain
[2022-12-05 00:49:06] INFO:root:shuffling output with seed 236
[2022-12-05 00:49:06] INFO:root:STACKED - basic stats - validation
[2022-12-05 00:49:06] INFO:root:{'num_columns': 5,
 'num_rows': 1633,
 'num_unique_chapters': 1633,
 'num_unique_summaries': 1633,
 'summary - average chars': 460.56,
 'summary - average tokens': 107.3955909369259,
 'text input - average chars': 1797.23,
 'text input - average tokens': 522.9014084507043}
[2022-12-05 00:49:06] INFO:root:saving samples
[2022-12-05 00:49:06] INFO:root:saved samples to data\samsum\samples
[2022-12-05 00:49:08] INFO:root:saved dataset to C:\Users\peter\code-dev-22\stacked-booksum\data\samsum\processed
[2022-12-05 00:49:08] INFO:root:finished stacking data