comet-commonsense
comet-commonsense copied to clipboard
Can I use the input with a longer length?
Dear authors,
I found you set the max_event
and max_affect
to 17 and 35 respectively. However, the length of my input event is much longer than 17, can I change it according to my need?
After scanning your code, I tend to change opt['data']["maxe1"]
in main_atomic.py
and self.max_event
in atomic.py
, can it work?
Dear authors,
I found you set the
max_event
andmax_affect
to 17 and 35 respectively. However, the length of my input event is much longer than 17, can I change it according to my need?After scanning your code, I tend to change
opt['data']["maxe1"]
inmain_atomic.py
andself.max_event
inatomic.py
, can it work?
Hi, Have you solved this problem?I met the same difficulty.
I have this problem too......
Dear authors,
I found you set the
max_event
andmax_affect
to 17 and 35 respectively. However, the length of my input event is much longer than 17, can I change it according to my need?After scanning your code, I tend to change
opt['data']["maxe1"]
inmain_atomic.py
andself.max_event
inatomic.py
, can it work?
Hi, Have you already solved this problem?
@Aurora-slz @zhuwh04
Hi, both. Unfortunately, I didn't fix this problem yet. These hyper-parameters, namely max_event
and max_affect
seemed unchangeable.
Hope exact response from the authors.
I found a way which may solve the problem
cut the length of the tensor prefix in the function "set_atomic_inputs" in file functions.py into 18
Some results can be completely generated, but some results seem to be broken...... (I only test on ATOMIC dataset)