MCPcopy Create free account
hub / github.com/huggingface/evaluate / format_chunk

Function format_chunk

src/evaluate/module.py:77–78  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

75 return f"{obj}"
76
77 def format_chunk(chunk):
78 return ", ".join(repr(x) for x in chunk)
79
80 return f"[{format_chunk(obj[:3])}, ..., {format_chunk(obj[-3:])}]"
81

Callers 1

summarize_if_long_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…