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:
- Converting PDFs into a text database
- Chunking text documents and embedding into a vector database
- Performing recursive document summarization
- Building an automated data extraction workflow using decision trees
- Building a chatbot app that interfaces with reports from OSTI
Option #1 (basic usage):
pip install NREL-elm
Option #2 (developer install):
- from home dir,
git clone git@github.com:NREL/elm.git
- Create
elm
environment and install package - Create a conda env:
conda create -n elm
- Run the command:
conda activate elm
cd
into the repo cloned in 1.- Prior to running
pip
below, make sure the branch is correct (install from main!) - Install
elm
and its dependencies by running:pip install .
(orpip install -e .
if running a dev branch or working on the source code)
- Create a conda env:
- Create
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.