Instructions to use karths/binary_classification_train_perf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_perf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_perf")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_perf") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_perf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "cloud_provider": "", | |
| "cloud_region": "", | |
| "codecarbon_version": "2.3.4", | |
| "country_iso_code": "NOR", | |
| "country_name": "Norway", | |
| "cpu_count": 192, | |
| "cpu_energy": 0.1774546677469539, | |
| "cpu_model": "AMD EPYC 7642 48-Core Processor", | |
| "cpu_power": 30.64291348105287, | |
| "duration": 9154.709015130997, | |
| "emissions": 0.11548820434645592, | |
| "emissions_rate": 1.2615169324942587e-05, | |
| "energy_consumed": 4.19194934106918, | |
| "gpu_count": 4, | |
| "gpu_energy": 3.054220030318504, | |
| "gpu_model": "4 x NVIDIA GeForce RTX 3090", | |
| "gpu_power": 1203.8571059990536, | |
| "latitude": 59.9016, | |
| "longitude": 10.7343, | |
| "on_cloud": "N", | |
| "os": "Linux-4.18.0-513.18.1.el8_9.x86_64-x86_64-with-glibc2.28", | |
| "project_name": "codecarbon", | |
| "pue": 1.0, | |
| "python_version": "3.10.8", | |
| "ram_energy": 0.9602746430037215, | |
| "ram_power": 377.6938090324402, | |
| "ram_total_size": 1007.1834907531738, | |
| "region": "oslo county", | |
| "run_id": "ed227f16-6d30-4643-b3ae-d8d7814cd70a", | |
| "timestamp": "2024-04-02T18:39:20", | |
| "tracking_mode": "machine" | |
| } |