Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nrel/elm

ELM is a collection of utilities to apply Large Language Models (LLMs) to energy research.
https://github.com/nrel/elm

energy-data energy-policy large-language-models llm renewable-energy

Last synced: about 17 hours ago
JSON representation

ELM is a collection of utilities to apply Large Language Models (LLMs) to energy research.

Awesome Lists containing this project

README

        

***************************
Energy Language Model (ELM)
***************************

.. image:: https://github.com/NREL/elm/workflows/Documentation/badge.svg
:target: https://nrel.github.io/sup3r/

.. image:: https://github.com/NREL/elm/workflows/pytests/badge.svg
:target: https://github.com/NREL/elm/actions?query=workflow%3A%22pytests%22

.. image:: https://github.com/NREL/elm/workflows/Lint%20Code%20Base/badge.svg
:target: https://github.com/NREL/elm/actions?query=workflow%3A%22Lint+Code+Base%22

.. image:: https://img.shields.io/pypi/pyversions/NREL-elm.svg
:target: https://pypi.org/project/NREL-elm/

.. image:: https://badge.fury.io/py/NREL-elm.svg
:target: https://badge.fury.io/py/NREL-elm

.. image:: https://zenodo.org/badge/690793778.svg
:target: https://zenodo.org/doi/10.5281/zenodo.10070538

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 `_

Installing ELM
==============

.. inclusion-install

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

Option #1 (basic usage):

#. ``pip install NREL-elm``

Option #2 (developer install):

#. from home dir, ``git clone [email protected]:NREL/elm.git``
#. Create ``elm`` environment and install package
a) Create a conda env: ``conda create -n elm``
b) Run the command: ``conda activate elm``
c) ``cd`` into the repo cloned in 1.
d) Prior to running ``pip`` below, make sure the branch is correct (install
from main!)
e) Install ``elm`` and its dependencies by running:
``pip install .`` (or ``pip install -e .`` if running a dev branch
or working on the source code)

.. inclusion-acknowledgements

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.