mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
Fix typos in comments for clarity
This commit is contained in:
parent
ee97038408
commit
abc9ad3c73
1 changed files with 2 additions and 2 deletions
|
|
@ -452,9 +452,9 @@ def grade_stdio(
|
|||
if stripped_prediction_line == stripped_gt_out_line:
|
||||
continue
|
||||
|
||||
# CASE 2: element-wise comparision
|
||||
# CASE 2: element-wise comparison
|
||||
# if there are floating elements
|
||||
# use `decimal` library for good floating point comparision
|
||||
# use `decimal` library for good floating point comparison
|
||||
# otherwise gotcha: np.isclose(50000000000000000, 50000000000000001) = True
|
||||
# note that we should always be able to convert to decimals
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue