Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ bert_inference.py
File
bert_inference.py
examples/bert_inference.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
datasets
import
load_dataset
2
from
transformers
import
pipeline
3
4
from
codecarbon
import
EmissionsTracker
Callers
nothing calls this directly
Calls
1
main
Function · 0.70
Tested by
no test coverage detected