genai-impact / ecologits

🌱 EcoLogits tracks the energy consumption and environmental footprint of using generative AI models through APIs.
https://ecologits.ai/
Mozilla Public License 2.0
88 stars 9 forks source link

Model name correspondance in `model_repository.find_model` #87

Closed adrienbanse closed 3 weeks ago

adrienbanse commented 3 weeks ago

The following line should be modified. For example, when model_name is gpt-4o, the function find_model will output gpt-4. https://github.com/genai-impact/ecologits/blob/18b8840440b38c45a245f897bf5e33e3e05bd72f/ecologits/model_repository.py#L40