Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ load_dataset
Function
load_dataset
examples/task_inference.py:6–9 ·
view source on GitHub ↗
(dataset, split)
Source
from the content-addressed store, hash-verified
4
5
6
def
load_dataset(dataset, split):
7
print(f
"Loading dataset {dataset} {split}"
)
8
sleep(5)
9
return
dataset
10
11
12
def
build_model():
Callers
2
main
Function · 0.85
main
Function · 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…