Skip to content

Commit 107a37c

Browse files
authored
Merge pull request #65 from imcaspar/dev
add Stale, Resolves #46
2 parents 8a02e90 + b9d27a6 commit 107a37c

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 365
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 30
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
# Label to use when marking an issue as stale
10+
staleLabel: wontfix
11+
# Comment to post when marking an issue as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when closing a stale issue. Set to `false` to disable
17+
closeComment: true

dataset/prepare_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def buffered_and_sliding_window_article_iterator(tokenizer, final_desired_size=1
185185
train_file = args.base_fn + 'train_wiki19_{:04d}.tfrecord'.format(args.fold)
186186
with S3TFRecordWriter(train_file) as train_writer:
187187
for article in buffered_and_sliding_window_article_iterator(tokenizer,
188-
final_desired_size=max(args.max_seq_length + 1, 1025)):
188+
final_desired_size=args.max_seq_length + 1):
189189
writer2use = train_writer
190190
assert len(article['input_ids']) == (args.max_seq_length + 1)
191191

0 commit comments

Comments
 (0)