Text this: Evaluation and optimization of carbon emission for federal edge intelligence network