-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Attempted with unstructured purning (converting same weights to 0.) However, doing so will not reduce the model size since the model saves 0 that still occupy space. To assess energy saving I employed EmissionTracker through codecarbon. With an optuna study, I tried different pruning_params in the 6 transformer layers (2 linear layers each.)
Finding:
(In the trail)
- The min energy used in validation is 0.000395 kWh (0.9524200164068909 accuracy) and the max energy used is 0.000409 (0.9647251845775225 accuracy.)
- The test data set has 1219 rows, which converts to 15 more errors with 0.000014 kwh energy reduction.
- With a minimal decrease in energy using and substantial
(Compare to original)
- The original model with no purning, the energy consumption is 0.000420 kWh with the accuracy of 0.9794913863822805. The highest accuracy of the optuna study consumes 0.000403 kWh with the accuracy of 0.977850697292863.
- This translates to a 4.05% reduction in energy consumption and a 0.17% decrease in accuracy compared to the original model.
Metadata
Metadata
Assignees
Labels
No labels