GXimingLu / neurologic_decoding

Apache License 2.0
80 stars 12 forks source link

Extremely slow when running without prompts under zero-shot setting #10

Closed pluiez closed 1 year ago

pluiez commented 1 year ago

I tested neurologic decoding with given prompts and without prompts on a V100 GPU device. The former took ~62 seconds to decode the top-10 examples from dev set, while the latter took 24 minutes. Thus on average one input example requires 2.4 minutes to generate a text. It this normal as expected?

GloriaXimingLu commented 1 year ago

Hi, thanks for the question. Yes it's as expected, since neurologic decoding without prompt generate sentences for all possible prompts in a prompt set and return the one with the highest likelihood.