Spaces:
Running
on
T4
Running
on
T4
Could you confirm if `total_score` for the final node is getting the correct value?
#1
by
sanguedemonstro
- opened
In this case below I think the total_score
on the final node would be 34.2045
where is showing 17.10
.
(I am just a newbie here, so there is huge possibility that I'm wrong..)
also, it may be necessary to adopt parentheses on line 399 bellow:
total_score=cumulative_score / (step + 1 ** length_penalty),
since the **
operator takes precedence over +
, in which case 1 raised to any power results in 1.
total_score=cumulative_score / ((step + 1) ** length_penalty),