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
Recursion depth exceeded in comparison at ~1000 tokens, which isn't really that many tokens. A non-recursive solution would make a lot more sense here.
import rouge
r = rouge.Rouge()
for i in range(1, 10000, 100):
print(i)
r.get_scores(["aaa " * i], ["bbb " * i])
File [...] rouge/rouge_score.py", line 185, in _recon
elif table[i - 1, j] > table[i, j - 1]:
RecursionError: maximum recursion depth exceeded in comparison
The text was updated successfully, but these errors were encountered:
Recursion depth exceeded in comparison at ~1000 tokens, which isn't really that many tokens. A non-recursive solution would make a lot more sense here.
The text was updated successfully, but these errors were encountered: