/practical-language-models

Primary LanguagePythonApache License 2.0Apache-2.0

Practical Language Models Workshop Examples

GitHub PRs Welcome

Overview

THIS PACKAGE CONTAINS WORKSHOP EXAMPLES AND IS NOT INTENDED FOR PRODUCTION USE

This package contains open-source examples for the Practical Language Models workshop series.

Installation on GPU

  • Set environment variables FORCE_CMAKE=1;CMAKE_ARGS=-DLLAMA_CUBLAS=on
  • Note: In PyCharm, use Settings > Tools > Terminal > Environment variables
  • Run 'pip install --upgrade --force-reinstall llama-cpp-python --no-cache-dir'
  • After this run 'pip install -r requirements.txt'

Copyright

Each individual contributor holds copyright over their contributions to the project. The project versioning is the sole means of recording all such contributions and copyright details. Specifying corporate affiliation or work email along with the commit shall have no bearing on copyright ownership and does not constitute copyright assignment to the employer. Submitting a contribution to this project constitutes your acceptance of these terms.

Because individual contributions are often changes to the existing code, copyright notices in project files must specify The Project Contributors and never an individual copyright holder.