You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks a lot for your work and dataset release!
I was looking at the "group_overview" jupyter notebook to investigate model errors, and noticed that in the "SPAN_DISTANCE" function under "tacrev/analysis/erudite/prim_funcs.py" (line 87), the following is listed:
defSPAN_DISTANCE(span1: Tuple[int, int], span2: Tuple[int, int], absolute=False) ->str:
""" The distance between two spans """output=Nonetry:
output=span2[0] -span1[0]
exceptExceptionase:
ex=Exception(f"Unknown exception from [ SPAN_DISTANCE ]: {e}")
raise(ex)
else:
returnoutput
I may be wrong, but this appears to be computing the distances between span beginnings, rather than between the spans themselves. Should it instead be:
defSPAN_DISTANCE(span1: Tuple[int, int], span2: Tuple[int, int], absolute=False) ->str:
""" The distance between two spans """output=Nonetry:
output=span2[0] -span1[1]
exceptExceptionase:
ex=Exception(f"Unknown exception from [ SPAN_DISTANCE ]: {e}")
raise(ex)
else:
returnoutput
?
I.e. computing the distance between the end of the first span and the beginning of the second instead?
The text was updated successfully, but these errors were encountered:
Hi, thanks a lot for your work and dataset release!
I was looking at the "group_overview" jupyter notebook to investigate model errors, and noticed that in the "SPAN_DISTANCE" function under "tacrev/analysis/erudite/prim_funcs.py" (line 87), the following is listed:
I may be wrong, but this appears to be computing the distances between span beginnings, rather than between the spans themselves. Should it instead be:
?
I.e. computing the distance between the end of the first span and the beginning of the second instead?
The text was updated successfully, but these errors were encountered: