Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AkaliKong/MiniOneRec
/ get_hash
Function
get_hash
evaluate.py:24–26 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
22
import
numpy
as
np
23
24
def
get_hash(x):
25
x = [str(_)
for
_ in x]
26
return
'-'
.join(x)
27
28
def
set_seed(seed):
29
random.seed(seed)
Callers
3
main
Function · 0.85
prefix_allowed_tokens_fn_semantic
Function · 0.85
prefix_allowed_tokens_fn_title
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected