99991 / SimpleTinyLlama

https://github.com/jzhang38/TinyLlama using only PyTorch
Apache License 2.0
12 stars 1 forks source link

SimpleTinyLlama

TinyLlama is a relatively small large language model with impressive capabilities for its size. The goal of this project is to serve as a simpler implementation of TinyLlama. The only required dependency is PyTorch.

Installation and usage

  1. Install PyTorch.
  2. Download and extract this repository.
  3. Run main.py to chat with the llama.
  4. Press CTRL + C to interrupt the response.
  5. Press CTRL + C again to exit the program.

Example

Example of asking how to steal a duck.

Notes