Energy Language Model (ELM)

https://github.com/NREL/elm/workflows/Documentation/badge.svg https://github.com/NREL/elm/workflows/pytests/badge.svg https://github.com/NREL/elm/workflows/Lint%20Code%20Base/badge.svg https://img.shields.io/pypi/pyversions/NREL-elm.svg https://badge.fury.io/py/NREL-elm.svg https://zenodo.org/badge/690793778.svg

The Energy Language Model (ELM) software provides interfaces to apply Large Language Models (LLMs) like ChatGPT and GPT-4 to energy research. For example, you might be interested in:

Installing ELM

NOTE: If you are installing ELM to run ordinance scraping and extraction, see the ordinance-specific installation instructions.

Option #1 (basic usage):

  1. pip install NREL-elm

Option #2 (developer install):

  1. from home dir, git clone git@github.com:NREL/elm.git

  2. Create elm environment and install package
    1. Create a conda env: conda create -n elm

    2. Run the command: conda activate elm

    3. cd into the repo cloned in 1.

    4. Prior to running pip below, make sure the branch is correct (install from main!)

    5. Install elm and its dependencies by running: pip install . (or pip install -e . if running a dev branch or working on the source code)

Acknowledgments

This work was authored by the National Renewable Energy Laboratory, operated by Alliance for Sustainable Energy, LLC, for the U.S. Department of Energy (DOE) under Contract No. DE-AC36-08GO28308. Funding provided by the DOE Wind Energy Technologies Office (WETO), the DOE Solar Energy Technologies Office (SETO), and internal research funds at the National Renewable Energy Laboratory. The views expressed in the article do not necessarily represent the views of the DOE or the U.S. Government. The U.S. Government retains and the publisher, by accepting the article for publication, acknowledges that the U.S. Government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this work, or allow others to do so, for U.S. Government purposes.