Slide 13
Slide 13 text
Can you explain this function please?
By [ian]@ianozsvald[.com] Ian Ozsvald
codellama-34b-python.Q5_K_M.gguf
23GB on disk & RAM, 30s for example
Can we use this as a “code reviewer” for internal code?
codellama answer:
“The function test_uniform_distribution creates a list of 10
zeros, then increments the position in that list indicated by
the murmurhash3_32() digest of i.
It does this 100000 times and then checks if the means of
those incremented values are uniformly distributed (i.e., if
they're all roughly the same).”
(surprisingly clear!)
https://github.com/scikit-learn/scikit-learn/blob/main/sklearn/utils/tests/test_murmurhash.py