This project provides supplementary information for a publication in preparation.
First, we encourage to question the use of generative language models in the context of sustainability. We scrutinize algorithmic energy consumption to considerate sustainable usage, and shall raise awareness for emission-based model and hardware selection and optimization. Secondly, we present a limited comparison of two small language models that serves as a guide for selecting a small language model that efficiently performs on local hardware at home.
TinyLlama (Apache License 2.0), NanoGPT (MIT)
We use Python and the library CodeCarbon for all tests, measurements and plots. Code is organized in subfolders respectively. See instructions.txt.
Publication in preparation
We'd like to encourage using and also contributing to (S)LM Benchmarks with a focus on sustainability such as SLM-Bench.
Jupyter Notebook
57.8%
Python
40.1%
HTML
1.6%
This project provides supplementary information for a publication in preparation.
First, we encourage to question the use of generative language models in the context of sustainability. We scrutinize algorithmic energy consumption to considerate sustainable usage, and shall raise awareness for emission-based model and hardware selection and optimization. Secondly, we present a limited comparison of two small language models that serves as a guide for selecting a small language model that efficiently performs on local hardware at home.
TinyLlama (Apache License 2.0), NanoGPT (MIT)
We use Python and the library CodeCarbon for all tests, measurements and plots. Code is organized in subfolders respectively. See instructions.txt.
Publication in preparation
We'd like to encourage using and also contributing to (S)LM Benchmarks with a focus on sustainability such as SLM-Bench.
Jupyter Notebook
57.8%
Python
40.1%
HTML
1.6%