MCPcopy 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

1from datasets import load_dataset
2from transformers import pipeline
3
4from codecarbon import EmissionsTracker

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected