mirror of
https://github.com/karpathy/nanochat.git
synced 2026-04-20 07:48:49 +00:00
Shorten assert msg
This commit is contained in:
parent
07d4bf7161
commit
7f6219e092
|
|
@ -253,8 +253,4 @@ def test_different_seeds_introduce_variation_when_temperature_nonzero():
|
|||
outputs.add(tuple(results[0]))
|
||||
|
||||
# Sanity check: sampling actually introduces variation
|
||||
assert len(outputs) > 1, (
|
||||
f"All seeds produced the same output: {outputs}"
|
||||
f"with temperature > 0 and different seeds, this is statistically impossible."
|
||||
f"this implies an issue within the engine."
|
||||
)
|
||||
assert len(outputs) > 1, "All seeds produced the same output which is statistically highly improbable."
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user