conceptofmind / toolformer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add min loss calculation step for an empty API call

dmahan93 opened this issue · comments

Right now we just calculate the base loss on just the initial string, we should add in the min calculation the paper does
(L- = min (Li(ε), Li(e(ci, ε))))
Where we append the API call to the start as well, and take the minimum of the two.