lorenzkuhn / semantic_uncertainty

MIT License
136 stars 19 forks source link

semantic entropy calculation #13

Open ranganathkrishnan opened 8 months ago

ranganathkrishnan commented 8 months ago

Hi @lorenzkuhn ,

What is the reason for using the constant 'llh_shift' in the calculation of entropy over concepts? https://github.com/lorenzkuhn/semantic_uncertainty/blob/27adbf0dc1bf056c771c205d89c2a79cbd82dc3a/code/compute_confidence_measure.py#L41

Thanks!

itsmemala commented 4 months ago

I have the same question please..