Skip to content

The frontend and backend of LLaMA models to text continuation tasks

Notifications You must be signed in to change notification settings

MohamedAliRashad/llama-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLaMA Playground 🦙

A full frontend (in react) and backend (using FastAPI) to try out LLaMA 7B on a similiar interface to GPT-Playground.

👨‍🔧 How to use ?

  1. Clone the repository
    git clone https://github.com/MohamedAliRashad/llama-playground.git
  2. Download the LLaMA weights (There is different methods to do that, the easiest i found is this)
    pip install pyllama -U && cd llama-playground && python3 -m llama.download --model_size 7B --folder backend/app/weights
  3. Add .env file to the root of the project with the ngrok auth token
    NGROK_AUTH= # Add your ngrok auth token here
  4. Run the docker-compose file
    docker-compose up --build

And that's it, you can now access the playground on http://localhost:4551 where you will find the ngrok links to try the playground and share it with your friends 👏

About

The frontend and backend of LLaMA models to text continuation tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published